diff options
-rw-r--r-- | net/mrtg/Makefile | 6 | ||||
-rw-r--r-- | net/mrtg/pkg/MESSAGE | 9 |
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/. ============================================================================= |