Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 07:00:22 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346115 - head/dns/dnscheck
Message-ID:  <201402260700.s1Q70MXl060140@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402260700.s1Q70MXl060140>