# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 65907 2010-04-02 22:08:22Z jmr@macports.org $

PortSystem          1.0
PortGroup           python25 1.0

name                py25-simplejson
version             2.0.9
categories-append   www
maintainers         openmaintainer stechert akitada
description         simplejson is a JSON encoder and decoder.
long_description    ${description}

platforms           darwin

homepage            http://undefined.org/python/#simplejson
master_sites        http://cheeseshop.python.org/packages/source/s/simplejson/
distname            simplejson-${version}

depends_lib         port:py25-distribute

checksums           md5     af5e67a39ca3408563411d357e6d5e47 \
                    sha1    b5b26059adbe677b06c299bed30557fcb0c7df8c \
                    rmd160  814a0b7aa11a361ba5eda0be93e30505c44409ad

post-destroot {
    xinstall -m 644 -W ${worksrcpath} \
        LICENSE.txt \
        ${destroot}${prefix}/share/doc/${name}
    foreach f [glob -directory ${worksrcpath}/docs *] {
        copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
    }
}
