aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-08-30 23:49:44 +0800
committersteve <steve@FreeBSD.org>1998-08-30 23:49:44 +0800
commit378770ccb22325c083d808a81857898ae47813be (patch)
treebda7b586ab67fc8d0edc2d2063425d7c850f746b /net
parentc6a8ddd854096eba4a386383d8a6b35d04fd3e71 (diff)
downloadfreebsd-ports-gnome-378770ccb22325c083d808a81857898ae47813be.tar.gz
freebsd-ports-gnome-378770ccb22325c083d808a81857898ae47813be.tar.zst
freebsd-ports-gnome-378770ccb22325c083d808a81857898ae47813be.zip
Unbreak after the perl upgrade.
Diffstat (limited to 'net')
-rw-r--r--net/mrtg/Makefile8
-rw-r--r--net/mrtg/pkg-plist4
2 files changed, 6 insertions, 6 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile
index 51eedf4db862..47af3aa2c7c2 100644
--- a/net/mrtg/Makefile
+++ b/net/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/mrtg/pkg-plist b/net/mrtg/pkg-plist
index e2563b5a78a1..392b41a306d0 100644
--- a/net/mrtg/pkg-plist
+++ b/net/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