Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/cacti88/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= cacti | PORTNAME= cacti | ||||
PORTVERSION= 0.8.8h${PATCHLEVEL} | PORTVERSION= 0.8.8h | ||||
CATEGORIES= net-mgmt www | CATEGORIES= net-mgmt www | ||||
MASTER_SITES= http://www.cacti.net/downloads/ \ | MASTER_SITES= http://www.cacti.net/downloads/ | ||||
ftp://ftpmirror.uk/freebsd-ports/cacti/ | PKGNAMESUFFIX= 88 | ||||
MAINTAINER= freebsd-ports@dan.me.uk | MAINTAINER= egypcio@googlemail.com | ||||
COMMENT= Web-driven graphing interface for RRDTool | COMMENT= Graphing interface for RRDTool (Old version of net-mgmt/cacti) | ||||
mat: The part between () is unneeded. | |||||
LICENSE= GPLv2 | LICENSE= GPLv2+ | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
RUN_DEPENDS= rrdtool:databases/rrdtool | RUN_DEPENDS= rrdtool:databases/rrdtool | ||||
USES= cpe mysql shebangfix | USES= cpe mysql php:web shebangfix | ||||
USE_PHP= mysqli pcre session sockets snmp xml | USE_PHP= mysqli pcre session sockets snmp xml | ||||
WANT_PHP_WEB= yes | |||||
NO_ARCH= yes | NO_ARCH= yes | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
PKGMESSAGE= ${WRKDIR}/pkg-message | |||||
IGNORE_WITH_PHP= 70 71 | |||||
SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
SHEBANG_FILES= scripts/3com_cable_modem.pl \ | SHEBANG_FILES= scripts/3com_cable_modem.pl \ | ||||
scripts/diskfree.pl \ | scripts/diskfree.pl \ | ||||
scripts/linux_memory.pl \ | scripts/linux_memory.pl \ | ||||
scripts/loadavg.pl \ | scripts/loadavg.pl \ | ||||
scripts/loadavg_multi.pl \ | scripts/loadavg_multi.pl \ | ||||
scripts/ping.pl \ | scripts/ping.pl \ | ||||
scripts/query_unix_partitions.pl \ | scripts/query_unix_partitions.pl \ | ||||
scripts/unix_processes.pl \ | scripts/unix_processes.pl \ | ||||
scripts/unix_tcp_connections.pl \ | scripts/unix_tcp_connections.pl \ | ||||
scripts/unix_users.pl \ | scripts/unix_users.pl \ | ||||
scripts/weatherbug.pl \ | scripts/weatherbug.pl \ | ||||
scripts/webhits.pl | scripts/webhits.pl | ||||
CACTIDIR?= share/cacti | CACTIDIR= share/cacti | ||||
CACTIUSER?= cacti | |||||
CACTIGROUP?= cacti | |||||
USERS?= ${CACTIUSER} | USERS= cacti | ||||
GROUPS?= ${CACTIGROUP} | GROUPS= cacti | ||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${SITEDISTVERSION} | PLIST_SUB+= CACTIDIR=${CACTIDIR} | ||||
SUB_LIST+= CACTIDIR=${CACTIDIR} | |||||
SITEDISTVERSION= ${PORTVERSION:S/${PATCHLEVEL}$//} | CONFLICTS_INSTALL= cacti- | ||||
matUnsubmitted Done Inline ActionsRemove the - mat: Remove the - | |||||
PLIST_SUB+= CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} \ | PORTSCOUT= limit:^0.* | ||||
CACTIGROUP=${CACTIGROUP} | |||||
SUB_LIST+= CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} \ | |||||
CACTIGROUP=${CACTIGROUP} | |||||
post-patch: | post-patch: | ||||
@${FIND} ${WRKSRC} -name \*.orig -delete; \ | @${FIND} ${WRKSRC} -name \*.orig -delete; \ | ||||
${MV} ${WRKSRC}/include/config.php ${WRKSRC}/include/config.php.sample | ${MV} ${WRKSRC}/include/config.php ${WRKSRC}/include/config.php.sample | ||||
${RM} -r ${WRKSRC}/log ${WRKSRC}/rra | ${RM} -r ${WRKSRC}/log ${WRKSRC}/rra | ||||
do-install: | do-install: | ||||
${MKDIR} ${STAGEDIR}/${PREFIX}/${CACTIDIR} | ${MKDIR} ${STAGEDIR}/${PREFIX}/${CACTIDIR} | ||||
Show All 12 Lines |
The part between () is unneeded.