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 /games/rollemup | |
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 'games/rollemup')
-rw-r--r-- | games/rollemup/Makefile | 8 | ||||
-rw-r--r-- | games/rollemup/pkg/MESSAGE | 5 |
2 files changed, 7 insertions, 6 deletions
diff --git a/games/rollemup/Makefile b/games/rollemup/Makefile index e68cdc60a84..103147fb2fa 100644 --- a/games/rollemup/Makefile +++ b/games/rollemup/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2000/09/08 13:34:23 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2001/01/29 11:34:27 wiz Exp $ # DISTNAME= Rollemup @@ -26,10 +26,9 @@ NO_SRC_ON_CDROM=${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} NO_SRC_ON_FTP= ${RESTRICTED} -MESSAGE_FILE= ${WRKDIR}/MESSAGE - PLIST_SRC= ${WRKDIR}/PLIST.src GAMES_DIR= share/games +MESSAGE_SUBST+= GAMES_DIR=${GAMES_DIR} ONLY_FOR_PLATFORM= *-*-i386 @@ -45,9 +44,6 @@ do-build: @${SED} -e 's|$${PREFIX}|${PREFIX}|g' \ -e 's|$${GAMES_DIR}|${GAMES_DIR}|g' \ ${FILESDIR}/rollemup.sh > ${WRKDIR}/rollemup - @${SED} -e 's|$${PREFIX}|${PREFIX}|g' \ - -e 's|$${GAMES_DIR}|${GAMES_DIR}|g' \ - ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} @${SED} -e 's|$${PREFIX}|${PREFIX}|g' ${FILESDIR}/README.Rollemup \ > ${WRKDIR}/README.Rollemup diff --git a/games/rollemup/pkg/MESSAGE b/games/rollemup/pkg/MESSAGE index 65ecff2cdaf..df505ce37c8 100644 --- a/games/rollemup/pkg/MESSAGE +++ b/games/rollemup/pkg/MESSAGE @@ -1 +1,6 @@ +====================================================================== +$NetBSD: MESSAGE,v 1.5 2001/01/29 11:34:28 wiz Exp $ + Please read ${PREFIX}/${GAMES_DIR}/Rollemup/README.Rollemup + +====================================================================== |