Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

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

0 comments on commit e9a5382

Please sign in to comment.
Something went wrong with that request. Please try again.