Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2010 05:50:42 GMT
From:      Sevan Janiyan <venture37@geeklan.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142514: [patch] emulators/vMac use $SUB_FILES to dynamically adjust pkg-message
Message-ID:  <201001090550.o095ogY4033524@www.freebsd.org>
Resent-Message-ID: <201001090600.o0960Bdt014025@freefall.freebsd.org>

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

>Number:         142514
>Category:       ports
>Synopsis:       [patch] emulators/vMac 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:00:10 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/emulators/vMac/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	19 Apr 2008 17:48:37 -0000	1.12
+++ Makefile	9 Jan 2010 05:45:05 -0000
@@ -17,9 +17,10 @@
 COMMENT=	Emulates a MacPlus machine!  Runs MacOS versions up to 7.5.5
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_GMAKE= 	yes
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 USE_XORG=	x11 ice sm xext
+SUB_FILES=	pkg-message
 
 pre-patch:
 	(cd ${WRKSRC} && ${SH} ${FILESDIR}/dos2unx gemulator.c)
@@ -35,6 +36,6 @@
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.rom ${DOCSDIR}
 .endif
-	@${CAT} ${PKGMESSAGE} | ${SED} -e s:/usr/local:${PREFIX}:
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	29 Aug 1999 05:51:19 -0000	1.1.1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,8 +0,0 @@
- - --------------------------------------------------------------------- -
- -  You need to obtain a vMac ROM file to use vMac.  Instructions are    -
- -  found in /usr/local/share/doc/vMac/README.rom.                       -
- -                                                                       -
- -  Also reading /usr/local/share/doc/vMac/README is a good idea         -
- -                                                                       -
- -  vMac Website: http://www.vmac.org/                                   -
- - --------------------------------------------------------------------- -
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 05:45:05 -0000
@@ -0,0 +1,8 @@
+ - --------------------------------------------------------------------- -
+ -  You need to obtain a vMac ROM file to use vMac.  Instructions are    -
+ -  found in %%DOCSDIR%%/README.rom.                       -
+ -                                                                       -
+ -  Also reading %%DOCSDIR%%/README is a good idea         -
+ -                                                                       -
+ -  vMac Website: http://www.vmac.org/                                   -
+ - --------------------------------------------------------------------- -


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



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