svn commit: r376315 - head/net/rubygem-twitter

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Jan 5 17:35:19 UTC 2015


Author: sunpoet
Date: Mon Jan  5 17:35:18 2015
New Revision: 376315
URL: https://svnweb.freebsd.org/changeset/ports/376315
QAT: https://qat.redports.org/buildarchive/r376315/

Log:
  - Fix .gemspec
  - Bump PORTREVISION for package change

Modified:
  head/net/rubygem-twitter/Makefile

Modified: head/net/rubygem-twitter/Makefile
==============================================================================
--- head/net/rubygem-twitter/Makefile	Mon Jan  5 17:33:45 2015	(r376314)
+++ head/net/rubygem-twitter/Makefile	Mon Jan  5 17:35:18 2015	(r376315)
@@ -3,6 +3,7 @@
 
 PORTNAME=	twitter
 PORTVERSION=	5.13.0
+PORTREVISION=	1
 CATEGORIES=	net rubygems
 MASTER_SITES=	RG
 
@@ -26,4 +27,8 @@ USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 RUBYGEM_AUTOPLIST=	yes
 
+post-patch:
+# adjust gemspec for "http ~> 0.6.0"
+	@${REINPLACE_CMD} -e '77 s|"~>"|">="|' ${WRKSRC}/${GEM_NAME}.gemspec
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list