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 unified 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,31 +1,32 @@ @@ -1,31 +1,32 @@
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
3DISTNAME= thoth-0.2.1 3DISTNAME= thoth-0.2.1
4PKGREVISION= 1 4PKGREVISION= 2
5CATEGORIES= www 5CATEGORIES= www
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= http://thothblog.org/ 8HOMEPAGE= http://thothblog.org/
9COMMENT= Minimalistic blog engine 9COMMENT= Minimalistic blog engine
10LICENSE= modified-bsd 10LICENSE= modified-bsd
11 11
12DEPENDS+= ${RUBY_PKGPREFIX}-ramaze>=2008.06:../../www/ramaze 12DEPENDS+= ${RUBY_PKGPREFIX}-ramaze>=2008.06:../../www/ramaze
13DEPENDS+= ${RUBY_PKGPREFIX}-erubis>=2.6.2<2.7:../../www/erubis 13DEPENDS+= ${RUBY_PKGPREFIX}-erubis>=2.6.2<2.7:../../www/erubis
14DEPENDS+= ${RUBY_PKGPREFIX}-builder>=2.1.2:../../textproc/ruby-builder 14DEPENDS+= ${RUBY_PKGPREFIX}-builder>=2.1.2:../../textproc/ruby-builder
15DEPENDS+= ${RUBY_PKGPREFIX}-configuration>=0.0.5:../../misc/ruby-configuration 15DEPENDS+= ${RUBY_PKGPREFIX}-configuration>=0.0.5:../../misc/ruby-configuration
16DEPENDS+= ${RUBY_PKGPREFIX}-cssmin>=1.0.2<1.1:../../www/ruby-cssmin 16DEPENDS+= ${RUBY_PKGPREFIX}-cssmin>=1.0.2<1.1:../../www/ruby-cssmin
17DEPENDS+= ${RUBY_PKGPREFIX}-hpricot>=0.6<1:../../textproc/ruby-hpricot 17DEPENDS+= ${RUBY_PKGPREFIX}-hpricot>=0.6<1:../../textproc/ruby-hpricot
18DEPENDS+= ${RUBY_PKGPREFIX}-jsmin>=1.0.0<1.1:../../www/ruby-jsmin 18DEPENDS+= ${RUBY_PKGPREFIX}-jsmin>=1.0.0<1.1:../../www/ruby-jsmin
19DEPENDS+= ${RUBY_PKGPREFIX}-json-pure>=1.1.3:../../textproc/ruby-json-pure 
20DEPENDS+= ${RUBY_PKGPREFIX}-redcloth>=4.0.3:../../textproc/ruby-redcloth 19DEPENDS+= ${RUBY_PKGPREFIX}-redcloth>=4.0.3:../../textproc/ruby-redcloth
21DEPENDS+= ${RUBY_PKGPREFIX}-sequel>=2.5.0:../../databases/ruby-sequel 20DEPENDS+= ${RUBY_PKGPREFIX}-sequel>=2.5.0:../../databases/ruby-sequel
22DEPENDS+= ${RUBY_PKGPREFIX}-thin>=0.8.2:../../www/thin 21DEPENDS+= ${RUBY_PKGPREFIX}-thin>=0.8.2:../../www/thin
23 22
24CONFLICTS+= ruby[1-9][0-9]-thoth-[0-9]* thoth-[0-9]* 23CONFLICTS+= ruby[1-9][0-9]-thoth-[0-9]* thoth-[0-9]*
25 24
26OVERRIDE_GEMSPEC+= \ 25OVERRIDE_GEMSPEC+= \
27 builder>=2.1.2 configuration>=0.0.5 json-pure>=1.1.3 redcloth>=4.0.3 \ 26 builder>=2.1.2 configuration>=0.0.5 json-pure>=1.1.3 redcloth>=4.0.3 \
28 ramaze>=2008.06 sequel>=2.5.0 thin>=0.8.2 27 ramaze>=2008.06 sequel>=2.5.0 thin>=0.8.2
 28RUBY_JSON_REQD= 1.1.3
 29RUBY_JSON_TYPE= pure
29 30
30.include "../../lang/ruby/gem.mk" 31.include "../../lang/ruby/gem.mk"
31.include "../../mk/bsd.pkg.mk" 32.include "../../mk/bsd.pkg.mk"