aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2010-01-12 15:04:04 +0000
committerLars Thegler <lth@FreeBSD.org>2010-01-12 15:04:04 +0000
commitf5c47994e60db277a166bcc8c2d3bee04a6c18c0 (patch)
tree64854fdc5044150443019bee4a48f485fe1977e1 /finance
parent77852d1edaa57a9a4a761fb1c110fffcd542af68 (diff)
downloadports-f5c47994e60db277a166bcc8c2d3bee04a6c18c0.tar.gz
ports-f5c47994e60db277a166bcc8c2d3bee04a6c18c0.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/sql-ledger/Makefile8
-rw-r--r--finance/sql-ledger/files/pkg-message.in (renamed from finance/sql-ledger/pkg-message)0
2 files changed, 1 insertions, 7 deletions
diff --git a/finance/sql-ledger/Makefile b/finance/sql-ledger/Makefile
index f46393826125..8abf6e702c1f 100644
--- a/finance/sql-ledger/Makefile
+++ b/finance/sql-ledger/Makefile
@@ -21,17 +21,11 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
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} ; \
diff --git a/finance/sql-ledger/pkg-message b/finance/sql-ledger/files/pkg-message.in
index b53016a85140..b53016a85140 100644
--- a/finance/sql-ledger/pkg-message
+++ b/finance/sql-ledger/files/pkg-message.in