ports/143152: [PATCH] net/v6eval: use $SUB_FILES to update pkg-message

Sevan Janiyan venture37 at geeklan.co.uk
Sun Jan 24 08:30:03 UTC 2010


>Number:         143152
>Category:       ports
>Synopsis:       [PATCH] net/v6eval: 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 08:30:01 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 (Yukiyo.Akisada at jp.yokogawa.com) is cc'd.

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

--- v6eval-3.0.1_2,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/v6eval/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- Makefile	29 Dec 2009 10:25:53 -0000	1.20
+++ Makefile	24 Jan 2010 08:16:42 -0000
@@ -26,10 +26,11 @@
 MAN1=		pktctl.1.gz pktsend.1.gz
 MAN3=		V6evalRemote.3 V6evalTool.3
 MAKE_JOBS_UNSAFE=	yes
+SUB_FILES=	pkg-message
 
 .include <bsd.port.pre.mk>
 
 post-install:
-	@${SED} -e 's#@LOCALBASE@#${LOCALBASE}#' ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	9 Jan 2003 18:34:40 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,5 +0,0 @@
-===============================================
-
-  Please read @LOCALBASE@/v6eval/doc/00README.
-
-===============================================
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 08:16:42 -0000
@@ -0,0 +1,5 @@
+===============================================
+
+  Please read %%PREFIX%%/v6eval/doc/00README.
+
+===============================================
--- v6eval-3.0.1_2,1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list