summaryrefslogtreecommitdiff
path: root/databases/postgresql-libpqxx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql-libpqxx/Makefile')
-rw-r--r--databases/postgresql-libpqxx/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/databases/postgresql-libpqxx/Makefile b/databases/postgresql-libpqxx/Makefile
new file mode 100644
index 000000000000..23dbfdd57025
--- /dev/null
+++ b/databases/postgresql-libpqxx/Makefile
@@ -0,0 +1,33 @@
+# Created by: Palle Girgensohn <girgen@pingpong.net>
+# $FreeBSD$
+
+PORTNAME= libpqxx
+PORTVERSION= 4.0
+CATEGORIES= databases
+MASTER_SITES= http://pqxx.org/download/software/libpqxx/
+PKGNAMEPREFIX= postgresql-
+DIST_SUBDIR= postgresql
+
+MAINTAINER= pgsql@FreeBSD.org
+COMMENT= New C++ interface for PostgreSQL
+
+CONFLICTS= postgresql-libpqxx-3.*
+PORTSCOUT= limit:^2\.
+
+USE_PGSQL= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+SOVERSION= 4
+PLIST_SUB= PORTVERSION=${PORTVERSION} \
+ SOVERSION=${SOVERSION}
+
+CONFIGURE_ARGS= --enable-shared \
+ --disable-dependency-tracking
+
+post-install:
+# This is needed for ldconfig
+ ${LN} -s ${PREFIX}/lib/libpqxx-${PORTVERSION}.so \
+ ${PREFIX}/lib/libpqxx.so.${SOVERSION}
+
+.include <bsd.port.mk>