Wed Nov 23 05:35:29 2011 UTC ()
Use lang/ruby/json.mk to handle dependency to ruby-json.

Bump PKGREVISION since dependency would change with ruby193-base.


(taca)
diff -r1.7 -r1.8 pkgsrc/www/thoth/Makefile

cvs diff -r1.7 -r1.8 pkgsrc/www/thoth/Attic/Makefile (expand / switch to context diff)
--- pkgsrc/www/thoth/Attic/Makefile 2011/08/13 00:33:00 1.7
+++ pkgsrc/www/thoth/Attic/Makefile 2011/11/23 05:35:29 1.8
@@ -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}-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 @@
 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"