aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-31 13:15:39 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-31 13:15:39 +0000
commit337384871919f2738b86ea5509b8ab57c615c704 (patch)
treebfe8e9eadd7ac6d6bb57b9cb42d66c6f1a355c42 /converters
parent1aa8e59847517bbc2dddd5c0968899677ced668d (diff)
downloadports-337384871919f2738b86ea5509b8ab57c615c704.tar.gz
ports-337384871919f2738b86ea5509b8ab57c615c704.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/p5-Convert-Bencode_XS/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/converters/p5-Convert-Bencode_XS/Makefile b/converters/p5-Convert-Bencode_XS/Makefile
index acea8fc0b1ed..86601d057589 100644
--- a/converters/p5-Convert-Bencode_XS/Makefile
+++ b/converters/p5-Convert-Bencode_XS/Makefile
@@ -3,7 +3,7 @@
PORTNAME= Convert-Bencode_XS
PORTVERSION= 0.06
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= converters perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -13,12 +13,16 @@ COMMENT= Faster conversions to/from Bencode format
RUN_DEPENDS= p5-Convert-Bencode>=0:${PORTSDIR}/converters/p5-Convert-Bencode
-USES= perl5
+USES= perl5 shebangfix
+SHEBANG_FILES= extras/*.pl
USE_PERL5= configure
OPTIONS_DEFINE= EXAMPLES
post-install:
+ ${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Convert/Bencode_XS/Bencode_XS.so
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Convert/Bencode_XS/Bencode_XS.so
+ ${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Convert/Bencode_XS/Bencode_XS.so
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/extras/* ${STAGEDIR}${EXAMPLESDIR}