summaryrefslogtreecommitdiffstats
path: root/net-mgmt/mrtg
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-08-30 15:49:44 +0000
committersteve <steve@FreeBSD.org>1998-08-30 15:49:44 +0000
commit378770ccb22325c083d808a81857898ae47813be (patch)
treebda7b586ab67fc8d0edc2d2063425d7c850f746b /net-mgmt/mrtg
parentc6a8ddd854096eba4a386383d8a6b35d04fd3e71 (diff)
downloadFreeBSD-ports-378770ccb22325c083d808a81857898ae47813be.zip
FreeBSD-ports-378770ccb22325c083d808a81857898ae47813be.tar.gz
Unbreak after the perl upgrade.
Diffstat (limited to 'net-mgmt/mrtg')
-rw-r--r--net-mgmt/mrtg/Makefile8
-rw-r--r--net-mgmt/mrtg/pkg-plist4
2 files changed, 6 insertions, 6 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile
index 51eedf4..47af3aa 100644
--- a/net-mgmt/mrtg/Makefile
+++ b/net-mgmt/mrtg/Makefile
@@ -3,7 +3,7 @@
# Date created: April 18th 1997
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
-# $Id: Makefile,v 1.6 1997/07/05 03:19:18 jfitz Exp $
+# $Id: Makefile,v 1.7 1997/12/16 19:42:17 vanilla Exp $
#
DISTNAME= mrtg-2.5.1
@@ -13,7 +13,7 @@ MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/
MAINTAINER= jfitz@FreeBSD.ORG
BUILD_DEPENDS= ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
-RUN_DEPENDS= ${PREFIX}/lib/perl5/site_perl/PV.pm:${PORTSDIR}/devel/p5-PV
+RUN_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/PV.pm:${PORTSDIR}/devel/p5-PV
USE_PERL5= YES
@@ -21,7 +21,7 @@ ALL_TARGET= rateup substitute
do-install:
${MKDIR} -p -m 755 ${PREFIX}/etc/mrtg
- ${MKDIR} -p -m 755 ${PREFIX}/lib/perl5/site_perl
+ ${MKDIR} -p -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
${MKDIR} -p -m 755 ${PREFIX}/share/mrtg
${MKDIR} -p -m 755 ${PREFIX}/share/doc/mrtg
for file in readme.html readme.txt mibhelp.txt INSTALL COPYING COPYRIGHT Changes Contributors Todo; do \
@@ -31,7 +31,7 @@ do-install:
${INSTALL_DATA} $$file ${PREFIX}/share/mrtg/; \
done
for file in SNMP_Session.pm BER.pm; do \
- ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/lib/perl5/site_perl/; \
+ ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/lib/perl5/site_perl/${PERL_VER}; \
done
${INSTALL_PROGRAM} ${WRKSRC}/rateup ${PREFIX}/bin/
for file in mrtg cfgmaker convert indexmaker; do \
diff --git a/net-mgmt/mrtg/pkg-plist b/net-mgmt/mrtg/pkg-plist
index e2563b5..392b41a 100644
--- a/net-mgmt/mrtg/pkg-plist
+++ b/net-mgmt/mrtg/pkg-plist
@@ -4,8 +4,8 @@ bin/indexmaker
bin/mrtg
bin/rateup
etc/mrtg/mrtg.cfg-dist
-lib/perl5/site_perl/BER.pm
-lib/perl5/site_perl/SNMP_Session.pm
+lib/perl5/site_perl/%%PERL_VER%%/BER.pm
+lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm
share/mrtg/mrtg-l.gif
share/mrtg/mrtg-m.gif
share/mrtg/mrtg-r.gif
OpenPOWER on IntegriCloud