Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,3 @@
PostgreSQL driver for Qore. It makes it possible for Qore programs to
access PostgreSQL database through the Datasource, DatasourcePool and
SQLStatement classes.

View File

@@ -0,0 +1,40 @@
# $NetBSD: Makefile,v 1.1 2014/12/30 15:44:25 wiz Exp $
DISTNAME= qore-pgsql-module-2.3
PKGREVISION= 4
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qore/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= nros@users.sourceforge.net
HOMEPAGE= http://www.qore.org/
COMMENT= PostgreSQL driver for Qore
LICENSE= gnu-lgpl-v2.1 OR mit
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake pax
PTHREAD_OPTS+= native
#This is needed in order to comply the with MIT license and binary distribution
#Install docs
INSTALLATION_DIRS+= share/doc/${PKGBASE}
post-install:
${INSTALL_DATA} ${WRKSRC}/COPYING.LGPL \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/COPYING.MIT \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
cd ${WRKSRC}/docs/pgsql && ${PAX} -wr * \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.include "options.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../lang/qore/buildlink3.mk"
.include "../../lang/qore/module.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,92 @@
@comment $NetBSD: PLIST,v 1.1 2014/12/30 15:44:25 wiz Exp $
${QORE_MODULE_DIR}/pgsql-api-${QORE_LATEST_MODULE_API}.qmod
share/doc/qore-pgsql-module/html/bc_s.png
share/doc/qore-pgsql-module/html/bdwn.png
share/doc/qore-pgsql-module/html/closed.png
share/doc/qore-pgsql-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
share/doc/qore-pgsql-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.map
share/doc/qore-pgsql-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.md5
share/doc/qore-pgsql-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.png
share/doc/qore-pgsql-module/html/doxygen.css
share/doc/qore-pgsql-module/html/doxygen.png
share/doc/qore-pgsql-module/html/dynsections.js
share/doc/qore-pgsql-module/html/ftv2blank.png
share/doc/qore-pgsql-module/html/ftv2cl.png
share/doc/qore-pgsql-module/html/ftv2doc.png
share/doc/qore-pgsql-module/html/ftv2folderclosed.png
share/doc/qore-pgsql-module/html/ftv2folderopen.png
share/doc/qore-pgsql-module/html/ftv2lastnode.png
share/doc/qore-pgsql-module/html/ftv2link.png
share/doc/qore-pgsql-module/html/ftv2mlastnode.png
share/doc/qore-pgsql-module/html/ftv2mnode.png
share/doc/qore-pgsql-module/html/ftv2mo.png
share/doc/qore-pgsql-module/html/ftv2node.png
share/doc/qore-pgsql-module/html/ftv2ns.png
share/doc/qore-pgsql-module/html/ftv2plastnode.png
share/doc/qore-pgsql-module/html/ftv2pnode.png
share/doc/qore-pgsql-module/html/ftv2splitbar.png
share/doc/qore-pgsql-module/html/ftv2vertline.png
share/doc/qore-pgsql-module/html/graph_legend.html
share/doc/qore-pgsql-module/html/graph_legend.md5
share/doc/qore-pgsql-module/html/graph_legend.png
share/doc/qore-pgsql-module/html/group__pgsql__bind__constants.html
share/doc/qore-pgsql-module/html/group__pgsql__bind__constants.js
share/doc/qore-pgsql-module/html/group__pgsql__functions.html
share/doc/qore-pgsql-module/html/group__pgsql__functions.js
share/doc/qore-pgsql-module/html/group__pgsql__option__constants.html
share/doc/qore-pgsql-module/html/group__pgsql__option__constants.js
share/doc/qore-pgsql-module/html/index.html
share/doc/qore-pgsql-module/html/jquery.js
share/doc/qore-pgsql-module/html/modules.html
share/doc/qore-pgsql-module/html/modules.js
share/doc/qore-pgsql-module/html/namespaceQore_1_1Pgsql.html
share/doc/qore-pgsql-module/html/namespacemembers.html
share/doc/qore-pgsql-module/html/namespacemembers_func.html
share/doc/qore-pgsql-module/html/namespacemembers_vars.html
share/doc/qore-pgsql-module/html/namespaces.html
share/doc/qore-pgsql-module/html/namespaces.js
share/doc/qore-pgsql-module/html/nav_f.png
share/doc/qore-pgsql-module/html/nav_g.png
share/doc/qore-pgsql-module/html/nav_h.png
share/doc/qore-pgsql-module/html/navtree.css
share/doc/qore-pgsql-module/html/navtree.js
share/doc/qore-pgsql-module/html/navtreeindex0.js
share/doc/qore-pgsql-module/html/open.png
share/doc/qore-pgsql-module/html/resize.js
share/doc/qore-pgsql-module/html/search/all_6f.html
share/doc/qore-pgsql-module/html/search/all_6f.js
share/doc/qore-pgsql-module/html/search/all_70.html
share/doc/qore-pgsql-module/html/search/all_70.js
share/doc/qore-pgsql-module/html/search/all_71.html
share/doc/qore-pgsql-module/html/search/all_71.js
share/doc/qore-pgsql-module/html/search/all_74.html
share/doc/qore-pgsql-module/html/search/all_74.js
share/doc/qore-pgsql-module/html/search/close.png
share/doc/qore-pgsql-module/html/search/functions_70.html
share/doc/qore-pgsql-module/html/search/functions_70.js
share/doc/qore-pgsql-module/html/search/groups_6f.html
share/doc/qore-pgsql-module/html/search/groups_6f.js
share/doc/qore-pgsql-module/html/search/groups_70.html
share/doc/qore-pgsql-module/html/search/groups_70.js
share/doc/qore-pgsql-module/html/search/groups_74.html
share/doc/qore-pgsql-module/html/search/groups_74.js
share/doc/qore-pgsql-module/html/search/mag_sel.png
share/doc/qore-pgsql-module/html/search/namespaces_71.html
share/doc/qore-pgsql-module/html/search/namespaces_71.js
share/doc/qore-pgsql-module/html/search/nomatches.html
share/doc/qore-pgsql-module/html/search/search.css
share/doc/qore-pgsql-module/html/search/search.js
share/doc/qore-pgsql-module/html/search/search_l.png
share/doc/qore-pgsql-module/html/search/search_m.png
share/doc/qore-pgsql-module/html/search/search_r.png
share/doc/qore-pgsql-module/html/search/variables_70.html
share/doc/qore-pgsql-module/html/search/variables_70.js
share/doc/qore-pgsql-module/html/sync_off.png
share/doc/qore-pgsql-module/html/sync_on.png
share/doc/qore-pgsql-module/html/tab_a.png
share/doc/qore-pgsql-module/html/tab_b.png
share/doc/qore-pgsql-module/html/tab_h.png
share/doc/qore-pgsql-module/html/tab_s.png
share/doc/qore-pgsql-module/html/tabs.css
share/doc/qore-pgsql-module/COPYING.LGPL
share/doc/qore-pgsql-module/COPYING.MIT

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2014/12/30 15:44:25 wiz Exp $
SHA1 (qore-pgsql-module-2.3.tar.bz2) = 9ed915e2247af7e389b54f5e2428258a19057fb3
RMD160 (qore-pgsql-module-2.3.tar.bz2) = 1336b32fe26d1485ed39a45e8087a6e87b1f9c11
Size (qore-pgsql-module-2.3.tar.bz2) = 437249 bytes
SHA1 (patch-configure) = 0abf65dce6c5b74242de54c0b09bb0b929b7b415
SHA1 (patch-src_Makefile.in) = 21b06174a89c602381fbfe820fad65b2944400a5

