Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 12:02:59 +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: r343040 - head/mail/p5-SES
Message-ID:  <201402061202.s16C2xlt007874@svn.freebsd.org>

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



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