2008-06-01 03:08:05 +02:00
|
|
|
PORTNAME= pgfouine
|
2010-03-18 14:35:54 +01:00
|
|
|
PORTVERSION= 1.2
|
2008-06-01 03:08:05 +02:00
|
|
|
CATEGORIES= databases
|
2010-03-18 14:35:54 +01:00
|
|
|
MASTER_SITES= http://pgfoundry.org/frs/download.php/2575/ \
|
2008-06-02 11:25:44 +02:00
|
|
|
http://pgfouine.projects.postgresql.org/releases/
|
2008-06-01 03:08:05 +02:00
|
|
|
|
|
|
|
MAINTAINER= pea@raveland.org
|
|
|
|
COMMENT= PostgreSQL log analyzer
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= http://pgfouine.projects.postgresql.org/
|
2008-06-01 03:08:05 +02:00
|
|
|
|
2019-11-08 10:37:29 +01:00
|
|
|
USES+= php
|
|
|
|
|
2014-07-03 23:48:44 +02:00
|
|
|
NO_BUILD= Yes
|
2008-09-30 15:53:37 +02:00
|
|
|
USE_PHP= gd pcre
|
2008-06-01 03:08:05 +02:00
|
|
|
|
2014-07-03 23:48:44 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2008-06-01 03:08:05 +02:00
|
|
|
pre-configure:
|
|
|
|
${REINPLACE_CMD} -e 's,/usr/bin/php,${LOCALBASE}/bin/php,g;' \
|
|
|
|
-e 's,!!PREFIX!!,${PREFIX},g' \
|
|
|
|
${WRKSRC}/pgfouine.php ${WRKSRC}/pgfouine_vacuum.php
|
2016-10-21 14:51:40 +02:00
|
|
|
${FIND} -d ${WRKSRC} -type d -name 'CVS' -exec ${RM} -r {} \;
|
2008-06-01 03:08:05 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-05-19 18:05:55 +02:00
|
|
|
${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/
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}
|
2017-11-01 14:10:35 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/THANKS ${STAGEDIR}${DOCSDIR}
|
2014-05-19 18:05:55 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/rpm-specific/sources/pgfouine-tutorial.txt ${STAGEDIR}${DOCSDIR}
|
2008-06-01 03:08:05 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|