ports/142447: [patch] devel/mercurial use $SUB_FILES to dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Thu Jan 7 23:40:02 UTC 2010
>Number: 142447
>Category: ports
>Synopsis: [patch] devel/mercurial 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: Thu Jan 07 23:40:01 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/devel/mercurial/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile 4 Jan 2010 14:20:12 -0000 1.39
+++ Makefile 7 Jan 2010 23:31:27 -0000
@@ -59,10 +59,7 @@
MAN1= hg.1
MAN5= hgignore.5 hgrc.5
-PKGMESSAGE= ${WRKDIR}/MESSAGE
-
-post-build:
- @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
+SUB_FILES= pkg-message
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1/
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message 11 May 2006 17:30:00 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,7 +0,0 @@
-====
-Note that we now install a few more files in %%PREFIX%%/share/mercurial:
-- shell completion scripts (bash, tcsh and zsh)
-- CGI scripts for web access to repositories
- see http://www.selenic.com/mercurial/wiki/index.cgi/CGI_Install
-- various documentation files
-====
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 7 Jan 2010 23:31:27 -0000
@@ -0,0 +1,7 @@
+====
+Note that we now install a few more files in %%PREFIX%%/share/mercurial:
+- shell completion scripts (bash, tcsh and zsh)
+- CGI scripts for web access to repositories
+ see http://www.selenic.com/mercurial/wiki/index.cgi/CGI_Install
+- various documentation files
+====
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list