From 91bf621428797020795422f108aaa894367be4ac Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 5 May 2014 13:48:25 +0000 Subject: 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 --- databases/ip4r/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'databases/ip4r') 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 -- cgit