diff options
author | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
commit | 6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /www/wwwoffle/Makefile | |
parent | e79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff) | |
download | pkgsrc-6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba.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 'www/wwwoffle/Makefile')
-rw-r--r-- | www/wwwoffle/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile index 3f26e034a7e..55080caac2c 100644 --- a/www/wwwoffle/Makefile +++ b/www/wwwoffle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2001/01/26 05:21:49 hubertf Exp $ +# $NetBSD: Makefile,v 1.24 2001/01/29 11:34:47 wiz Exp $ DISTNAME= wwwoffle-2.6 CATEGORIES= www @@ -17,8 +17,7 @@ HOMEPAGE= http://www.gedanken.demon.co.uk/wwwoffle/ USE_GMAKE= yes NO_CONFIGURE= yes -MESSAGE_FILE= ${WRKDIR}/MESSAGE -PLIST_SRC= ${WRKDIR}/PLIST +PLIST_SUBST+= GTAR=${GTAR} BUILD_DEFS+= USE_INET6 @@ -31,9 +30,6 @@ MAKE_ENV+= LIBRARY="-lnsl -lsocket" post-build: @${SED} -e 's#@PREFIX@#${PREFIX}#g' <${FILESDIR}/wwwoffle.sh \ >${WRKDIR}/wwwoffle.sh - @${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/MESSAGE \ - >${MESSAGE_FILE} - @${SED} -e 's#@GTAR@#${GTAR}#g' <${PKGDIR}/PLIST >${PLIST_SRC} pre-install: ${MKDIR} ${PREFIX}/etc/wwwoffle |