summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-26 07:00:22 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-26 07:00:22 +0000
commit24f729d897d69ca10769cf578a8e57ce81b81fd1 (patch)
tree6937d8be14392d2c091ed1b1180d8f7b4aa7403b /dns
parentSupport staging (diff)
- Support staging
- Use shebangfix
Notes
Notes: svn path=/head/; revision=346115
Diffstat (limited to 'dns')
-rw-r--r--dns/dnscheck/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/dns/dnscheck/Makefile b/dns/dnscheck/Makefile
index 112a86064da0..ef370299982f 100644
--- a/dns/dnscheck/Makefile
+++ b/dns/dnscheck/Makefile
@@ -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>