summaryrefslogtreecommitdiff
path: root/finance/sql-ledger
diff options
context:
space:
mode:
Diffstat (limited to 'finance/sql-ledger')
-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