diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2010-02-01 10:18:37 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2010-02-01 10:18:37 +0800 |
commit | ec4a29ac693fcb8cc34cc59810c74414fff008b2 (patch) | |
tree | 8585749b006800c1cf8e56d8117a524dcf84bda4 /games | |
parent | 5c7b5af18fbf2ab4ec792a85c9be2a8acf343667 (diff) | |
download | freebsd-ports-gnome-ec4a29ac693fcb8cc34cc59810c74414fff008b2.tar.gz freebsd-ports-gnome-ec4a29ac693fcb8cc34cc59810c74414fff008b2.tar.zst freebsd-ports-gnome-ec4a29ac693fcb8cc34cc59810c74414fff008b2.zip |
- use $SUB_FILES t dynamically adjust pkg-message
PR: ports/142531
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Approved by: maintainer timeout (christoph.mallon@gmx.de; > 2 weeks)
Diffstat (limited to 'games')
-rw-r--r-- | games/jaggedalliance2/Makefile | 3 | ||||
-rw-r--r-- | games/jaggedalliance2/files/pkg-message.in (renamed from games/jaggedalliance2/pkg-message) | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/games/jaggedalliance2/Makefile b/games/jaggedalliance2/Makefile index b801405e845d..3e8586a54f42 100644 --- a/games/jaggedalliance2/Makefile +++ b/games/jaggedalliance2/Makefile @@ -27,6 +27,7 @@ NO_CDROM= License only permits non-commerical use NO_PACKAGE= Language of the datafiles must be hardcoded in the game binary WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +SUB_FILES= pkg-message OPTIONS= DUTCH "Compile for Dutch version (choose ONE)" Off \ ENGLISH "Compile for English version (choose ONE)" Off \ @@ -64,7 +65,7 @@ MAN6= ja2.6 post-install: @${MKDIR} ${DATADIR}/Data/TILECACHE - @${SED} -e 's|$${DATADIR}|${DATADIR}|' ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} lowercase: @for i in \ diff --git a/games/jaggedalliance2/pkg-message b/games/jaggedalliance2/files/pkg-message.in index 512eb7d47673..93ea9d2911e9 100644 --- a/games/jaggedalliance2/pkg-message +++ b/games/jaggedalliance2/files/pkg-message.in @@ -3,9 +3,9 @@ This Jagged Alliance 2 port requires data files from the original game CD and installation. Copy the following files: - Put all *.slf files into ${DATADIR}/Data. + Put all *.slf files into %%DATADIR%%/Data. Put all *.jsd and *.sti files from the TILECACHE directory into - ${DATADIR}/Data/TILECACHE. + %%DATADIR%%/Data/TILECACHE. All filenames must be lowercase! After copying you can use "make lowercase" to rename all files. |