aboutsummaryrefslogtreecommitdiffstats
path: root/databases/ip4r
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-05-05 21:48:25 +0800
committerbapt <bapt@FreeBSD.org>2014-05-05 21:48:25 +0800
commit91bf621428797020795422f108aaa894367be4ac (patch)
treec4e49df9c764236863400586b044b0f0825c53ed /databases/ip4r
parentcf71102289136925c9fca7fcd7e90f630d893d8e (diff)
downloadfreebsd-ports-gnome-91bf621428797020795422f108aaa894367be4ac.tar.gz
freebsd-ports-gnome-91bf621428797020795422f108aaa894367be4ac.tar.zst
freebsd-ports-gnome-91bf621428797020795422f108aaa894367be4ac.zip
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
Diffstat (limited to 'databases/ip4r')
-rw-r--r--databases/ip4r/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/databases/ip4r/Makefile b/databases/ip4r/Makefile
index 7b0cfba56acb..464cc448b146 100644
--- a/databases/ip4r/Makefile
+++ b/databases/ip4r/Makefile
@@ -9,21 +9,20 @@ MASTER_SITES= http://pgfoundry.org/frs/download.php/3380/
MAINTAINER= tobez@FreeBSD.org
COMMENT= IP address and IP range index types for PostgreSQL
-USE_PGSQL= YES
-USE_GMAKE= YES
+USES= gmake pgsql
MAKE_ARGS= USE_PGXS=1
# In order to make this port PREFIX-safe, we override the install target
# and install the three files manually
-NO_STAGE= yes
do-install:
- @${INSTALL} -m ${BINMODE} ${WRKSRC}/ip4r.so ${PREFIX}/lib/postgresql
- @${MKDIR} ${PREFIX}/share/postgresql/contrib
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/postgresql
+ @${INSTALL_LIB} -m ${BINMODE} ${WRKSRC}/ip4r.so ${STAGEDIR}${PREFIX}/lib/postgresql
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/postgresql/contrib
@${INSTALL_DATA} ${WRKSRC}/ip4r.sql \
- ${PREFIX}/share/postgresql/contrib
- @${MKDIR} ${PREFIX}/share/doc/postgresql/contrib
+ ${STAGEDIR}${PREFIX}/share/postgresql/contrib
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/postgresql/contrib
@${INSTALL_DATA} ${WRKSRC}/README.ip4r \
- ${PREFIX}/share/doc/postgresql/contrib
+ ${STAGEDIR}${PREFIX}/share/doc/postgresql/contrib
.include <bsd.port.mk>