diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2011-03-04 07:41:42 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2011-03-04 07:41:42 +0000 |
commit | 25b1249693ca96d65f4f610b8b87801f8eda19eb (patch) | |
tree | 4bcdbf33ebe111dafbd57d25ad4af1fa77c100f6 /devel/rubygem-multi_json | |
parent | 7113661587ec954807c8276bf1bcd54f1c2bad67 (diff) |
This library is a generic swappable back-end for JSON handling.
Lots of Ruby libraries utilize JSON parsing in some form, and
everyone has their favorite JSON library. In order to best support
multiple JSON parsers and libraries, multi_json is a
general-purpose swappable JSON backend library.
WWW: http://rdoc.info/projects/intridea/multi_json
Notes
Notes:
svn path=/head/; revision=270257
Diffstat (limited to 'devel/rubygem-multi_json')
-rw-r--r-- | devel/rubygem-multi_json/Makefile | 38 | ||||
-rw-r--r-- | devel/rubygem-multi_json/distinfo | 2 | ||||
-rw-r--r-- | devel/rubygem-multi_json/pkg-descr | 8 |
3 files changed, 48 insertions, 0 deletions
diff --git a/devel/rubygem-multi_json/Makefile b/devel/rubygem-multi_json/Makefile new file mode 100644 index 000000000000..2691e6537cda --- /dev/null +++ b/devel/rubygem-multi_json/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: multi_json +# Date created: Mar 4, 2011 +# Whom: Cheng-Lung Sung <clsung@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= multi_json +PORTVERSION= 0.0.5 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Ruby library provide swappable JSON backends + +OPTIONS= JSON "JSON implementation as a Ruby extension in C" off \ + JSON_PURE "JSON implementation in pure Ruby" on \ + YAJL_RUBY "Yajl JSON stream-based parser library" off + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.pre.mk> + +.if defined(WITH_JSON) +RUN_DEPENDS+= rubygem-json>=0:${PORTSDIR}/devel/rubygem-json +.endif + +.if defined(WITH_JSON_PURE) +RUN_DEPENDS+= rubygem-json_pure>=0:${PORTSDIR}/devel/rubygem-json_pure +.endif + +.if defined(WITH_YAJL_RUBY) +RUN_DEPENDS+= rubygem-yajl-ruby>=0:${PORTSDIR}/devel/rubygem-yajl-ruby +.endif + +.include <bsd.port.post.mk> diff --git a/devel/rubygem-multi_json/distinfo b/devel/rubygem-multi_json/distinfo new file mode 100644 index 000000000000..3ffa1b6b0c38 --- /dev/null +++ b/devel/rubygem-multi_json/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/multi_json-0.0.5.gem) = 12831c7b53ef751995befba2ff522561bf4692cdc5c268729625243dbc2ad774 +SIZE (rubygem/multi_json-0.0.5.gem) = 8192 diff --git a/devel/rubygem-multi_json/pkg-descr b/devel/rubygem-multi_json/pkg-descr new file mode 100644 index 000000000000..5e5d8161b804 --- /dev/null +++ b/devel/rubygem-multi_json/pkg-descr @@ -0,0 +1,8 @@ +This library is a generic swappable back-end for JSON handling. + +Lots of Ruby libraries utilize JSON parsing in some form, and +everyone has their favorite JSON library. In order to best support +multiple JSON parsers and libraries, multi_json is a +general-purpose swappable JSON backend library. + +WWW: http://rdoc.info/projects/intridea/multi_json |