Date: Mon, 11 Jan 2010 23:03:51 GMT From: Sevan Janiyan <venture37@geeklan.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/142730: [PATCH] mail/couriergraph: use $SUB_FILES to adjust pkg-message dynamically Message-ID: <201001112303.o0BN3pQl002621@newbie.thingamajig-systems.co.uk> Resent-Message-ID: <201001112310.o0BNA4lX061347@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 142730 >Category: ports >Synopsis: [PATCH] mail/couriergraph: use $SUB_FILES to adjust pkg-message dynamically >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: Mon Jan 11 23:10:04 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 (kiwi@oav.net) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- couriergraph-20060202_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/couriergraph/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 24 Jun 2008 12:34:51 -0000 1.6 +++ Makefile 11 Jan 2010 23:03:05 -0000 @@ -31,8 +31,7 @@ STARTUP_FILE= ${PREFIX}/etc/rc.d/couriergraph.sh -MSG_FILE= ${PKGDIR}/pkg-message -PKGMESSAGE= ${WRKSRC}/pkg-message +SUB_FILES= pkg-message pre-everything:: @${ECHO_MSG} @@ -46,7 +45,6 @@ post-patch: @${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/couriergraph.cgi @${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/couriergraph.pl - @${SED} 's|%%DATADIR%%|${DATADIR}|g' ${MSG_FILE} > ${PKGMESSAGE} do-install: ${MKDIR} ${PREFIX}/www/cgi-bin Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- pkg-message 28 Dec 2005 20:51:50 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,8 +0,0 @@ -Make sure this script should be invoked with privilege to read -/var/log/maillog. - - -*** WARNING *** - -The rrd database has been moved to %%DATADIR%%. -If you have previous ones, please move them to %%DATADIR%%. 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 11 Jan 2010 23:03:05 -0000 @@ -0,0 +1,8 @@ +Make sure this script should be invoked with privilege to read +/var/log/maillog. + + +*** WARNING *** + +The rrd database has been moved to %%DATADIR%%. +If you have previous ones, please move them to %%DATADIR%%. --- couriergraph-20060202_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?201001112303.o0BN3pQl002621>