ports/142514: [patch] emulators/vMac use $SUB_FILES to dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sat Jan 9 06:00:11 UTC 2010
>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:
More information about the freebsd-ports-bugs
mailing list