summaryrefslogtreecommitdiff
path: root/textproc/ruby-json
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-10 08:18:49 +0000
committertaca <taca@pkgsrc.org>2010-09-10 08:18:49 +0000
commite981c736f28a4bb74c959049e29206fe6ab6e951 (patch)
tree5389e33472d1f745b0920c1844ac18d9fbdd7691 /textproc/ruby-json
parent151ee0bc506dd854d0c450103d0b484efae4dd7f (diff)
downloadpkgsrc-e981c736f28a4bb74c959049e29206fe6ab6e951.tar.gz
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Update HOMEPAGE. * Remove default value of GEM_BUILD. * Ajust new ruby package's framework.
Diffstat (limited to 'textproc/ruby-json')
-rw-r--r--textproc/ruby-json/Makefile9
-rw-r--r--textproc/ruby-json/PLIST6
2 files changed, 7 insertions, 8 deletions
diff --git a/textproc/ruby-json/Makefile b/textproc/ruby-json/Makefile
index 483e91129ad..2569d881ce6 100644
--- a/textproc/ruby-json/Makefile
+++ b/textproc/ruby-json/Makefile
@@ -1,21 +1,20 @@
-# $NetBSD: Makefile,v 1.7 2010/09/05 02:13:51 obache Exp $
+# $NetBSD: Makefile,v 1.8 2010/09/10 08:18:49 taca Exp $
DISTNAME= json-1.4.6
-PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= textproc
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://json.rubyforge.org/
+HOMEPAGE= http://flori.github.com/json
COMMENT= Native extension implementation of JSON for Ruby
LICENSE= ruby-license
-GEM_BUILD= gemspec
GEM_CLEANBUILD= ext/json/ext/generator/* ext/json/ext/parser/*
+REPLACE_RUBY= tools/fuzz.rb tools/server.rb
post-extract:
cd ${WRKSRC}; ${FIND} . -xdev -type f -print | ${XARGS} ${CHMOD} g-w
REPLACE_RUBY_DIRS= tools
-.include "../../misc/rubygems/rubygem.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-json/PLIST b/textproc/ruby-json/PLIST
index 3193dec714e..cec211646e0 100644
--- a/textproc/ruby-json/PLIST
+++ b/textproc/ruby-json/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.5 2010/06/15 13:35:52 obache Exp $
-${GEM_HOME}/cache/json-${PKGVERSION}.gem
+@comment $NetBSD: PLIST,v 1.6 2010/09/10 08:18:49 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.require_paths
${GEM_LIBDIR}/CHANGES
${GEM_LIBDIR}/COPYING
@@ -119,4 +119,4 @@ ${GEM_LIBDIR}/tests/test_json_rails.rb
${GEM_LIBDIR}/tests/test_json_unicode.rb
${GEM_LIBDIR}/tools/fuzz.rb
${GEM_LIBDIR}/tools/server.rb
-${GEM_HOME}/specifications/json-${PKGVERSION}.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec