summaryrefslogtreecommitdiff
path: root/net/mrtg/Makefile
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2001-11-07 18:26:50 +0000
committerbouyer <bouyer@pkgsrc.org>2001-11-07 18:26:50 +0000
commit48b05be9cd66966a05f869bca35010d9382360cb (patch)
tree50860530ca6e830816728c7ef5c72a43d2bcdf83 /net/mrtg/Makefile
parentf5f8b60a366205fd14a43f502772e106010ce5a9 (diff)
downloadpkgsrc-48b05be9cd66966a05f869bca35010d9382360cb.tar.gz
Add envstat2mrtg, a perl script which allows to use envstat output with
mrtg.
Diffstat (limited to 'net/mrtg/Makefile')
-rw-r--r--net/mrtg/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile
index f9f1d4b5ce0..e939cc355fa 100644
--- a/net/mrtg/Makefile
+++ b/net/mrtg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2001/06/20 14:21:52 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2001/11/07 18:26:50 bouyer Exp $
#
DISTNAME= mrtg-2.9.17
@@ -41,6 +41,8 @@ post-build:
>${WRKDIR}/netstat2mrtg
${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/sys2mrtg \
>${WRKDIR}/sys2mrtg
+ ${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/envstat2mrtg \
+ >${WRKDIR}/envstat2mrtg
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/etc/mrtg
@@ -60,7 +62,7 @@ do-install:
${INSTALL_DATA} $$FILE ${PREFIX}/share/mrtg; \
done
${INSTALL_DATA} ${WRKDIR}/mrtg.conf.example ${PREFIX}/etc/mrtg
- for FILE in netstat2mrtg sys2mrtg; do \
+ for FILE in netstat2mrtg sys2mrtg envstat2mrtg; do \
${INSTALL_SCRIPT} ${WRKDIR}/$$FILE ${PREFIX}/libexec; \
done
${INSTALL_DATA_DIR} ${PERL5_SITELIB}