# $Id: Portfile 67068 2010-04-28 11:17:34Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         JSON 2.21 ../by-authors/id/M/MA/MAKAMAKA
maintainers         narf_tm openmaintainer
description         parse and convert to JSON (JavaScript Object Notation).
long_description    This module converts between JSON \
                    (JavaScript Object Notation) and Perl data structure \
                    into each other. For JSON, See to \
                    http://www.crockford.com/JSON/.

platforms           darwin

checksums           md5 52cdec34f1d669b64ee15dce1c9a11d5 \
                    sha1 0a74bbab065a5d06187f4bdc1e8cf55c9154bec6 \
                    rmd160 2763de60844dbd80e53845a5f593e1d591beca49

if {[info exists supported_archs]} {
    supported_archs noarch
} else {
    universal_variant no
}

variant xs description {Depend on JSON::XS for improved performance} {
    depends_run-append    port:p5-json-xs
}
