aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-31 21:15:39 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-31 21:15:39 +0800
commit89b6019d73ed00fe0b9e5cb88aac7d7d8d41d758 (patch)
treebfe8e9eadd7ac6d6bb57b9cb42d66c6f1a355c42
parentf716903d38392aefc2c78962b0ca8079c3f1421f (diff)
downloadfreebsd-ports-gnome-89b6019d73ed00fe0b9e5cb88aac7d7d8d41d758.tar.gz
freebsd-ports-gnome-89b6019d73ed00fe0b9e5cb88aac7d7d8d41d758.tar.zst
freebsd-ports-gnome-89b6019d73ed00fe0b9e5cb88aac7d7d8d41d758.zip
- Fix shebangs
- Strip library Approved by: portmgr blanket MFH: 2015Q2
-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}