View File

@@ -0,0 +1,12 @@
# $NetBSD: options.mk,v 1.1 2014/12/30 15:44:25 wiz Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.qore-pgsql-module
PKG_SUPPORTED_OPTIONS= debug
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.else
CONFIGURE_ARGS+= --disable-debug
.endif

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-configure,v 1.1 2014/12/30 15:44:25 wiz Exp $
pkgsrc doesn't use lib64 or target dirs so don't set them.
fixes build on linux.
http://sf.net/p/qore/code/6817/
--- configure.orig 2014-10-31 21:56:41.605684184 +0000
+++ configure
@@ -15876,14 +15876,6 @@ if test "$enable_64bit" = "yes"; then
*linux*) if test "$GXX" = "yes"; then
CXXFLAGS="$CXXFLAGS -m64"
fi
- # only set LIBSUFFIX=64 if /usr/lib64 exists
- if test -d /usr/lib64; then
- LIBSUFFIX=64
- fi
- target="${host_cpu}-${host_os}"
- if test -d /usr/lib/$target; then
- LIBSUFFIX=/$target
- fi
;;

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-src_Makefile.in,v 1.1 2014/12/30 15:44:25 wiz Exp $
* don't install .a file
http://sf.net/p/qore/code/6289/
--- src/Makefile.in.orig 2013-09-18 07:31:19.000000000 +0000
+++ src/Makefile.in
@@ -348,6 +348,7 @@ AM_CPPFLAGS = $(QORE_CPPFLAGS)
@COND_DEBUG_TRUE@@COND_PROFILE_FALSE@AM_CXXFLAGS = -g
@COND_PROFILE_TRUE@AM_CXXFLAGS = -g -pg
@COND_MINGW_TRUE@RM_OTHER = $(DESTDIR)$(libdir)/$(MNAME).dll.a
+@COND_MINGW_FALSE@RM_OTHER = $(DESTDIR)$(libdir)/$(MNAME).a
all: all-am
.SUFFIXES: