summaryrefslogtreecommitdiff
path: root/databases/postgresql-libpqxx
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-05-05 13:48:25 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-05-05 13:48:25 +0000
commit1604951b3093e548a7245a9a4de33403f76ba72f (patch)
treec4e49df9c764236863400586b044b0f0825c53ed /databases/postgresql-libpqxx
parentStagify. (diff)
Convert to USES=pgsql
While here: databases/pg_reorg - stagify databases/iplike - convert to USES=libtool - strip binarie databases/ip4r - strip binaries databases/postgresql-libpgeasy - convert to USES=libtool - strip binaries - stagify databases/postgresql-libpqxx - convert to USES=libtool - strip binaries databases/postgresql-libpqxx3 - convert to USES=libtool - strip binaries
Notes
Notes: svn path=/head/; revision=353002
Diffstat (limited to 'databases/postgresql-libpqxx')
-rw-r--r--databases/postgresql-libpqxx/Makefile13
-rw-r--r--databases/postgresql-libpqxx/pkg-plist2
2 files changed, 3 insertions, 12 deletions
diff --git a/databases/postgresql-libpqxx/Makefile b/databases/postgresql-libpqxx/Makefile
index 7168d1447ff5..1842fd53e8e3 100644
--- a/databases/postgresql-libpqxx/Makefile
+++ b/databases/postgresql-libpqxx/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libpqxx
PORTVERSION= 4.0.1
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://pqxx.org/download/software/libpqxx/
PKGNAMEPREFIX= postgresql-
@@ -16,23 +17,15 @@ LICENSE= BSD3CLAUSE
CONFLICTS= postgresql-libpqxx-3.* postgresql-libpqxx3-3.*
PORTSCOUT= limit:^2\.
-USE_PGSQL= yes
USE_PYTHON_BUILD= yes
-USES= gmake shebangfix
+USES= gmake libtool pgsql shebangfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-SOVERSION= 4
-PLIST_SUB= PORTVERSION=${PORTVERSION:R} \
- SOVERSION=${SOVERSION}
+PLIST_SUB= PORTVERSION=${PORTVERSION:R}
SHEBANG_FILES= ${WRKSRC}/tools/splitconfig
python_CMD= ${PYTHON_CMD}
CONFIGURE_ARGS= --enable-shared \
--disable-dependency-tracking
-post-install:
-# This is needed for ldconfig
- ${LN} -sf libpqxx-${PORTVERSION}.so \
- ${STAGEDIR}${PREFIX}/lib/libpqxx.so.${SOVERSION}
-
.include <bsd.port.mk>
diff --git a/databases/postgresql-libpqxx/pkg-plist b/databases/postgresql-libpqxx/pkg-plist
index 0528d2f8572e..c3484fb00948 100644
--- a/databases/postgresql-libpqxx/pkg-plist
+++ b/databases/postgresql-libpqxx/pkg-plist
@@ -93,9 +93,7 @@ include/pqxx/version
include/pqxx/version.hxx
lib/libpqxx-%%PORTVERSION%%.so
lib/libpqxx.a
-lib/libpqxx.la
lib/libpqxx.so
-lib/libpqxx.so.%%SOVERSION%%
libdata/pkgconfig/libpqxx.pc
@dirrm include/pqxx/internal/gates
@dirrm include/pqxx/internal