From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 24 15:20:06 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 5A578106568F for ; Sun, 24 Jan 2010 15:20:06 +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 1B8F58FC13 for ; Sun, 24 Jan 2010 15:20:06 +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 o0OFK530058722 for ; Sun, 24 Jan 2010 15:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0OFK56d058721; Sun, 24 Jan 2010 15:20:05 GMT (envelope-from gnats) Resent-Date: Sun, 24 Jan 2010 15:20:05 GMT Resent-Message-Id: <201001241520.o0OFK56d058721@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 E809F1065692 for ; Sun, 24 Jan 2010 15:19:23 +0000 (UTC) (envelope-from sevan@newbie.thingamajig-systems.co.uk) Received: from newbie.thingamajig-systems.co.uk (newbie.thingamajig-systems.co.uk [93.97.185.103]) by mx1.freebsd.org (Postfix) with ESMTP id 5F3EA8FC19 for ; Sun, 24 Jan 2010 15:19:22 +0000 (UTC) Received: from newbie.thingamajig-systems.co.uk (localhost [127.0.0.1]) by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3) with ESMTP id o0OFFZOE018746; Sun, 24 Jan 2010 15:15:35 GMT (envelope-from sevan@newbie.thingamajig-systems.co.uk) Received: (from root@localhost) by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3/Submit) id o0OFFZGx018745; Sun, 24 Jan 2010 15:15:35 GMT (envelope-from sevan) Message-Id: <201001241515.o0OFFZGx018745@newbie.thingamajig-systems.co.uk> Date: Sun, 24 Jan 2010 15:15:35 GMT From: Sevan Janiyan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: janos.mohacsi@bsd.hu Subject: ports/143168: [PATCH] net-mgmt/aspathtree: 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: Sun, 24 Jan 2010 15:20:06 -0000 >Number: 143168 >Category: ports >Synopsis: [PATCH] net-mgmt/aspathtree: 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 24 15:20:05 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 (janos.mohacsi@bsd.hu) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- aspathtree-4.2_3.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net-mgmt/aspathtree/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile 18 May 2008 14:00:50 -0000 1.8 +++ Makefile 24 Jan 2010 15:14:21 -0000 @@ -23,7 +23,7 @@ NO_BUILD= yes USE_PERL5= yes SCRIPTS_ENV+= PERL5=${PERL5} -PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message CONFIG_FILES= ASpath-tree.config ICON_FILES= bnew.gif bold.gif e.gif h.gif l.gif p.gif t.gif v.gif LIB_FILES= bgp-tree-changes.pl bgp-tree.pl create-homepage.pl elaborate-aspaths.pl getbgptable.pl history.pl ipv6prefix.pl odd-as.pl odd-routes.pl route-stability.pl utility.pl ASmain.pl @@ -68,7 +68,6 @@ .endif post-install: - @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${.CURDIR}/pkg-message >${PKGMESSAGE} .if !defined(BATCH) @${ECHO} @${CAT} ${PKGMESSAGE} Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- pkg-message 27 Apr 2003 01:34:15 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,6 +0,0 @@ -For to configuration information please look at -%%PREFIX%%/share/doc/aspathtree/readme.txt. - -Copy %%PREFIX%%/etc/ASpath-tree.config.dist to -%%PREFIX%%/etc/ASpath-tree.config -and modify accordingly to your environment. 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 15:14:21 -0000 @@ -0,0 +1,6 @@ +For to configuration information please look at +%%DOCSDIR%%/readme.txt. + +Copy %%PREFIX%%/etc/ASpath-tree.config.dist to +%%PREFIX%%/etc/ASpath-tree.config +and modify accordingly to your environment. --- aspathtree-4.2_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: