ports/142531: [patch] games/jaggedalliance2 use $SUB_FILES t dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sat Jan 9 17:40:04 UTC 2010
>Number: 142531
>Category: ports
>Synopsis: [patch] games/jaggedalliance2 use $SUB_FILES t dynamically adjust pkg-message
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 09 17:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sevan Janiyan
>Release:
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/games/jaggedalliance2/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile 14 Jun 2009 08:41:39 -0000 1.13
+++ Makefile 9 Jan 2010 17:29:53 -0000
@@ -27,6 +27,7 @@
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 @@
post-install:
@${MKDIR} ${DATADIR}/Data/TILECACHE
- @${SED} -e 's|$${DATADIR}|${DATADIR}|' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
lowercase:
@for i in \
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message 24 Jul 2007 10:41:31 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-==========================================================================
-
- 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 *.jsd and *.sti files from the TILECACHE directory into
- ${DATADIR}/Data/TILECACHE.
- All filenames must be lowercase!
- After copying you can use "make lowercase" to rename all files.
-
- When a user starts the game for the first time a file ~/.ja2/ja2.ini
- is created. In there the path to the data files has to be specified at
- the line "data_dir = ...".
-
- Enjoy!
-
-==========================================================================
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in 9 Jan 2010 17:29:53 -0000
@@ -0,0 +1,18 @@
+==========================================================================
+
+ 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 *.jsd and *.sti files from the TILECACHE directory into
+ %%DATADIR%%/Data/TILECACHE.
+ All filenames must be lowercase!
+ After copying you can use "make lowercase" to rename all files.
+
+ When a user starts the game for the first time a file ~/.ja2/ja2.ini
+ is created. In there the path to the data files has to be specified at
+ the line "data_dir = ...".
+
+ Enjoy!
+
+==========================================================================
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list