summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorschnoebe <schnoebe@pkgsrc.org>2011-02-06 06:00:08 +0000
committerschnoebe <schnoebe@pkgsrc.org>2011-02-06 06:00:08 +0000
commit93c76b0836ef37127ee8041856cf16a0104bab88 (patch)
tree4321e88f0512be724993c544ac694031fe37609e /databases
parent044a33023e9cba2c46ee975042e2ba39e63a5fbc (diff)
downloadpkgsrc-93c76b0836ef37127ee8041856cf16a0104bab88.tar.gz
Import the Poco 1.4.0 database accessor parent class.
Diffstat (limited to 'databases')
-rw-r--r--databases/poco-data/DESCR1
-rw-r--r--databases/poco-data/Makefile34
-rw-r--r--databases/poco-data/PLIST36
-rw-r--r--databases/poco-data/buildlink3.mk15
4 files changed, 86 insertions, 0 deletions
diff --git a/databases/poco-data/DESCR b/databases/poco-data/DESCR
new file mode 100644
index 00000000000..fb2f47355c3
--- /dev/null
+++ b/databases/poco-data/DESCR
@@ -0,0 +1 @@
+The Data module for POCO.
diff --git a/databases/poco-data/Makefile b/databases/poco-data/Makefile
new file mode 100644
index 00000000000..a4771f8d5f1
--- /dev/null
+++ b/databases/poco-data/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/02/06 06:00:08 schnoebe Exp $
+#
+
+PKGNAME= poco-data-${POCO_VERSION}
+CATEGORIES= databases
+
+COMMENT= POCO C++ RDBMS Master Accessor libraries
+
+.include "../../wip/poco/Makefile.common"
+
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --omit=Data/MySQL,Data/ODBC,Zip,XML
+CONFIGURE_ARGS+= --omit=Foundation,Net,NetSSL_OpenSSL
+CONFIGURE_ARGS+= --omit=Data/SQLite
+CONFIGURE_ARGS+= --no-tests
+CONFIGURE_ARGS+= --no-samples
+
+USE_TOOLS+= pax
+
+INSTALLATION_DIRS= include/Poco/Data lib
+do-build:
+ cd ${WRKSRC} && ${TOOLS_GMAKE} POCO_BASE=${WRKSRC} -C Data
+
+do-install:
+ # using the same logic as Poco's Makefile install target.
+ cd ${WRKSRC} && find lib -name 'libPoco*' -type f -exec cp -f {} \
+ ${DESTDIR}${PREFIX}/lib \;
+ cd ${WRKSRC} && find lib -name 'libPoco*' -type l -exec cp -Rf {} \
+ ${DESTDIR}${PREFIX}/lib \;
+ cd ${WRKSRC}/Data && \
+ ${PAX} -rw -v -pp include ${DESTDIR}${PREFIX}
+
+.include "../../wip/poco/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/poco-data/PLIST b/databases/poco-data/PLIST
new file mode 100644
index 00000000000..cda81196cd1
--- /dev/null
+++ b/databases/poco-data/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/02/06 06:00:08 schnoebe Exp $
+include/Poco/Data/AbstractPreparation.h
+include/Poco/Data/AbstractBinding.h
+include/Poco/Data/AbstractBinder.h
+include/Poco/Data/AbstractSessionImpl.h
+include/Poco/Data/AbstractExtraction.h
+include/Poco/Data/AbstractExtractor.h
+include/Poco/Data/PooledSessionHolder.h
+include/Poco/Data/AbstractPrepare.h
+include/Poco/Data/DataException.h
+include/Poco/Data/Binding.h
+include/Poco/Data/BLOB.h
+include/Poco/Data/BLOBStream.h
+include/Poco/Data/Column.h
+include/Poco/Data/Common.h
+include/Poco/Data/Connector.h
+include/Poco/Data/Data.h
+include/Poco/Data/RecordSet.h
+include/Poco/Data/Range.h
+include/Poco/Data/Extraction.h
+include/Poco/Data/Limit.h
+include/Poco/Data/MetaColumn.h
+include/Poco/Data/PooledSessionImpl.h
+include/Poco/Data/Prepare.h
+include/Poco/Data/SessionFactory.h
+include/Poco/Data/Session.h
+include/Poco/Data/StatementCreator.h
+include/Poco/Data/SessionImpl.h
+include/Poco/Data/SessionPool.h
+include/Poco/Data/Statement.h
+include/Poco/Data/StatementImpl.h
+include/Poco/Data/TypeHandler.h
+lib/libPocoDatad.so.10
+lib/libPocoData.so.10
+lib/libPocoDatad.so
+lib/libPocoData.so
diff --git a/databases/poco-data/buildlink3.mk b/databases/poco-data/buildlink3.mk
new file mode 100644
index 00000000000..86333f9153a
--- /dev/null
+++ b/databases/poco-data/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/02/06 06:00:08 schnoebe Exp $
+
+BUILDLINK_TREE+= poco-data
+
+.if !defined(POCO_DATA_BUILDLINK3_MK)
+POCO_DATA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.poco-data+= poco-data>=1.3.5
+BUILDLINK_ABI_DEPENDS.poco-data?= poco-data>=1.3.5nb1
+BUILDLINK_PKGSRCDIR.poco-data?= ../../wip/poco-data
+
+.include "../../wip/poco/buildlink3.mk"
+.endif # POCO_DATA_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -poco-data