summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz>2000-09-03 12:50:42 +0000
committerwiz <wiz>2000-09-03 12:50:42 +0000
commit6b388b2b6a8a5939050cc28df00eb33f4d875ea5 (patch)
tree726daee2710bef175d4dc3d7f700db3f0b10a0ae /net
parent10eff314b6d9bfaf2bb78dae3a6cdbbc7b5b672a (diff)
downloadpkgsrc-6b388b2b6a8a5939050cc28df00eb33f4d875ea5.tar.gz
Use actual ${PREFIX} in MESSAGE
Diffstat (limited to 'net')
-rw-r--r--net/mrtg/Makefile6
-rw-r--r--net/mrtg/pkg/MESSAGE9
2 files changed, 9 insertions, 6 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile
index 5de309fbb90..894d24b021a 100644
--- a/net/mrtg/Makefile
+++ b/net/mrtg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2000/08/27 07:11:16 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2000/09/03 12:50:42 wiz Exp $
# FreeBSD Id: Makefile,v 1.7 1997/12/16 19:42:17 vanilla Exp
#
@@ -33,6 +33,8 @@ CONFIGURE_ARGS+= --with-png-lib=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-png-inc=${LOCALBASE}/include
.endif
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
+
post-build:
${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/mrtg.conf.example \
>${WRKDIR}/mrtg.conf.example
@@ -40,6 +42,8 @@ post-build:
>${WRKDIR}/netstat2mrtg
${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/sys2mrtg \
>${WRKDIR}/sys2mrtg
+ ${SED} s#@PREFIX@#${PREFIX}#g <${PKGDIR}/MESSAGE \
+ >${MESSAGE_FILE}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/etc/mrtg
diff --git a/net/mrtg/pkg/MESSAGE b/net/mrtg/pkg/MESSAGE
index 441477c7477..6431d06a8bf 100644
--- a/net/mrtg/pkg/MESSAGE
+++ b/net/mrtg/pkg/MESSAGE
@@ -1,6 +1,6 @@
=============================================================================
-$NetBSD: MESSAGE,v 1.4 1999/05/22 10:45:33 rh Exp $
+$NetBSD: MESSAGE,v 1.5 2000/09/03 12:50:42 wiz Exp $
The Multi Router Traffic Grapher is now installed. Do note that three
programs have changed names to more readily reflect their MRTG-specific
@@ -10,11 +10,10 @@ function; make sure to prefix them with "mrtg":
cfgmaker_ip -> mrtgcfgmaker_ip
indexmaker -> mrtgindexmaker
-The documentation can be found at $PREFIX/share/doc/mrtg/manual.html
-(where $PREFIX is typically /usr/pkg); there is a .txt version there
-as well.
+The documentation can be found at @PREFIX@/share/doc/mrtg/manual.html;
+there is a .txt version there as well.
A sample config file collecting various datas from a NetBSD machine can
-be found in $PREFIX/etc/mrtg/.
+be found in @PREFIX@/etc/mrtg/.
=============================================================================