Date: Thu, 7 Jan 2010 23:01:34 GMT From: Sevan Janiyan <venture37@geeklan.co.uk> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/142443: [patch] comms/bforce use $SUB_FILES to dynamically adjust pkg-message Message-ID: <201001072301.o07N1YAJ069637@www.freebsd.org> Resent-Message-ID: <201001072310.o07NA1U1088680@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 142443 >Category: ports >Synopsis: [patch] comms/bforce 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:10: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/comms/bforce/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 9 Nov 2005 22:58:41 -0000 1.5 +++ Makefile 7 Jan 2010 22:56:36 -0000 @@ -20,6 +20,7 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -fno-builtin" WRKSRC= ${WRKDIR}/${DISTNAME}/source +SUB_FILES= pkg-message do-install: ${MKDIR} ${PREFIX}/etc/bforce @@ -32,6 +33,6 @@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfindex ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfstat ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/nlookup ${PREFIX}/bin - @${SED} "s|%%PREFIX%%|${PREFIX}|" ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- pkg-message 19 Feb 2003 10:30:22 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,7 +0,0 @@ - -################################################################ - -Please don't forget to copy and edit configuration files found -in %%PREFIX%%/etc/bforce. - -################################################################ 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 22:56:36 -0000 @@ -0,0 +1,7 @@ + +################################################################ + +Please don't forget to copy and edit configuration files found +in %%PREFIX%%/etc/bforce. + +################################################################ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001072301.o07N1YAJ069637>