svn commit: r354622 - head/dns/dnsmax-perl

Vanilla I. Shu vanilla at FreeBSD.org
Tue May 20 10:22:32 UTC 2014


Author: vanilla
Date: Tue May 20 10:22:32 2014
New Revision: 354622
URL: http://svnweb.freebsd.org/changeset/ports/354622
QAT: https://qat.redports.org/buildarchive/r354622/

Log:
  Support staging.
  
  Approved by:	portmgr@

Modified:
  head/dns/dnsmax-perl/Makefile

Modified: head/dns/dnsmax-perl/Makefile
==============================================================================
--- head/dns/dnsmax-perl/Makefile	Tue May 20 09:19:27 2014	(r354621)
+++ head/dns/dnsmax-perl/Makefile	Tue May 20 10:22:32 2014	(r354622)
@@ -15,20 +15,17 @@ BUILD_DEPENDS=	p5-Crypt-SSLeay>=0:${PORT
 		p5-libwww>=0:${PORTSDIR}/www/p5-libwww
 
 NO_BUILD=	yes
-USES=		perl5 zip
+USES=		perl5 zip shebangfix
 
+SHEBANG_FILES=	dnsmax.pl
 PLIST_FILES=	bin/dnsmax-perl
 PORTDOCS=	LICENSE INSTALL README
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/dnsmax.pl ${PREFIX}/bin/dnsmax-perl
+	${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/dnsmax.pl ${STAGEDIR}${PREFIX}/bin/dnsmax-perl
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	cd ${WRKDIR}/${DISTNAME} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKDIR}/${DISTNAME} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list