ports/142621: [PATCH] japanese/ja-WiKicker: use $SUB_FILES to dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sun Jan 10 23:40:02 UTC 2010
>Number: 142621
>Category: ports
>Synopsis: [PATCH] japanese/ja-WiKicker: 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 23:40: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:
There's no need to invoke sed manually, use $SUB_FILES & $SUB_LIST to take care of things
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- ja-WiKicker-0.26.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/wikicker/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile 22 Jul 2009 16:26:46 -0000 1.15
+++ Makefile 10 Jan 2010 23:25:32 -0000
@@ -52,6 +52,8 @@
WIKIPM= ${SITE_PERL}/${PORTNAME}
WIKISCRIPT= wiki.cgi.in
MAN3= WiKicker.3 WiKicker::HTML.3
+SUB_FILES= pkg-message
+SUB_LIST= HostName=${HOST}
post-install:
.if !defined(NOPORTDOCS)
@@ -91,8 +93,6 @@
${SORT} -r | ${SED} -e 's/^/@dirrm /' >>${TMPPLIST}
@${ECHO_MSG} "===> Making PLIST Phase End"
- @${SED} -e 's|%%EXAMPLESDIR%%|${EXAMPLESDIR}|' \
- -e 's|%%HostName%%|${HOST}|' < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
--- ja-WiKicker-0.26.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list