diff options
Diffstat (limited to 'net-mgmt/mrtg/Makefile')
-rw-r--r-- | net-mgmt/mrtg/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile index e1747cbe0364..9129659de996 100644 --- a/net-mgmt/mrtg/Makefile +++ b/net-mgmt/mrtg/Makefile @@ -7,6 +7,7 @@ PORTNAME= mrtg PORTVERSION= 2.9.29 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/ \ @@ -17,6 +18,8 @@ MASTER_SITE_SUBDIR= net/mrtg MAINTAINER= demon@FreeBSD.org COMMENT= The multi-router traffic grapher +RUN_DEPENDS= ${SITE_PERL}/SNMP_Session.pm:${PORTSDIR}/net/p5-SNMP_Session + .if defined(WITH_GD2) LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2 CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \ @@ -38,6 +41,9 @@ MAN1= cfgmaker.1 contrib.1 faq.1 forum.1 indexmaker.1 logfile.1 \ mibhelp.1 mrtg.1 mrtg-rrd.1 mrtglib.1 nt-guide.1 reference.1 \ squid.1 unix-guide.1 webserver.1 +post-patch: + ${RM} ${WRKSRC}/lib/mrtg2/BER.pm ${WRKSRC}/lib/mrtg2/SNMP_*.pm + do-install: ${MKDIR} -m 755 ${PREFIX}/etc/mrtg ${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER} |