aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Net-eBay
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-12-17 17:19:48 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-12-17 17:19:48 +0000
commit7c47779cb9cc1f12908949c26b831e944047ed17 (patch)
treecc6e929ebf67eee2cc8ce1692ea0663387b3a559 /www/p5-Net-eBay
parentb4c4d6656e7b913544a3cbd1bea7f40f7cad2e74 (diff)
downloadports-7c47779cb9cc1f12908949c26b831e944047ed17.tar.gz
ports-7c47779cb9cc1f12908949c26b831e944047ed17.zip
Fix usage of ${PERL5}.
${PERL5} points to a specific version of perl, say, perl5.22.1, it is fine to use it in a ports Makefile to do Perly things, but ports using it must use ${PERL}, that points to /usr/local/bin/perl so that if the minor version is updated, the shebang keep working. While there, make some ports use shebangfix, regen a few patches, and bump PORTREVISION where a shebang went from PERL5 to PERL. PR: 205367 With hat: portmgr Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=403913
Diffstat (limited to 'www/p5-Net-eBay')
-rw-r--r--www/p5-Net-eBay/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/p5-Net-eBay/Makefile b/www/p5-Net-eBay/Makefile
index ac703b2e7070..810fcbf8c8ad 100644
--- a/www/p5-Net-eBay/Makefile
+++ b/www/p5-Net-eBay/Makefile
@@ -31,14 +31,14 @@ OPTIONS_DEFINE= EXAMPLES
NO_ARCH= yes
USE_PERL5= configure
-USES= perl5
+USES= perl5 shebangfix
+SHEBANG_FILES= examples/*.pl
PORTEXAMPLES= *
post-patch:
@${MKDIR} ${WRKSRC}/examples/
@${MV} ${WRKSRC}/*.pl ${WRKSRC}/examples/
- @${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/examples/*.pl
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/