summaryrefslogtreecommitdiff
path: root/databases/postgresql-libpq++/Makefile
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-01-05 00:03:13 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-01-05 00:03:13 +0000
commit063ec41e826c49ddc5bb848fea41f10fadd44e31 (patch)
treedc95732341d7369a642a91b898a10de365ee6890 /databases/postgresql-libpq++/Makefile
parentUpdate PostgreSQL tcl/tk to 7.3.1. pgaccess is no longer in of this port. (diff)
Add libpq++. libpq++ is no longer hosted under the main PostgreSQL tree and
is now a project on gborg. libpq++ is still a supported interface. PR: ports/45943 Submitted by: Palle Girgensohn <girgen@pingpong.net>
Notes
Notes: svn path=/head/; revision=72541
Diffstat (limited to 'databases/postgresql-libpq++/Makefile')
-rw-r--r--databases/postgresql-libpq++/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/databases/postgresql-libpq++/Makefile b/databases/postgresql-libpq++/Makefile
new file mode 100644
index 000000000000..24aa1f23df3f
--- /dev/null
+++ b/databases/postgresql-libpq++/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: PostgreSQL Pgaccess
+# Date created: December 1st, 2002
+# Whom: Palle Girgensohn <girgen@pingpong.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libpq++
+PORTVERSION= 4.0
+CATEGORIES= databases
+MASTER_SITES= ftp://gborg.postgresql.org/pub/libpqpp/stable/
+DIST_SUBDIR= postgresql
+
+MAINTAINER= girgen@pingpong.net
+
+POSTGRESQL_PORT?= databases/postgresql7
+LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+
+USE_GMAKE= YES
+USE_REINPLACE= YES
+INSTALLS_SHLIB= YES
+
+post-patch:
+ ${REINPLACE_CMD} "s,/usr/local/pgsql,${PREFIX},; \
+ s,^CFLAGS.*,CFLAGS=${CFLAGS},; \
+ s,\...SO_MINOR_VERSION.,,; \
+ s,\(\-[IL]\)[^/]*,\\1${LOCALBASE}," ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>