aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/mrtg
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2004-07-02 08:46:38 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2004-07-02 08:46:38 +0000
commit58a40fad842b636336ab3e53e995ae58ff2566e3 (patch)
treed528c98fb99c0c7e8d40f0f41dbca829a36f1624 /net-mgmt/mrtg
parentcda9f153149a8737a0ffb5d21782d809aa8a0095 (diff)
downloadports-58a40fad842b636336ab3e53e995ae58ff2566e3.tar.gz
ports-58a40fad842b636336ab3e53e995ae58ff2566e3.zip
Notes
Diffstat (limited to 'net-mgmt/mrtg')
-rw-r--r--net-mgmt/mrtg/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile
index 27a6689a8d17..539005063dd4 100644
--- a/net-mgmt/mrtg/Makefile
+++ b/net-mgmt/mrtg/Makefile
@@ -46,6 +46,12 @@ MAN1= cfgmaker.1 indexmaker.1 mrtg-contrib.1 mrtg-faq.1 mrtg-forum.1 \
mrtg-reference.1 mrtg-rrd.1 mrtg-squid.1 mrtg-unix-guide.1 \
mrtg-webserver.1 mrtg.1 mrtglib.1
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+RUN_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
+.endif
+
post-patch:
${RM} ${WRKSRC}/lib/mrtg2/BER.pm ${WRKSRC}/lib/mrtg2/SNMP_*.pm
.if defined(WITH_GD1)
@@ -83,4 +89,4 @@ post-install:
@${ECHO} "############################################################################"
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>