From nobody@FreeBSD.org  Thu Jan  7 23:50:12 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6EE6E1065694
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  7 Jan 2010 23:50:12 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 448748FC1C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  7 Jan 2010 23:50:12 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o07NoCCx005168
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 7 Jan 2010 23:50:12 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o07NoCpH005167;
	Thu, 7 Jan 2010 23:50:12 GMT
	(envelope-from nobody)
Message-Id: <201001072350.o07NoCpH005167@www.freebsd.org>
Date: Thu, 7 Jan 2010 23:50:12 GMT
From: Sevan Janiyan <venture37@geeklan.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] devel/qsa use $SUB_FILES to dynamically adjust pkg-message
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         142448
>Category:       ports
>Synopsis:       [patch] devel/qsa use $SUB_FILES to dynamically adjust pkg-message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kde
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 08 00:00:13 UTC 2010
>Closed-Date:    Fri Jan 08 09:21:23 UTC 2010
>Last-Modified:  Fri Jan  8 09:30:01 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->kde 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Jan 8 00:00:25 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142448 
State-Changed-From-To: open->closed 
State-Changed-By: makc 
State-Changed-When: Fri Jan 8 09:21:22 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142448 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/142448: commit references a PR
Date: Fri,  8 Jan 2010 09:20:55 +0000 (UTC)

 makc        2010-01-08 09:20:41 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/qsa            Makefile 
   Added files:
     devel/qsa/files      pkg-message.in 
   Removed files:
     devel/qsa            pkg-message 
   Log:
   use SUB_FILES to dynamically adjust pkg-message
   
   PR:             ports/142448
   Submitted by:   Sevan Janiyan <venture37 at geeklan.co.uk>
   
   Revision  Changes    Path
   1.16      +2 -6      ports/devel/qsa/Makefile
   1.1       +10 -0     ports/devel/qsa/files/pkg-message.in (new)
   1.2       +0 -10     ports/devel/qsa/pkg-message (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
