From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 7 23:40:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4AA8106566C for ; Thu, 7 Jan 2010 23:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 65ED08FC18 for ; Thu, 7 Jan 2010 23:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o07Ne23N016215 for ; Thu, 7 Jan 2010 23:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o07Ne22G016214; Thu, 7 Jan 2010 23:40:02 GMT (envelope-from gnats) Resent-Date: Thu, 7 Jan 2010 23:40:02 GMT Resent-Message-Id: <201001072340.o07Ne22G016214@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sevan Janiyan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87E511065670 for ; Thu, 7 Jan 2010 23:36:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 767878FC1A for ; Thu, 7 Jan 2010 23:36:19 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o07NaJH3093161 for ; Thu, 7 Jan 2010 23:36:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o07NaJB7093160; Thu, 7 Jan 2010 23:36:19 GMT (envelope-from nobody) Message-Id: <201001072336.o07NaJB7093160@www.freebsd.org> Date: Thu, 7 Jan 2010 23:36:19 GMT From: Sevan Janiyan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/142447: [patch] devel/mercurial use $SUB_FILES to dynamically adjust pkg-message X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 23:40:02 -0000 >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: