aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-17 21:02:44 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-17 21:02:44 +0800
commitdc9379c24d859216f43bd51c29abe5947d45a2ea (patch)
treed5a98ace0941a6e253e783e6104bd5b103c180c6 /finance
parent3287693a7f17ed11cba47f162f0b369cfadf2d5f (diff)
downloadfreebsd-ports-gnome-dc9379c24d859216f43bd51c29abe5947d45a2ea.tar.gz
freebsd-ports-gnome-dc9379c24d859216f43bd51c29abe5947d45a2ea.tar.zst
freebsd-ports-gnome-dc9379c24d859216f43bd51c29abe5947d45a2ea.zip
- Add NO_ARCH
- Fix shebangs - Simplify patching - Unsilence installation
Diffstat (limited to 'finance')
-rw-r--r--finance/ledgersmb12/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/finance/ledgersmb12/Makefile b/finance/ledgersmb12/Makefile
index 3859110a1988..50b4622c67de 100644
--- a/finance/ledgersmb12/Makefile
+++ b/finance/ledgersmb12/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ledgersmb
PORTVERSION= 1.2.17
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= finance perl5
MASTER_SITES= SF/ledger-smb/${PORTNAME}/${PORTVERSION}
@@ -19,17 +19,19 @@ LATEST_LINK= ledgersmb12
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
-USES= perl5
+NO_ARCH= yes
+USES= perl5 shebangfix
+SHEBANG_FILES= utils/devel/chart-load-test.sh \
+ utils/devel/find-use \
+ utils/pos/pos-hardware-client-startup-script
USE_PERL5= run build patch
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES= pkg-message
-.include <bsd.port.pre.mk>
-
post-patch:
- @${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' \
+ @${REINPLACE_CMD} -i '' -e 's|/usr/bin/perl|${perl_CMD}|' \
`${FIND} ${WRKSRC} -name \*.pl`
- @${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g' \
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
${FILESDIR}/ledger-smb-httpd.conf.in \
> ${WRKDIR}/ledger-smb-httpd.conf
@@ -37,6 +39,6 @@ do-install:
@${CP} -R ${WRKSRC} ${STAGEDIR}${PREFIX}
@cd ${STAGEDIR}${PREFIX}/${PORTNAME} ; \
${CHMOD} 711 templates css spool
- @${INSTALL_DATA} ${WRKDIR}/ledger-smb-httpd.conf ${STAGEDIR}${PREFIX}/etc/
+ ${INSTALL_DATA} ${WRKDIR}/ledger-smb-httpd.conf ${STAGEDIR}${PREFIX}/etc/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>