aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-08-30 15:49:44 +0000
committerSteve Price <steve@FreeBSD.org>1998-08-30 15:49:44 +0000
commit8aaca5506b7852065b0533ea5f730ebd2990a677 (patch)
tree998aed5a0c0613886e828f89dbafb40d6e049f80 /net-mgmt
parent3c627074984ebd60b96888b8a64a92aa947f9587 (diff)
downloadports-8aaca5506b7852065b0533ea5f730ebd2990a677.tar.gz
ports-8aaca5506b7852065b0533ea5f730ebd2990a677.zip
Notes
Diffstat (limited to 'net-mgmt')
-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 51eedf4db862..47af3aa2c7c2 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 e2563b5a78a1..392b41a306d0 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