svn commit: r346115 - head/dns/dnscheck

Emanuel Haupt ehaupt at FreeBSD.org
Wed Feb 26 07:00:22 UTC 2014


Author: ehaupt
Date: Wed Feb 26 07:00:22 2014
New Revision: 346115
URL: http://svnweb.freebsd.org/changeset/ports/346115
QAT: https://qat.redports.org/buildarchive/r346115/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/dns/dnscheck/Makefile

Modified: head/dns/dnscheck/Makefile
==============================================================================
--- head/dns/dnscheck/Makefile	Wed Feb 26 06:57:14 2014	(r346114)
+++ head/dns/dnscheck/Makefile	Wed Feb 26 07:00:22 2014	(r346115)
@@ -9,15 +9,13 @@ MASTER_SITES=	http://www.downtools.com.a
 MAINTAINER=	jarrod at 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>


More information about the svn-ports-all mailing list