ports/142448: [patch] devel/qsa use $SUB_FILES to dynamically adjust pkg-message

Sevan Janiyan venture37 at geeklan.co.uk
Fri Jan 8 00:00:14 UTC 2010


>Number:         142448
>Category:       ports
>Synopsis:       [patch] devel/qsa 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:   Fri Jan 08 00:00:13 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/devel/qsa/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	19 Aug 2009 09:15:58 -0000	1.15
+++ Makefile	7 Jan 2010 23:45:07 -0000
@@ -32,7 +32,7 @@
 		PATH=${WRKSRC}/bin:$$PATH
 ALL_TARGET=	sub-src
 
-PKGMESSAGE=	${WRKDIR}/message
+SUB_FILES=	pkg-message
 
 OPTIONS=	IDE "Enable the QSA Workbench (embedded scripting IDE)" on
 
@@ -54,10 +54,6 @@
 # Disconnect a broken example from the build
 	@${REINPLACE_CMD} -e 's|enums||g' ${WRKSRC}/examples/examples.pro
 
-post-build:
-	@${CAT} ${PKGDIR}/pkg-message \
-		| ${SED} -e 's,%%PREFIX%%,${PREFIX},g' > ${PKGMESSAGE}
-
 do-install:
 	@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
 	Makefile.qsa ${INSTALL_TARGET})
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	2 Sep 2004 16:16:57 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,10 +0,0 @@
-
-To add the QSA documentation to your QT-Assistant's profile, execute
-
-assistant -addContentfile %%PREFIX%%/share/doc/qsa/html/*.xml to add the docs
-
-and
-
-assistant -removeContentfile %%PREFIX%%/share/doc/qsa/html/*.xml to remove them
-
-
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	7 Jan 2010 23:45:07 -0000
@@ -0,0 +1,10 @@
+
+To add the QSA documentation to your QT-Assistant's profile, execute
+
+assistant -addContentfile %%PREFIX%%/share/doc/qsa/html/*.xml to add the docs
+
+and
+
+assistant -removeContentfile %%PREFIX%%/share/doc/qsa/html/*.xml to remove them
+
+


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



More information about the freebsd-ports-bugs mailing list