Date: Wed, 17 Jun 2015 13:02:45 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r389930 - head/finance/ledgersmb12 Message-ID: <201506171302.t5HD2jbE083423@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Jun 17 13:02:44 2015 New Revision: 389930 URL: https://svnweb.freebsd.org/changeset/ports/389930 Log: - Add NO_ARCH - Fix shebangs - Simplify patching - Unsilence installation Modified: head/finance/ledgersmb12/Makefile Modified: head/finance/ledgersmb12/Makefile ============================================================================== --- head/finance/ledgersmb12/Makefile Wed Jun 17 13:02:23 2015 (r389929) +++ head/finance/ledgersmb12/Makefile Wed Jun 17 13:02:44 2015 (r389930) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506171302.t5HD2jbE083423>