summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-31 13:18:23 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-31 13:18:23 +0000
commitd22219b53767d1caa0f4bcd2a5fc0257b13bd99c (patch)
tree6fcba33bdf5d6256f31eade88175b7e0558a6605
parent599f8a57a3cabf38a1413049afcf8ffe728cf68a (diff)
downloadFreeBSD-ports-d22219b53767d1caa0f4bcd2a5fc0257b13bd99c.zip
FreeBSD-ports-d22219b53767d1caa0f4bcd2a5fc0257b13bd99c.tar.gz
- Fix shebangs
- Add NO_ARCH Approved by: portmgr blanket MFH: 2015Q2
-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 2202c2e..41b3660 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>
OpenPOWER on IntegriCloud