ports/143100: [PATCH] net/gutenfetch: use $SUB_FILES to dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sat Jan 23 02:50:03 UTC 2010
>Number: 143100
>Category: ports
>Synopsis: [PATCH] net/gutenfetch: 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 23 02:50:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sevan Janiyan
>Release: FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD newbie.thingamajig-systems.co.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC
>Description:
dont invoke sed manually
Added file(s):
- files/pkg-message.in
Removed file(s):
- pkg-message
Port maintainer (johntabularasa at users.sf.net) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- gutenfetch-1.5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/gutenfetch/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile 22 Aug 2009 00:31:26 -0000 1.12
+++ Makefile 23 Jan 2010 02:40:47 -0000
@@ -23,9 +23,10 @@
MAN1= gutenfetch.1
PLIST_FILES= bin/gutenfetch
+SUB_FILES= pkg-message
post-install:
${STRIP_CMD} ${PREFIX}/bin/gutenfetch
- @${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g'
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message 25 Jul 2004 22:00:00 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-----------------------------------------------------------------
-gutenfetch can be run once to pick out local Project Gutenberg
-servers with the following command line.
-
-# gutenfetch -m
-
-If you are an administrator please copy the generated
-file ~/.gutenfetchrc to %%PREFIX%%/etc/gutenfetchrc. This will
-prevent other users from having to pick out their favorite
-servers.
-
-gutenfetch also performs best with a caching proxy server such
-as wwwoffle or squid. Although, this version will cache fetched
-books in the ~/.libgutenfetch/ directory by default.
-----------------------------------------------------------------
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 23 Jan 2010 02:40:47 -0000
@@ -0,0 +1,15 @@
+----------------------------------------------------------------
+gutenfetch can be run once to pick out local Project Gutenberg
+servers with the following command line.
+
+# gutenfetch -m
+
+If you are an administrator please copy the generated
+file ~/.gutenfetchrc to %%PREFIX%%/etc/gutenfetchrc. This will
+prevent other users from having to pick out their favorite
+servers.
+
+gutenfetch also performs best with a caching proxy server such
+as wwwoffle or squid. Although, this version will cache fetched
+books in the ~/.libgutenfetch/ directory by default.
+----------------------------------------------------------------
--- gutenfetch-1.5.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list