ports/143147: [PATCH] net/proxy-suite: use $SUB_FILES to update pkg-message

Sevan Janiyan venture37 at geeklan.co.uk
Sun Jan 24 07:00:08 UTC 2010


>Number:         143147
>Category:       ports
>Synopsis:       [PATCH] net/proxy-suite: use $SUB_FILES to update 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 24 07:00:07 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:
no need to invoke sed manually

Added file(s):
- files/pkg-message.in

Removed file(s):
- pkg-message

Port maintainer (thomas at cuivre.fr.eu.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- proxy-suite-1.9.2.4_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/proxy-suite/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile	20 Aug 2008 00:57:03 -0000	1.24
+++ Makefile	24 Jan 2010 06:53:35 -0000
@@ -57,6 +57,7 @@
 
 MAN8=		ftp-proxy.8
 MAN5=		ftp-proxy.conf.5
+SUB_FILES=	pkg-message
 
 .include <bsd.port.pre.mk>
 
@@ -64,6 +65,6 @@
 	@${STRIP_CMD} ${WRKSRC}/ftp-proxy/ftp-proxy
 
 post-install:
-	@${SED} 's|PREFIX|${PREFIX}|' ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	23 Mar 2004 08:56:56 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,6 +0,0 @@
-
-This port provides a configuration file at
-
-PREFIX/etc/proxy-suite/ftp-proxy.conf
-
-Edit to fit your needs.
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	24 Jan 2010 06:53:35 -0000
@@ -0,0 +1,6 @@
+
+This port provides a configuration file at
+
+%%ETCDIR%%/ftp-proxy.conf
+
+Edit to fit your needs.
--- proxy-suite-1.9.2.4_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list