Date: Sun, 24 Jan 2010 06:18:04 GMT From: Sevan Janiyan <venture37@geeklan.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gedimitr@auth.gr Subject: ports/143143: [PATCH] net/ng_daphne: use $SUB_FILES to dynamically update pkg-message Message-ID: <201001240618.o0O6I4lX092977@newbie.thingamajig-systems.co.uk> Resent-Message-ID: <201001240630.o0O6U14M064695@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143143 >Category: ports >Synopsis: [PATCH] net/ng_daphne: use $SUB_FILES to dynamically 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 06: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: there's no need to invoke sed manually Added file(s): - files/pkg-message.in Removed file(s): - pkg-message Port maintainer (gedimitr@auth.gr) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- ng_daphne-1.0_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/ng_daphne/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- Makefile 7 Oct 2007 02:56:19 -0000 1.7 +++ Makefile 24 Jan 2010 06:16:48 -0000 @@ -25,6 +25,7 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-ng_daphne.c PLIST_FILES= lib/ng_daphne.ko PORTDOCS= README +SUB_FILES= pkg-message do-install: ${INSTALL_KLD} ${WRKSRC}/ng_daphne.ko ${PREFIX}/lib @@ -34,6 +35,6 @@ .endif post-install: - @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- pkg-message 25 May 2004 09:45:35 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,4 +0,0 @@ - -The ng_daphne.ko module has been installed to %%PREFIX%%/lib. You may -wish to add this to your kern.module_path sysctl or copy it to -another location. 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 06:16:48 -0000 @@ -0,0 +1,4 @@ + +The ng_daphne.ko module has been installed to %%PREFIX%%/lib. You may +wish to add this to your kern.module_path sysctl or copy it to +another location. --- ng_daphne-1.0_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001240618.o0O6I4lX092977>