aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-05-20 00:05:55 +0800
committervanilla <vanilla@FreeBSD.org>2014-05-20 00:05:55 +0800
commitbba86bf36fdc5cea396590dd482ac675ace27725 (patch)
tree6a36c3664c751a0a3bd636e3c9114eccae70a8a6 /databases
parent0a7845dbdaf32a5116e5370ba4962a2d3e74e261 (diff)
downloadfreebsd-ports-gnome-bba86bf36fdc5cea396590dd482ac675ace27725.tar.gz
freebsd-ports-gnome-bba86bf36fdc5cea396590dd482ac675ace27725.tar.zst
freebsd-ports-gnome-bba86bf36fdc5cea396590dd482ac675ace27725.zip
Support staging.
Approved by: portmgr@
Diffstat (limited to 'databases')
-rw-r--r--databases/pgfouine/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/databases/pgfouine/Makefile b/databases/pgfouine/Makefile
index b61a809fb039..420dfa6828a5 100644
--- a/databases/pgfouine/Makefile
+++ b/databases/pgfouine/Makefile
@@ -13,7 +13,6 @@ COMMENT= PostgreSQL log analyzer
NO_BUILD = Yes
USE_PHP= gd pcre
-NO_STAGE= yes
pre-configure:
${REINPLACE_CMD} -e 's,/usr/bin/php,${LOCALBASE}/bin/php,g;' \
-e 's,!!PREFIX!!,${PREFIX},g' \
@@ -21,17 +20,17 @@ pre-configure:
${FIND} -d ${WRKSRC} -type d -name 'CVS' -exec ${RM} -rf {} \;
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/pgfouine.php ${PREFIX}/bin/pgfouine
- ${INSTALL_SCRIPT} ${WRKSRC}/pgfouine_vacuum.php ${PREFIX}/bin/pgfouine_vacuum
- ${MKDIR} ${DATADIR}/include
- ${INSTALL_DATA} ${WRKSRC}/version.php ${DATADIR}
- @cd ${WRKSRC}/include && ${COPYTREE_SHARE} \* ${DATADIR}/include/
+ ${INSTALL_SCRIPT} ${WRKSRC}/pgfouine.php ${STAGEDIR}${PREFIX}/bin/pgfouine
+ ${INSTALL_SCRIPT} ${WRKSRC}/pgfouine_vacuum.php ${STAGEDIR}${PREFIX}/bin/pgfouine_vacuum
+ ${MKDIR} ${STAGEDIR}${DATADIR}/include
+ ${INSTALL_DATA} ${WRKSRC}/version.php ${STAGEDIR}${DATADIR}
+ @cd ${WRKSRC}/include && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/include/
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/THANKS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/rpm-specific/sources/pgfouine-tutorial.txt ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/THANKS ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/rpm-specific/sources/pgfouine-tutorial.txt ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>