From nobody@FreeBSD.org  Sun Jan 10 00:49:17 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 200E5106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Jan 2010 00:49:17 +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 E8EB78FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Jan 2010 00:49:16 +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 o0A0nGm9031046
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Jan 2010 00:49:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o0A0nGxW031045;
	Sun, 10 Jan 2010 00:49:16 GMT
	(envelope-from nobody)
Message-Id: <201001100049.o0A0nGxW031045@www.freebsd.org>
Date: Sun, 10 Jan 2010 00:49:16 GMT
From: Sevan Janiyan <venture37@geeklan.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] graphics/rubyphoto use $SUB_FILES to dynamically adjust pkg-message
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         142556
>Category:       ports
>Synopsis:       [patch] graphics/rubyphoto use $SUB_FILES to dynamically adjust pkg-message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 10 00:50:00 UTC 2010
>Closed-Date:    Tue Jan 12 03:39:17 UTC 2010
>Last-Modified:  Tue Jan 12 03:40:10 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/graphics/rubyphoto/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	16 Jun 2009 15:53:12 -0000	1.9
+++ Makefile	10 Jan 2010 00:44:22 -0000
@@ -23,6 +23,7 @@
 
 USE_RUBY=	yes
 RUBY_SHEBANG_FILES=	ruby_photo.rb
+SUB_FILES=	pkg-message
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/abspath.rb ${RUBY_SITELIBDIR}
@@ -57,6 +58,6 @@
 	${INSTALL_DATA} ${WRKSRC}/xml-generators/* ${DATADIR}/xml-generators
 
 post-install:
-	@${SED} -e "s#%%DATADIR%%#${DATADIR}#" ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	20 Jun 2003 13:24:36 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
----------------------------------------------------------
-* Copy %%DATADIR%%/templates/* to
-  ~/.rubyphoto-templates.
-* Copy %%DATADIR%%/sample_input/config.xml
-  to ~/.rubyphoto-conf and edit it if you wish to deviate
-  from the default settings.
-* Copy rubyphoto.css and the granitesm_*.gif icons from
-  %%DATADIR%%/sample_input/ to your
-  top-level photo directory. In this directory, create
-  a file called .rubyphoto-ignore which contains 
-  granitesm_*.gif.
----------------------------------------------------------
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	10 Jan 2010 00:44:22 -0000
@@ -0,0 +1,12 @@
+---------------------------------------------------------
+* Copy %%DATADIR%%/templates/* to
+  ~/.rubyphoto-templates.
+* Copy %%DATADIR%%/sample_input/config.xml
+  to ~/.rubyphoto-conf and edit it if you wish to deviate
+  from the default settings.
+* Copy rubyphoto.css and the granitesm_*.gif icons from
+  %%DATADIR%%/sample_input/ to your
+  top-level photo directory. In this directory, create
+  a file called .rubyphoto-ignore which contains 
+  granitesm_*.gif.
+---------------------------------------------------------


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ruby 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jan 10 00:50:15 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142556 
Responsible-Changed-From-To: ruby->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Sun Jan 10 19:24:41 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142556 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Tue Jan 12 03:39:16 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/142556: commit references a PR
Date: Tue, 12 Jan 2010 03:37:25 +0000 (UTC)

 pgollucci    2010-01-12 03:37:17 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/rubyphoto   Makefile 
   Added files:
     graphics/rubyphoto/files pkg-message.in 
   Removed files:
     graphics/rubyphoto   pkg-message 
   Log:
   SUB_FILES += pkg-message
   
   PR:             ports/142556
   Submitted by:   Sevan Janiyan <venture37@geeklan.co.uk>
   
   Revision  Changes    Path
   1.10      +2 -1      ports/graphics/rubyphoto/Makefile
   1.1       +12 -0     ports/graphics/rubyphoto/files/pkg-message.in (new)
   1.2       +0 -12     ports/graphics/rubyphoto/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:
