- Support staging
- Use shebangfix
This commit is contained in:
parent
dd9326d8ef
commit
24f729d897
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346115
1 changed files with 4 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue