diff --git a/net/rtg/Makefile b/net/rtg/Makefile index 5835839d3679..65a052321f9d 100644 --- a/net/rtg/Makefile +++ b/net/rtg/Makefile @@ -1,49 +1,51 @@ PORTNAME= rtg PORTVERSION= 0.7.5 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftpmirror.uk/freebsd-ports/rtg/ MAINTAINER= freebsd-ports@dan.me.uk COMMENT= Flexible, high-performance SNMP statistics monitoring system WWW= https://rtg.sourceforge.net LICENSE= GPLv2 LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libgd.so:graphics/gd RUN_DEPENDS= p5-DBI>=0:databases/p5-DBI \ p5-DBD-mysql>=0:databases/p5-DBD-mysql USES= mysql:client perl5 shebangfix ssl USE_RC_SUBR= rtgpoll SHEBANG_FILES= etc/95.pl etc/report.pl etc/rtgtargmkr.pl.in GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/${PORTNAME} \ --htmldir=${PREFIX}/www/data \ --with-mysql=${LOCALBASE} \ --with-gd=${LOCALBASE} \ --with-snmp=${LOCALBASE} CFLAGS+= -fstack-protector LDFLAGS+= -fstack-protector USERS= rtg GROUPS= rtg OPTIONS_DEFINE= WEB MYSQL MYSQL_DESC= Pull MySQL server in as a dependancy for local setups WEB_DESC= Include PHP-based web client interface pre-requisites MYSQL_USES= mysql:server WEB_USES= php WEB_USE= PHP=mysqli WEB_SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/etc/95.pl @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/etc/report.pl @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/etc/common.php.in .include diff --git a/net/rtg/pkg-plist b/net/rtg/pkg-plist index 0e82a2325258..9a461523b6b1 100644 --- a/net/rtg/pkg-plist +++ b/net/rtg/pkg-plist @@ -1,24 +1,24 @@ bin/95.pl bin/report.pl bin/rtgplot bin/rtgpoll contrib/README contrib/rtgtargmkr-with-modules-0.2.tar.gz %%ETCDIR%%/BER.pm %%ETCDIR%%/SNMP_Session.pm %%ETCDIR%%/SNMP_util.pm %%ETCDIR%%/createdb @sample %%ETCDIR%%/routers.sample @sample %%ETCDIR%%/rtg.conf.sample %%ETCDIR%%/rtgtargmkr.pl include/common.h include/rtg.h include/rtgplot.h -man/man1/rtgplot.1.gz -man/man1/rtgpoll.1.gz +share/man/man1/rtgplot.1.gz +share/man/man1/rtgpoll.1.gz www/data/95.php www/data/common.php www/data/rtg.php www/data/rtg.png www/data/rtgback.png www/data/view.php