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 /games/rollemup | |
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 '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 + +====================================================================== |