aboutsummaryrefslogtreecommitdiff
path: root/games/jaggedalliance2
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-01 02:18:37 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-01 02:18:37 +0000
commit56a2b74b2882bf2affd4938638b88f177e941610 (patch)
tree6cf7ea218e90e5093e043e5b7b71491ef3235513 /games/jaggedalliance2
parent4635dfdee241d5bc644be7c5970007a0cb0b86e8 (diff)
downloadports-56a2b74b2882bf2affd4938638b88f177e941610.tar.gz
ports-56a2b74b2882bf2affd4938638b88f177e941610.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)
Notes
Notes: svn path=/head/; revision=248996
Diffstat (limited to 'games/jaggedalliance2')
-rw-r--r--games/jaggedalliance2/Makefile3
-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.