Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2014 14:35:00 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375330 - head/net-im/mikutter
Message-ID:  <201412231435.sBNEZ0rl060936@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tota
Date: Tue Dec 23 14:34:59 2014
New Revision: 375330
URL: https://svnweb.freebsd.org/changeset/ports/375330
QAT: https://qat.redports.org/buildarchive/r375330/

Log:
  - Restrict Ruby version to 2.0.0 or later
  - Remove dependency on devel/ruby-bsearch

Modified:
  head/net-im/mikutter/Makefile

Modified: head/net-im/mikutter/Makefile
==============================================================================
--- head/net-im/mikutter/Makefile	Tue Dec 23 14:31:52 2014	(r375329)
+++ head/net-im/mikutter/Makefile	Tue Dec 23 14:34:59 2014	(r375330)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mikutter
 PORTVERSION=	3.1.0
+PORTREVISION=	1
 CATEGORIES=	net-im ruby
 MASTER_SITES=	http://mikutter.hachune.net/bin/ \
 		LOCAL
@@ -22,7 +23,6 @@ RUN_DEPENDS=	rubygem-gtk2>=2.2.0:${PORTS
 		rubygem-json_pure>=1.8.1:${PORTSDIR}/devel/rubygem-json_pure \
 		rubygem-memoize>=1.3.1:${PORTSDIR}/devel/rubygem-memoize \
 		rubygem-oauth>=0.4.7:${PORTSDIR}/net/rubygem-oauth \
-		${RUBY_PKGNAMEPREFIX}bsearch>=1.5:${PORTSDIR}/devel/ruby-bsearch \
 		rubygem-typed-array>=0.1.2:${PORTSDIR}/devel/rubygem-typed-array \
 		rubygem-delayer>=0.0.2:${PORTSDIR}/devel/rubygem-delayer \
 		rubygem-gettext>=2.3.1:${PORTSDIR}/devel/rubygem-gettext \
@@ -33,6 +33,7 @@ WRKSRC=	${WRKDIR}/${PORTNAME}
 USE_RUBY=	yes
 NO_BUILD=	yes
 
+RUBY_REQUIRE=	Ruby >= 200
 RUBY_SHEBANG_FILES=	mikutter.rb \
 			core/miku/miku.rb \
 			core/lib/piapro.rb \
@@ -50,6 +51,12 @@ NOTIFY_DESC=		notify-send support
 
 OPTIONS_DEFAULT=	${OPTIONS_DEFINE}
 
+.include <bsd.port.pre.mk>
+
+.if !defined(RUBY_PROVIDED)
+IGNORE=	requires Ruby 2.0.0 or later
+.endif
+
 HTTPCLIENT_RUN_DEPENDS=	rubygem-httpclient>=0:${PORTSDIR}/www/rubygem-httpclient
 NOTIFY_RUN_DEPENDS=	notify-send:${PORTSDIR}/devel/libnotify
 
@@ -72,4 +79,4 @@ x-generate-plist: stage
 	${FIND} ${STAGEDIR}${RUBY_SITELIBDIR}/mikutter -type f | ${SORT} | ${SED} -e 's,${STAGEDIR}${RUBY_SITELIBDIR},%%RUBY_SITELIBDIR%%,' >> pkg-plist.new
 	${ECHO} share/applications/mikutter.desktop >> pkg-plist.new
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412231435.sBNEZ0rl060936>