svn commit: r343040 - head/mail/p5-SES

Emanuel Haupt ehaupt at FreeBSD.org
Thu Feb 6 12:02:59 UTC 2014


Author: ehaupt
Date: Thu Feb  6 12:02:58 2014
New Revision: 343040
URL: http://svnweb.freebsd.org/changeset/ports/343040
QAT: https://qat.redports.org/buildarchive/r343040/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/mail/p5-SES/Makefile

Modified: head/mail/p5-SES/Makefile
==============================================================================
--- head/mail/p5-SES/Makefile	Thu Feb  6 11:57:55 2014	(r343039)
+++ head/mail/p5-SES/Makefile	Thu Feb  6 12:02:58 2014	(r343040)
@@ -20,25 +20,24 @@ RUN_DEPENDS=	p5-LWP-Protocol-https>=0:${
 		p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \
 		p5-libwww>=6:${PORTSDIR}/www/p5-libwww
 
+USES=		perl5 shebangfix
 NO_BUILD=	yes
-USES=		perl5
 USE_PERL5=	run
 USE_ZIP=	yes
+
 WRKSRC=		${WRKDIR}/bin
 
 PLIST_FILES=	bin/ses-get-stats.pl \
 		bin/ses-send-email.pl \
 		bin/ses-verify-email-address.pl \
 		%%SITE_PERL%%/SES.pm
+SHEBANG_FILES=	*.pl
 
 SCRIPTS=	ses-get-stats.pl ses-send-email.pl ses-verify-email-address.pl
 
-NO_STAGE=	yes
-post-extract:
-	@cd ${WRKSRC} && ${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${SCRIPTS}
-
 do-install:
-	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin/
-	${INSTALL_DATA} ${WRKSRC}/SES.pm ${PREFIX}/${SITE_PERL_REL}/
+	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
+	${INSTALL_DATA} ${WRKSRC}/SES.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list