ports/142536: [patch] games/zangband use $SUB_FILES to dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sat Jan 9 18:40:04 UTC 2010
>Number: 142536
>Category: ports
>Synopsis: [patch] games/zangband use $SUB_FILES to 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 18:40:03 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/zangband/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile 20 Aug 2008 00:56:44 -0000 1.26
+++ Makefile 9 Jan 2010 18:29:05 -0000
@@ -25,8 +25,9 @@
NO_CDROM= Possible copyright infringement
WRKSRC= ${WRKDIR}/${PORTNAME}
-PKGMESSAGE= ${WRKDIR}/MESSAGE
PLIST_SUB+= ANGBANDBIN=${ANGBANDBIN} ANGBANDLIB=${ANGBANDLIB}
+SUB_FILES= pkg-message
+SUB_LIST= ANGBANDBIN=${ANGBANDBIN} ANGBANDLIB=${ANGBANDLIB}
SHAREOWN= games
SHAREGRP= games
Index: files/MESSAGE.in
===================================================================
RCS file: files/MESSAGE.in
diff -N files/MESSAGE.in
--- files/MESSAGE.in 24 Aug 2001 13:06:50 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
- ============================================================================
- To reduce the number of term windows opened, use -n:
- %%PREFIX%%/%%ANGBANDBIN%% -- -n2
-
- The binary will changed its owner to 'games:games' and added SETGID bit.
- Then players can record their score to public score files.
- You can set fonts by using environment variables such as ANGBAND_X11_FONT,
- ANGBAND_X11_FONT_1 (the number represents sub-window id).
-
- WARNING!
- You now have the following world-writable (mode 1777) directories:
- %%PREFIX%%/%%ANGBANDLIB%%/save
- %%PREFIX%%/%%ANGBANDLIB%%/user
- ============================================================================
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 18:29:05 -0000
@@ -0,0 +1,14 @@
+ ============================================================================
+ To reduce the number of term windows opened, use -n:
+ %%PREFIX%%/%%ANGBANDBIN%% -- -n2
+
+ The binary will changed its owner to 'games:games' and added SETGID bit.
+ Then players can record their score to public score files.
+ You can set fonts by using environment variables such as ANGBAND_X11_FONT,
+ ANGBAND_X11_FONT_1 (the number represents sub-window id).
+
+ WARNING!
+ You now have the following world-writable (mode 1777) directories:
+ %%PREFIX%%/%%ANGBANDLIB%%/save
+ %%PREFIX%%/%%ANGBANDLIB%%/user
+ ============================================================================
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list