diff options
author | taca <taca@pkgsrc.org> | 2011-11-23 05:29:52 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2011-11-23 05:29:52 +0000 |
commit | 1d986b097a69b528f27dc16b2e848d1627b9714c (patch) | |
tree | 3132fc54bf6fd2a9fafca2b966784aae1fd82803 /net | |
parent | 98f82602a30838d0f8ee9109728fd03c49e7b591 (diff) | |
download | pkgsrc-1d986b097a69b528f27dc16b2e848d1627b9714c.tar.gz |
Use lang/ruby/json.mk to handle dependency to ruby-json.
Bump PKGREVISION since dependency would change with ruby193-base.
Diffstat (limited to 'net')
-rw-r--r-- | net/mikutter/Makefile | 6 | ||||
-rw-r--r-- | net/ruby-rubytter/Makefile | 7 | ||||
-rw-r--r-- | net/ruby-tweetstream/Makefile | 7 |
3 files changed, 14 insertions, 6 deletions
diff --git a/net/mikutter/Makefile b/net/mikutter/Makefile index 7be69915e4b..e7725413629 100644 --- a/net/mikutter/Makefile +++ b/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" diff --git a/net/ruby-rubytter/Makefile b/net/ruby-rubytter/Makefile index c63d3675f47..cda52586dc3 100644 --- a/net/ruby-rubytter/Makefile +++ b/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" diff --git a/net/ruby-tweetstream/Makefile b/net/ruby-tweetstream/Makefile index 59626acee33..eebf249d3de 100644 --- a/net/ruby-tweetstream/Makefile +++ b/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" |