svn commit: r388074 - head/net/p5-Net-Cassandra-Easy

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun May 31 13:18:24 UTC 2015


Author: amdmi3
Date: Sun May 31 13:18:23 2015
New Revision: 388074
URL: https://svnweb.freebsd.org/changeset/ports/388074

Log:
  - Fix shebangs
  - Add NO_ARCH
  
  Approved by:	portmgr blanket
  MFH:		2015Q2

Modified:
  head/net/p5-Net-Cassandra-Easy/Makefile

Modified: head/net/p5-Net-Cassandra-Easy/Makefile
==============================================================================
--- head/net/p5-Net-Cassandra-Easy/Makefile	Sun May 31 13:17:59 2015	(r388073)
+++ head/net/p5-Net-Cassandra-Easy/Makefile	Sun May 31 13:18:23 2015	(r388074)
@@ -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:${PO
 		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>


More information about the svn-ports-all mailing list