ports/142556: [patch] graphics/rubyphoto use $SUB_FILES to dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sun Jan 10 00:50:01 UTC 2010
>Number: 142556
>Category: ports
>Synopsis: [patch] graphics/rubyphoto 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: Sun Jan 10 00:50:00 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/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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list