summaryrefslogtreecommitdiff
path: root/databases/libpqxx/Makefile
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/libpqxx/Makefile
parent6b441fac5a04d01b57467e243ed6495db886a88d (diff)
downloadpkgsrc-7918d3a0f117bea90814f130a9cb3f1355defe26.tar.gz
C++ interface to Postgresql-LIB (only for ELF due to broken versioning).
Diffstat (limited to 'databases/libpqxx/Makefile')
-rw-r--r--databases/libpqxx/Makefile25
1 files changed, 25 insertions, 0 deletions
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"