Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2010 06:26:22 GMT
From:      Sevan Janiyan <venture37@geeklan.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142519: [patch] games/bass use $SUB_FILES to dynamically adjust pkg-message
Message-ID:  <201001090626.o096QMd5066414@www.freebsd.org>
Resent-Message-ID: <201001090630.o096U35b039627@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         142519
>Category:       ports
>Synopsis:       [patch] games/bass 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 06:30: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/bass/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	22 Aug 2009 00:22:00 -0000	1.12
+++ Makefile	9 Jan 2010 06:22:03 -0000
@@ -21,7 +21,7 @@
 NO_BUILD=	yes
 
 WRKSRC=		${WRKDIR}/${DISTNAME}
-PKGMESSAGE=	${WRKDIR}/pkg-message
+SUB_FILES=	pkg-message
 
 do-install:
 	${MKDIR} ${DATADIR}
@@ -37,7 +37,6 @@
 .endif
 
 post-install:
-	@${SED} -e "s:%%DATADIR%%:${DATADIR}:g" pkg-message >${PKGMESSAGE}
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	16 Nov 2003 00:50:19 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
- - --------------------------------------------------------------------- -
- - Beneath a Steel Sky (bass) PORT NOTES                ported by atrull -
- - --------------------------------------------------------------------- -
- -  How to Get Playing:                                                  -
- -                                                                       -
- -  i) Type scummvm to start the game interpreter                        -
- -  ii) Click 'Add Game...', Browse to %%DATADIR%%             - 
- -  iii) Click 'Choose' then click 'OK'                                  - 
- -  iv) Select 'Beneath a Steel Sky' from the Menu and click 'Start'     -
- -                                                                       -
- -                                         Have fun, Be Vigilant!        -
- -                                                              - atrull -
- - --------------------------------------------------------------------- -
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 06:22:03 -0000
@@ -0,0 +1,13 @@
+ - --------------------------------------------------------------------- -
+ - Beneath a Steel Sky (bass) PORT NOTES                ported by atrull -
+ - --------------------------------------------------------------------- -
+ -  How to Get Playing:                                                  -
+ -                                                                       -
+ -  i) Type scummvm to start the game interpreter                        -
+ -  ii) Click 'Add Game...', Browse to %%DATADIR%%             - 
+ -  iii) Click 'Choose' then click 'OK'                                  - 
+ -  iv) Select 'Beneath a Steel Sky' from the Menu and click 'Start'     -
+ -                                                                       -
+ -                                         Have fun, Be Vigilant!        -
+ -                                                              - atrull -
+ - --------------------------------------------------------------------- -


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001090626.o096QMd5066414>