diff options
author | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
commit | b979f7222ad9bade13f010cd27e5bc6afab1681c (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /net/mrtg/Makefile | |
parent | 6a13219ca89e5dae86f27159ff86006058c06859 (diff) | |
download | pkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.tar.gz |
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
Diffstat (limited to 'net/mrtg/Makefile')
-rw-r--r-- | net/mrtg/Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile index aee8810ac10..4969e22c458 100644 --- a/net/mrtg/Makefile +++ b/net/mrtg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2000/10/23 13:47:53 bouyer Exp $ +# $NetBSD: Makefile,v 1.21 2001/01/29 11:34:36 wiz Exp $ # FreeBSD Id: Makefile,v 1.7 1997/12/16 19:42:17 vanilla Exp # @@ -33,8 +33,6 @@ 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 @@ -42,8 +40,6 @@ 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 |