From 84ef461e7e4077ec2fcfde3d43e118a096ead23f Mon Sep 17 00:00:00 2001 From: vanilla Date: Tue, 20 May 2014 10:22:32 +0000 Subject: Support staging. Approved by: portmgr@ --- dns/dnsmax-perl/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'dns') diff --git a/dns/dnsmax-perl/Makefile b/dns/dnsmax-perl/Makefile index 7997a28ca6bc..421af3bfb746 100644 --- a/dns/dnsmax-perl/Makefile +++ b/dns/dnsmax-perl/Makefile @@ -15,20 +15,17 @@ BUILD_DEPENDS= p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \ 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 -- cgit