- Support staging

- Use shebangfix
This commit is contained in:
Emanuel Haupt 2014-02-26 07:00:22 +00:00
parent dd9326d8ef
commit 24f729d897
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346115

View file

@ -9,15 +9,13 @@ MASTER_SITES= http://www.downtools.com.au/~jarrod/projects/dnscheck/download/
MAINTAINER= jarrod@downtools.com.au
COMMENT= DNS zone sanity checker
USES= perl5
USES= perl5 shebangfix
PLIST_FILES= bin/dnscheck
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|^#!/usr/bin/perl |#!${PERL} |' ${WRKSRC}/dnscheck.pl
SHEBANG_FILES= dnscheck.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/dnscheck.pl ${PREFIX}/bin/dnscheck
${INSTALL_SCRIPT} ${WRKSRC}/dnscheck.pl \
${STAGEDIR}${PREFIX}/bin/dnscheck
.include <bsd.port.mk>