aboutsummaryrefslogtreecommitdiff
path: root/databases/pgfouine
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-05-19 16:05:55 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-05-19 16:05:55 +0000
commit4a29590edf5e7befb4b269d9c290dbc5eba2b324 (patch)
tree6a36c3664c751a0a3bd636e3c9114eccae70a8a6 /databases/pgfouine
parent6be1f547d3cc50dbf0a64ba5f430a9688f58e3d9 (diff)
downloadports-4a29590edf5e7befb4b269d9c290dbc5eba2b324.tar.gz
ports-4a29590edf5e7befb4b269d9c290dbc5eba2b324.zip
Notes
Diffstat (limited to 'databases/pgfouine')
-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>