aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-Cassandra-Easy
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-31 13:18:23 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-31 13:18:23 +0000
commit1fb0d1a9d8b10323fbff7f20602200585193dd03 (patch)
tree6fcba33bdf5d6256f31eade88175b7e0558a6605 /net/p5-Net-Cassandra-Easy
parentbb129df7448b207d468b8da17b54b3f924f1ad2b (diff)
downloadports-1fb0d1a9d8b10323fbff7f20602200585193dd03.tar.gz
ports-1fb0d1a9d8b10323fbff7f20602200585193dd03.zip
- Fix shebangs
- Add NO_ARCH Approved by: portmgr blanket MFH: 2015Q2
Notes
Notes: svn path=/head/; revision=388074
Diffstat (limited to 'net/p5-Net-Cassandra-Easy')
-rw-r--r--net/p5-Net-Cassandra-Easy/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/p5-Net-Cassandra-Easy/Makefile b/net/p5-Net-Cassandra-Easy/Makefile
index 2202c2e064f6..41b366042ca7 100644
--- a/net/p5-Net-Cassandra-Easy/Makefile
+++ b/net/p5-Net-Cassandra-Easy/Makefile
@@ -3,7 +3,7 @@
PORTNAME= Net-Cassandra-Easy
PORTVERSION= 0.15
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -18,7 +18,12 @@ BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
p5-Moose>=0:${PORTSDIR}/devel/p5-Moose
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= perl5
+USES= perl5 shebangfix
+SHEBANG_FILES= cassidy.pl genthrift.pl
USE_PERL5= configure
+NO_ARCH= yes
+
+post-patch:
+ ${REINPLACE_CMD} -i '' -e '1s|#!perl|#!${perl_CMD}|' ${WRKSRC}/lib/Net/Cassandra/Easy.pm
.include <bsd.port.mk>