aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cacti/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/cacti/Makefile')
-rw-r--r--net-mgmt/cacti/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/net-mgmt/cacti/Makefile b/net-mgmt/cacti/Makefile
index 01e39ad43f1d..d8eae593b8e9 100644
--- a/net-mgmt/cacti/Makefile
+++ b/net-mgmt/cacti/Makefile
@@ -6,18 +6,20 @@
#
PORTNAME= cacti
-PORTVERSION= 0.8.5a
+PORTVERSION= 0.8.6b
CATEGORIES= net
-MASTER_SITES= http://www.raxnet.net/downloads/cacti/
+MASTER_SITES= http://www.cacti.net/downloads/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= so14k@so14k.com
COMMENT= Web-driven graphing interface for RRDTool
-RUN_DEPENDS= php:${PORTSDIR}/lang/php4 \
- rrdtool:${PORTSDIR}/net/rrdtool \
+RUN_DEPENDS= rrdtool:${PORTSDIR}/net/rrdtool \
net-snmp-config:${PORTSDIR}/net-mgmt/net-snmp
USE_MYSQL= yes
+USE_PHP= mysql pcre session xml
+WANT_PHP_WEB= yes
+WANT_PHP_CLI= yes
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -31,6 +33,7 @@ post-extract:
post-patch:
@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \
+ s|%%LOCALBASE%%|${LOCALBASE}| ; \
s|%%CACTIDIR%%|${CACTIDIR}| ; \
s|%%CACTIUSER%%|${CACTIUSER}|' > ${PKGMESSAGE}