Permalink
Browse files

Use lang/ruby/json.mk to handle dependency to ruby-json.

Bump PKGREVISION since dependency would change with ruby193-base.
  • Loading branch information...
1 parent a6a770b commit e9a53820b8ea4f64512360fc0e663398791e297d taca committed Nov 23, 2011
View
7 databases/ruby-cassandra/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2011/09/12 16:08:29 taca Exp $
+# $NetBSD: Makefile,v 1.6 2011/11/23 05:29:52 taca Exp $
DISTNAME= cassandra-0.12.1
+PKGREVISION= 1
CATEGORIES= databases ruby
MAINTAINER= tonnerre@NetBSD.org
@@ -9,8 +10,10 @@ COMMENT= Ruby extension for Cassandra
LICENSE= apache-2.0
DEPENDS+= ${RUBY_PKGPREFIX}-simple_uuid>=0.2.0:../../devel/ruby-simple_uuid
-DEPENDS+= ${RUBY_PKGPREFIX}-json>=0:../../textproc/ruby-json
DEPENDS+= ${RUBY_PKGPREFIX}-thrift_client>=0.7.0:../../devel/ruby-thrift_client
+RUBY_JSON_REQD= 0
+
.include "../../lang/ruby/gem.mk"
+.include "../../lang/ruby/json.mk"
.include "../../mk/bsd.pkg.mk"
View
7 databases/ruby-dm-serializer/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2011/08/12 16:45:16 taca Exp $
+# $NetBSD: Makefile,v 1.4 2011/11/23 05:30:31 taca Exp $
DISTNAME= dm-serializer-1.1.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= databases
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -11,9 +11,10 @@ LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-dm-core>=1.1.0<1.2:../../databases/ruby-dm-core
DEPENDS+= ${RUBY_PKGPREFIX}-fastercsv>=1.5.4<1.6:../../textproc/ruby-fastercsv/
-DEPENDS+= ${RUBY_PKGPREFIX}-json-pure>=1.4.6:../../textproc/ruby-json-pure
OVERRIDE_GEMSPEC+= json:json_pure>=1.4.6
+RUBY_JSON_REQD= 1.4.6
+RUBY_JSON_TYPE= pure
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
View
7 databases/ruby-dm-types/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2011/08/31 14:02:11 taca Exp $
+# $NetBSD: Makefile,v 1.5 2011/11/23 05:31:53 taca Exp $
DISTNAME= dm-types-1.1.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= databases
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -11,12 +11,13 @@ LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-bcrypt>=2.1.4:../../security/ruby-bcrypt
DEPENDS+= ${RUBY_PKGPREFIX}-dm-core>=1.1.0<1.2:../../databases/ruby-dm-core
-DEPENDS+= ${RUBY_PKGPREFIX}-json-pure>=1.4.6:../../textproc/ruby-json-pure
DEPENDS+= ${RUBY_PKGPREFIX}-uuidtools>=2.1.2<2.2:../../devel/ruby-uuidtools
DEPENDS+= ${RUBY_PKGPREFIX}-stringex>=1.2.0:../../textproc/ruby-stringex
DEPENDS+= ${RUBY_PKGPREFIX}-fastercsv>=1.5.4<1.6:../../textproc/ruby-fastercsv
OVERRIDE_GEMSPEC+= json:json_pure>=1.4.6 stringex>=1.2.0 bcrypt>=2.1.4
+RUBY_JSON_REQD= 1.4.6
+RUBY_JSON_TYPE= pure
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
View
8 devel/rubyforge/Makefile
@@ -1,17 +1,19 @@
-# $NetBSD: Makefile,v 1.8 2010/09/13 14:12:14 taca Exp $
+# $NetBSD: Makefile,v 1.9 2011/11/23 05:32:22 taca Exp $
DISTNAME= rubyforge-2.0.4
+PKGREVISION= 1
CATEGORIES= devel
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://rubyforge.org/projects/codeforpeople/
COMMENT= Simplistic script automating RubyForge operations
LICENSE= mit
-DEPENDS+= ${RUBY_PKGPREFIX}-json-pure>=1.1.7:../../textproc/ruby-json-pure
-
CONFLICTS+= ruby[1-9][0-9]-rubyforge-[0-9]* rubyforge-[0-9]*
+RUBY_JSON_REQD= 1.1.7
+RUBY_JSON_TYPE= pure
+
pre-build:
cd ${WRKSRC}; ${CHMOD} -R g-w .
View
6 net/mikutter/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.28 2011/11/20 08:44:38 obache Exp $
+# $NetBSD: Makefile,v 1.29 2011/11/23 05:34:31 taca Exp $
#
DISTNAME= mikutter.0.0.4.592
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/./-/}
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://mikutter.hachune.net/bin/
@@ -16,7 +17,6 @@ PKG_DESTDIR_SUPPORT= user-destdir
.include "../../lang/ruby/rubyversion.mk"
DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
-DEPENDS+= ${RUBY_PKGPREFIX}-json>=1.5.1:../../textproc/ruby-json
DEPENDS+= ${RUBY_PKGPREFIX}-hmac>=0.4.0:../../security/ruby-hmac
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=1.0.0:../../x11/ruby-gnome2-gtk
DEPENDS+= ${RUBY_PKGPREFIX}-oauth>=0.3.6:../../security/ruby-oauth
@@ -29,6 +29,7 @@ DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=2.2.6nb1:../../net/ruby-addressable
# notif-send
DEPENDS+= libnotify-[0-9]*:../../sysutils/libnotify
+RUBY_JSON_REQD= 1.5.1
WRKSRC= ${WRKDIR}/mikutter
USE_LANGUAGES= # none
USE_TOOLS+= pax
@@ -53,5 +54,6 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/mikutter.sh ${DESTDIR}${PREFIX}/bin/mikutter
${INSTALL_DATA} ${WRKDIR}/desktop ${DESTDIR}${PREFIX}/share/applications/mikutter.desktop
+.include "../../lang/ruby/json.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
View
7 net/ruby-rubytter/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2011/06/19 02:52:44 taca Exp $
+# $NetBSD: Makefile,v 1.7 2011/11/23 05:33:35 taca Exp $
DISTNAME= rubytter-1.4.2
+PKGREVISION= 1
CATEGORIES= net
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -9,7 +10,9 @@ COMMENT= Simple twitter library
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-oauth>=0.3.6:../../security/ruby-oauth
-DEPENDS+= ${RUBY_PKGPREFIX}-json>=1.1.3:../../textproc/ruby-json
+
+RUBY_JSON_REQD= 1.1.3
.include "../../lang/ruby/gem.mk"
+.include "../../lang/ruby/json.mk"
.include "../../mk/bsd.pkg.mk"
View
7 net/ruby-tweetstream/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2011/11/08 09:08:21 obache Exp $
+# $NetBSD: Makefile,v 1.4 2011/11/23 05:32:59 taca Exp $
DISTNAME= tweetstream-1.0.5
+PKGREVISION= 1
CATEGORIES= net
MAINTAINER= obache@NetBSD.org
@@ -10,7 +11,9 @@ LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-daemons-[0-9]*:../../misc/ruby-daemons
DEPENDS+= ${RUBY_PKGPREFIX}-twitter-stream-[0-9]*:../../net/ruby-twitter-stream
-DEPENDS+= ${RUBY_PKGPREFIX}-json-[0-9]*:../../textproc/ruby-json
+
+RUBY_JSON_REQD= 0
.include "../../lang/ruby/gem.mk"
+.include "../../lang/ruby/json.mk"
.include "../../mk/bsd.pkg.mk"
View
7 security/ruby-twitter_oauth/Makefile
@@ -1,16 +1,19 @@
-# $NetBSD: Makefile,v 1.1.1.1 2011/07/11 08:53:47 obache Exp $
+# $NetBSD: Makefile,v 1.2 2011/11/23 05:34:53 taca Exp $
DISTNAME= twitter_oauth-0.4.3
+PKGREVISION= 1
CATEGORIES= security
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://github.com/moonmerman/twitter-oauth
COMMENT= Ruby client for the Twitter API using OAuth
LICENSE= mit
-DEPENDS+= ${RUBY_PKGPREFIX}-json>=1.1.9:../../textproc/ruby-json
DEPENDS+= ${RUBY_PKGPREFIX}-mime-types>=1.16:../../mail/ruby-mime-types
DEPENDS+= ${RUBY_PKGPREFIX}-oauth>=0.4.1:../../security/ruby-oauth
+RUBY_JSON_REQD= 1.1.9
+
.include "../../lang/ruby/gem.mk"
+.include "../../lang/ruby/json.mk"
.include "../../mk/bsd.pkg.mk"
View
5 www/termtter/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2011/09/12 17:02:27 taca Exp $
+# $NetBSD: Makefile,v 1.8 2011/11/23 05:36:06 taca Exp $
DISTNAME= termtter-1.10.0
+PKGREVISION= 1
CATEGORIES= www
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -16,6 +17,8 @@ DEPENDS+= ${RUBY_PKGPREFIX}-notify>=0.2.1:../../sysutils/ruby-notify
DEPENDS+= ${RUBY_PKGPREFIX}-json-pure>=1.1.3:../../textproc/ruby-json-pure
CONFLICTS+= ruby[1-9][0-9]-termtter-[0-9]* termtter-[0-9]*
+RUBY_JSON_REQD= 1.1.3
+RUBY_JSON_TYPE= pure
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
View
7 www/thoth-delicious/Makefile
@@ -1,19 +1,20 @@
-# $NetBSD: Makefile,v 1.4 2011/11/08 15:37:35 taca Exp $
+# $NetBSD: Makefile,v 1.5 2011/11/23 05:35:49 taca Exp $
DISTNAME= thoth_delicious-0.1.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/g}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= www
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://thothblog.org/
COMMENT= del.icio.us plugin for the Thoth blog engine
LICENSE= modified-bsd
-DEPENDS+= ${RUBY_PKGPREFIX}-json-pure>=1.1.2:../../textproc/ruby-json-pure
DEPENDS+= ${RUBY_PKGPREFIX}-thoth>=0.1.0:../../www/thoth
OVERRIDE_GEMSPEC+= json-pure>=1.1.2 thoth>=0.1.0
+RUBY_JSON_REQD= 1.1.2
+RUBY_JSON_TYPE= pure
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
View
7 www/thoth/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2011/08/13 00:33:00 taca Exp $
+# $NetBSD: Makefile,v 1.8 2011/11/23 05:35:29 taca Exp $
DISTNAME= thoth-0.2.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -16,7 +16,6 @@ DEPENDS+= ${RUBY_PKGPREFIX}-configuration>=0.0.5:../../misc/ruby-configuration
DEPENDS+= ${RUBY_PKGPREFIX}-cssmin>=1.0.2<1.1:../../www/ruby-cssmin
DEPENDS+= ${RUBY_PKGPREFIX}-hpricot>=0.6<1:../../textproc/ruby-hpricot
DEPENDS+= ${RUBY_PKGPREFIX}-jsmin>=1.0.0<1.1:../../www/ruby-jsmin
-DEPENDS+= ${RUBY_PKGPREFIX}-json-pure>=1.1.3:../../textproc/ruby-json-pure
DEPENDS+= ${RUBY_PKGPREFIX}-redcloth>=4.0.3:../../textproc/ruby-redcloth
DEPENDS+= ${RUBY_PKGPREFIX}-sequel>=2.5.0:../../databases/ruby-sequel
DEPENDS+= ${RUBY_PKGPREFIX}-thin>=0.8.2:../../www/thin
@@ -26,6 +25,8 @@ CONFLICTS+= ruby[1-9][0-9]-thoth-[0-9]* thoth-[0-9]*
OVERRIDE_GEMSPEC+= \
builder>=2.1.2 configuration>=0.0.5 json-pure>=1.1.3 redcloth>=4.0.3 \
ramaze>=2008.06 sequel>=2.5.0 thin>=0.8.2
+RUBY_JSON_REQD= 1.1.3
+RUBY_JSON_TYPE= pure
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

0 comments on commit e9a5382

Please sign in to comment.