summaryrefslogtreecommitdiff
path: root/net/mrtg
diff options
context:
space:
mode:
authorjlam <jlam>2000-08-27 07:10:59 +0000
committerjlam <jlam>2000-08-27 07:10:59 +0000
commit97e1b0acc462290dc20dc517f0b889e311c2da32 (patch)
treefd4f0178e134e50e9dc8acc6e016d62c645457cf /net/mrtg
parent03f62e3f3dab9a9dfcfc2bb15ccd59d37f570723 (diff)
downloadpkgsrc-97e1b0acc462290dc20dc517f0b889e311c2da32.tar.gz
Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently correctly. As a side effect of the dynamic PLIST, we no longer need to have separate -static and -shared PLISTs. It's now easier than ever to make a perl5 package for NetBSD :)
Diffstat (limited to 'net/mrtg')
-rw-r--r--net/mrtg/Makefile13
-rw-r--r--net/mrtg/pkg/PLIST10
2 files changed, 12 insertions, 11 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile
index b616ab78d23..5de309fbb90 100644
--- a/net/mrtg/Makefile
+++ b/net/mrtg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2000/03/17 23:31:48 tron Exp $
+# $NetBSD: Makefile,v 1.17 2000/08/27 07:11:16 jlam Exp $
# FreeBSD Id: Makefile,v 1.7 1997/12/16 19:42:17 vanilla Exp
#
@@ -18,10 +18,10 @@ HOMEPAGE= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html
DEPENDS= gd>=1.8.1:../../graphics/gd
-USE_PERL5= YES
-USE_X11= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --with-gd-inc=${LOCALBASE}/include \
+USE_PERL5= # defined
+USE_X11= # defined
+GNU_CONFIGURE= # defined
+CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \
--with-gd-lib=${LOCALBASE}/lib
.include "../../mk/bsd.prefs.mk"
@@ -60,9 +60,10 @@ do-install:
done
${INSTALL_PROGRAM} ${WRKSRC}/run/rateup ${PREFIX}/libexec/
${INSTALL_SCRIPT} ${WRKSRC}/run/mrtg ${PREFIX}/bin/
+ ${INSTALL_DATA_DIR} ${PERL5_SITELIB}
${INSTALL_SCRIPT} ${WRKSRC}/run/BER.pm ${WRKSRC}/run/SNMP_Session.pm \
${WRKSRC}/run/SNMP_util.pm ${WRKSRC}/run/locales_mrtg.pm \
- ${PREFIX}/lib/perl5/site_perl/
+ ${PERL5_SITELIB}
for file in cfgmaker cfgmaker_ip indexmaker; do \
${INSTALL_SCRIPT} ${WRKSRC}/run/$$file \
${PREFIX}/bin/mrtg$$file; \
diff --git a/net/mrtg/pkg/PLIST b/net/mrtg/pkg/PLIST
index 4171fb6bbab..98ed3f1ac9b 100644
--- a/net/mrtg/pkg/PLIST
+++ b/net/mrtg/pkg/PLIST
@@ -1,13 +1,13 @@
-@comment $NetBSD: PLIST,v 1.7 2000/03/05 07:35:18 kim Exp $
+@comment $NetBSD: PLIST,v 1.8 2000/08/27 07:11:16 jlam Exp $
bin/mrtg
bin/mrtgcfgmaker
bin/mrtgcfgmaker_ip
bin/mrtgindexmaker
etc/mrtg/mrtg.conf.example
-lib/perl5/site_perl/BER.pm
-lib/perl5/site_perl/SNMP_Session.pm
-lib/perl5/site_perl/SNMP_util.pm
-lib/perl5/site_perl/locales_mrtg.pm
+${PERL5_SITELIB}/BER.pm
+${PERL5_SITELIB}/SNMP_Session.pm
+${PERL5_SITELIB}/SNMP_util.pm
+${PERL5_SITELIB}/locales_mrtg.pm
libexec/netstat2mrtg
libexec/rateup
libexec/sys2mrtg