Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/cacti/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= cacti | PORTNAME= cacti | ||||
PORTVERSION= 1.0.1 | PORTVERSION= 1.0.4 | ||||
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/ | ftp://ftpmirror.uk/freebsd-ports/cacti/ | ||||
MAINTAINER= freebsd-ports@dan.me.uk | MAINTAINER= freebsd-ports@dan.me.uk | ||||
COMMENT= Web-driven graphing interface for RRDTool | COMMENT= Web-driven graphing interface for RRDTool | ||||
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 php:web shebangfix | USES= cpe gettext mysql php:web shebangfix | ||||
mat: I am quite certain it does not need gettext. It has NO_BUILD, so it most certainly does not… | |||||
USE_PHP= ctype filter gd gmp hash json ldap mbstring openssl pcre pdo pdo_mysql posix session simplexml sockets snmp xml zlib | USE_PHP= ctype filter gd gmp hash json ldap mbstring openssl pcre pdo pdo_mysql posix session simplexml sockets snmp xml zlib | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
PKGMESSAGE= ${WRKDIR}/pkg-message | PKGMESSAGE= ${WRKDIR}/pkg-message | ||||
matUnsubmitted Not Done Inline ActionsThis is not needed, it is added automatically by the SUB_FILES below. mat: This is not needed, it is added automatically by the SUB_FILES below. | |||||
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 | CACTIUSER?= cacti | ||||
CACTIGROUP?= cacti | CACTIGROUP?= cacti | ||||
USERS?= ${CACTIUSER} | USERS?= ${CACTIUSER} | ||||
GROUPS?= ${CACTIGROUP} | GROUPS?= ${CACTIGROUP} | ||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${SITEDISTVERSION} | WRKSRC= ${WRKDIR}/${PORTNAME}-${SITEDISTVERSION} | ||||
SITEDISTVERSION= ${PORTVERSION:S/${PATCHLEVEL}$//} | SITEDISTVERSION= ${PORTVERSION:S/${PATCHLEVEL}$//} | ||||
matUnsubmitted Not Done Inline ActionsThere has not been a "PATCHLEVEL" variable defined for about 5 years, it maybe be time to remove those two lines. mat: There has not been a "PATCHLEVEL" variable defined for about 5 years, it maybe be time to… | |||||
PLIST_SUB+= CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} \ | PLIST_SUB+= CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} \ | ||||
CACTIGROUP=${CACTIGROUP} | CACTIGROUP=${CACTIGROUP} | ||||
SUB_LIST+= CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} \ | SUB_LIST+= CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} \ | ||||
CACTIGROUP=${CACTIGROUP} | 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 | ||||
Show All 16 Lines |
I am quite certain it does not need gettext. It has NO_BUILD, so it most certainly does not need gettext-tools (used during build to handle build-time things like converting .mo to .po).
It may need a USES=gettext-runtime:run if something uses bin/gettext directly, but I doubt it. It does have .mo files, so it most likely need a USE_PHP=gettext or USE_PHP=intl.