summaryrefslogtreecommitdiff
path: root/net/mikutter
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-11-23 05:29:52 +0000
committertaca <taca@pkgsrc.org>2011-11-23 05:29:52 +0000
commit1d986b097a69b528f27dc16b2e848d1627b9714c (patch)
tree3132fc54bf6fd2a9fafca2b966784aae1fd82803 /net/mikutter
parent98f82602a30838d0f8ee9109728fd03c49e7b591 (diff)
downloadpkgsrc-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/mikutter')
-rw-r--r--net/mikutter/Makefile6
1 files changed, 4 insertions, 2 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"