Date: Sat, 9 Jan 2010 06:00:55 GMT From: Sevan Janiyan <venture37@geeklan.co.uk> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/142515: [patch] finance/sql-ledger use $SUB_FILES to dynamically adjust pkg-message Message-ID: <201001090600.o0960tuB044456@www.freebsd.org> Resent-Message-ID: <201001090610.o096A3j1022100@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 142515 >Category: ports >Synopsis: [patch] finance/sql-ledger 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: Sat Jan 09 06:10:03 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/finance/sql-ledger/Makefile,v retrieving revision 1.35 diff -u -r1.35 Makefile --- Makefile 14 Feb 2009 12:46:32 -0000 1.35 +++ Makefile 9 Jan 2010 05:55:45 -0000 @@ -21,17 +21,11 @@ NO_BUILD= yes USE_PERL5= yes WRKSRC= ${WRKDIR}/${PORTNAME} -PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message sql-ledger-httpd.conf post-patch: @${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' \ `${FIND} ${WRKSRC} -name \*.pl` - @${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g' \ - ${FILESDIR}/sql-ledger-httpd.conf.in \ - > ${WRKDIR}/sql-ledger-httpd.conf - @${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g' \ - ${PKGDIR}/pkg-message \ - > ${PKGMESSAGE} do-install: @cd ${WRKDIR} ; \ Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- pkg-message 30 Oct 2005 11:19:13 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -================================================================= - -SQL-Ledger has now been installed. - -To enable Apache web access, add the following to your -%%PREFIX%%/etc/apache/httpd.conf: - - # SQL-Ledger - Include %%PREFIX%%/etc/sql-ledger-httpd.conf - -Enjoy! - -================================================================= 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 9 Jan 2010 05:55:45 -0000 @@ -0,0 +1,13 @@ +================================================================= + +SQL-Ledger has now been installed. + +To enable Apache web access, add the following to your +%%PREFIX%%/etc/apache/httpd.conf: + + # SQL-Ledger + Include %%PREFIX%%/etc/sql-ledger-httpd.conf + +Enjoy! + +================================================================= >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001090600.o0960tuB044456>