summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authoris <is>2004-01-07 11:08:53 +0000
committeris <is>2004-01-07 11:08:53 +0000
commit7918d3a0f117bea90814f130a9cb3f1355defe26 (patch)
treedaee2cc5ce228ccdcc34e22ecb3087bc10887ce0 /databases
parent6b441fac5a04d01b57467e243ed6495db886a88d (diff)
downloadpkgsrc-7918d3a0f117bea90814f130a9cb3f1355defe26.tar.gz
C++ interface to Postgresql-LIB (only for ELF due to broken versioning).
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile3
-rw-r--r--databases/libpqxx/DESCR3
-rw-r--r--databases/libpqxx/Makefile25
-rw-r--r--databases/libpqxx/PLIST70
-rw-r--r--databases/libpqxx/distinfo4
5 files changed, 104 insertions, 1 deletions
diff --git a/databases/Makefile b/databases/Makefile
index f9b2a8a2726..67908381881 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.110 2003/12/21 07:58:37 martti Exp $
+# $NetBSD: Makefile,v 1.111 2004/01/07 11:08:53 is Exp $
#
COMMENT= Databases
@@ -28,6 +28,7 @@ SUBDIR+= kmysqladmin
SUBDIR+= kpsql
SUBDIR+= libgda
SUBDIR+= libgnomedb
+SUBDIR+= libpqxx
SUBDIR+= mergeant
SUBDIR+= metakit-lib
SUBDIR+= myodbc
diff --git a/databases/libpqxx/DESCR b/databases/libpqxx/DESCR
new file mode 100644
index 00000000000..7d63e4af25f
--- /dev/null
+++ b/databases/libpqxx/DESCR
@@ -0,0 +1,3 @@
+C++ client API for PostgreSQL. The standard front-end (in the sense
+of "language binding") for writing C++ programs that use PostgreSQL.
+Supersedes older libpq++ interface.
diff --git a/databases/libpqxx/Makefile b/databases/libpqxx/Makefile
new file mode 100644
index 00000000000..9aa1aab26f2
--- /dev/null
+++ b/databases/libpqxx/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2004/01/07 11:08:53 is Exp $
+#
+
+DISTNAME= libpqxx-2.1.3
+CATEGORIES= databases
+MASTER_SITES= ftp://gborg.postgresql.org/pub/libpqxx/stable/
+
+MAINTAINER= is@netbsd.org
+HOMEPAGE= http://pqxx.tk/
+COMMENT= C++ interface to postgresql-lib
+
+USE_BUILDLINK2= yes
+USE_PKGLOCALEDIR= yes
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/libpqxx.pc.in
+
+GNU_CONFIGURE= yes
+PG_PREFIX= ${BUILDLINK_PREFIX.postgresql-lib}
+CONFIGURE_ARGS+= --with-postgres-lib=${PG_PREFIX}/lib
+CONFIGURE_ARGS+= --with-postgres-include=${PG_PREFIX}/include/postgresql
+
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+.include "../../databases/postgresql-lib/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/libpqxx/PLIST b/databases/libpqxx/PLIST
new file mode 100644
index 00000000000..5e5c1bc1840
--- /dev/null
+++ b/databases/libpqxx/PLIST
@@ -0,0 +1,70 @@
+@comment $NetBSD: PLIST,v 1.1 2004/01/07 11:08:53 is Exp $
+include/pqxx/all.h
+include/pqxx/binarystring
+include/pqxx/binarystring.hxx
+include/pqxx/cachedresult.h
+include/pqxx/compiler.h
+include/pqxx/config.h
+include/pqxx/connection
+include/pqxx/connection.h
+include/pqxx/connection.hxx
+include/pqxx/connection_base
+include/pqxx/connection_base.h
+include/pqxx/connection_base.hxx
+include/pqxx/connectionitf.h
+include/pqxx/cursor.h
+include/pqxx/dbtransaction
+include/pqxx/dbtransaction.h
+include/pqxx/dbtransaction.hxx
+include/pqxx/except
+include/pqxx/except.h
+include/pqxx/except.hxx
+include/pqxx/isolation
+include/pqxx/isolation.h
+include/pqxx/isolation.hxx
+include/pqxx/largeobject
+include/pqxx/largeobject.h
+include/pqxx/largeobject.hxx
+include/pqxx/libcompiler.h
+include/pqxx/libconfig.h
+include/pqxx/nontransaction
+include/pqxx/nontransaction.h
+include/pqxx/nontransaction.hxx
+include/pqxx/pqxx
+include/pqxx/result
+include/pqxx/result.h
+include/pqxx/result.hxx
+include/pqxx/robusttransaction
+include/pqxx/robusttransaction.h
+include/pqxx/robusttransaction.hxx
+include/pqxx/tablereader
+include/pqxx/tablereader.h
+include/pqxx/tablereader.hxx
+include/pqxx/tablestream
+include/pqxx/tablestream.h
+include/pqxx/tablestream.hxx
+include/pqxx/tablewriter
+include/pqxx/tablewriter.h
+include/pqxx/tablewriter.hxx
+include/pqxx/transaction
+include/pqxx/transaction.h
+include/pqxx/transaction.hxx
+include/pqxx/transaction_base
+include/pqxx/transaction_base.h
+include/pqxx/transaction_base.hxx
+include/pqxx/transactionitf.h
+include/pqxx/transactor
+include/pqxx/transactor.h
+include/pqxx/transactor.hxx
+include/pqxx/trigger
+include/pqxx/trigger.h
+include/pqxx/trigger.hxx
+include/pqxx/util
+include/pqxx/util.h
+include/pqxx/util.hxx
+lib/${PKGNAME}.so
+lib/libpqxx.a
+lib/libpqxx.la
+lib/libpqxx.so
+lib/pkgconfig/libpqxx.pc
+@dirrm include/pqxx
diff --git a/databases/libpqxx/distinfo b/databases/libpqxx/distinfo
new file mode 100644
index 00000000000..edcedd73235
--- /dev/null
+++ b/databases/libpqxx/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1 2004/01/07 11:08:53 is Exp $
+
+SHA1 (libpqxx-2.1.3.tar.gz) = e297663acc6210a0217f2d6a75b4ae27c36d6074
+Size (libpqxx-2.1.3.tar.gz) = 673575 bytes