# $Id: Portfile 37028 2008-05-23 11:41:37Z ryandesign@macports.org $

PortSystem		1.0
PortGroup		ruby 1.0

name			rb-json
version			1.1.2
categories		ruby

homepage		http://json.rubyforge.org/
master_sites		http://rubyforge.org/frs/download.php/28483/

distname                json-${version}
dist_subdir             ruby

description       	This is a implementation of the JSON specification according to RFC 4627.

long_description  	This is a implementation of the JSON specification according to RFC 4627. \
                  	You can think of it as a low fat alternative to XML, if you want to store \
                  	data to disk or transmit it over a network rather than use a verbose markup language.

maintainers		gmail.com:roger.hoover

checksums		md5 	27834a3df714719e8fa9ff2efb5edc6d \
			sha1	97b652157f352fecb7da2545eec4cc20c7ad2594

patchfiles		patch-install.rb
extract.suffix		.tgz
platforms		darwin

configure {
	file mkdir "${destroot}/${ruby.lib}"
}

build {}
destroot.cmd	${ruby.bin} install.rb 
destroot.args	${destroot}
destroot.target	""
destroot.env	""

depends_lib     port:ruby port:rb-rubygems
