aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/jffnms/Makefile
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-01-20 17:42:26 +0800
committerclement <clement@FreeBSD.org>2004-01-20 17:42:26 +0800
commit217761de6523ef3b7a2e4eda891797264dfeb963 (patch)
tree2d0bcf55cf0966ed11fb29ae1d0dadf088404841 /net-mgmt/jffnms/Makefile
parentf8134de00c8fa9e5b26bcaaf73c7a935d9cc5c11 (diff)
downloadfreebsd-ports-gnome-217761de6523ef3b7a2e4eda891797264dfeb963.tar.gz
freebsd-ports-gnome-217761de6523ef3b7a2e4eda891797264dfeb963.tar.zst
freebsd-ports-gnome-217761de6523ef3b7a2e4eda891797264dfeb963.zip
- Update to 0.7.5
PR: 61356 Submitted by: Sergey Akifyev <asa@gascom.ru> (maintainer)
Diffstat (limited to 'net-mgmt/jffnms/Makefile')
-rw-r--r--net-mgmt/jffnms/Makefile27
1 files changed, 13 insertions, 14 deletions
diff --git a/net-mgmt/jffnms/Makefile b/net-mgmt/jffnms/Makefile
index 4aa2c669212e..37f051f3b92d 100644
--- a/net-mgmt/jffnms/Makefile
+++ b/net-mgmt/jffnms/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= jffnms
-PORTVERSION= 0.7.4
+PORTVERSION= 0.7.5
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}
@@ -24,14 +24,12 @@ USE_MYSQL= yes
USE_REINPLACE= yes
JFFNMSDIR?= share/jffnms
-PHPSO?= ${LOCALBASE}/libexec/apache/libphp4.so
-LDD?= /usr/bin/ldd
CRONTAB?= /usr/bin/crontab
PLIST_SUB= JFFNMSDIR=${JFFNMSDIR}
do-build:
- @${REINPLACE_CMD} -e 's|/opt/jffnms|${LOCALBASE}/${JFFNMSDIR}|g' \
+ @${REINPLACE_CMD} -e 's|/opt/jffnms|${PREFIX}/${JFFNMSDIR}|g' \
-e 's|/usr/bin/php|${LOCALBASE}/bin/php|g' \
-e 's|/usr/bin/rrdtool|${LOCALBASE}/bin/rrdtool|g' \
-e 's|/usr/bin/nmap|${LOCALBASE}/bin/nmap|g' \
@@ -40,16 +38,17 @@ do-build:
${WRKSRC}/conf/config.ini
do-install:
- @${MKDIR} ${LOCALBASE}/${JFFNMSDIR}
- @${CP} -R ${WRKSRC}/* ${LOCALBASE}/${JFFNMSDIR}
- @${CHOWN} -R www:www ${LOCALBASE}/${JFFNMSDIR}
- @${SED} -e 's|%LOCALBASE%|${LOCALBASE}|g' \
- -e 's|%JFFNMSDIR%|${LOCALBASE}/${JFFNMSDIR}|g' ${FILESDIR}/jffnms.cron \
- > ${LOCALBASE}/${JFFNMSDIR}/jffnms.cron
- @${SED} -e 's|%JFFNMSDIR%|${LOCALBASE}/${JFFNMSDIR}|g' \
+ @-${RM} ${WRKSRC}/engine/tmpwatch.sh.orig > /dev/null 2>&1
+ @${MKDIR} ${PREFIX}/${JFFNMSDIR}
+ @${CP} -R ${WRKSRC}/* ${PREFIX}/${JFFNMSDIR}
+ @${CHOWN} -R www:www ${PREFIX}/${JFFNMSDIR}
+ @${SED} -e 's|%LOCALBASE%|${PREFIX}|g' \
+ -e 's|%JFFNMSDIR%|${PREFIX}/${JFFNMSDIR}|g' ${FILESDIR}/jffnms.cron \
+ > ${PREFIX}/${JFFNMSDIR}/jffnms.cron
+ @${SED} -e 's|%JFFNMSDIR%|${PREFIX}/${JFFNMSDIR}|g' \
-e 's|%JFFNMS%|${DISTNAME}|g' ${FILESDIR}/jffnms_db.sh \
- > ${LOCALBASE}/${JFFNMSDIR}/jffnms_db.sh
- @${CRONTAB} -u www ${LOCALBASE}/${JFFNMSDIR}/jffnms.cron
- @${SED} -e 's|%JFFNMSDIR%|${LOCALBASE}/${JFFNMSDIR}|g' ${PKGMESSAGE}
+ > ${PREFIX}/${JFFNMSDIR}/jffnms_db.sh
+ @${CRONTAB} -u www ${PREFIX}/${JFFNMSDIR}/jffnms.cron
+ @${SED} -e 's|%JFFNMSDIR%|${PREFIX}/${JFFNMSDIR}|g' ${PKGMESSAGE}
.include <bsd.port.mk>