# $Id: Portfile 79331 2011-06-09 17:21:34Z ryandesign@macports.org $

PortSystem      1.0
PortGroup       python26 1.0

name            py26-pygooglechart
version         0.2.1
revision        1
license         GPL-3
maintainers     nomaintainer
platforms       darwin
supported_archs noarch

description     pygooglechart is a complete Python wrapper for the Google Chart API

long_description \
    ${description}

categories-append \
    devel

homepage        http://pygooglechart.slowchop.com/
master_sites    ${homepage}files/download/
distname        pygooglechart-${version}

checksums       md5     ec6e1ddd678485c7971c8c0b5dd3cec6 \
                sha1    a227fa9673280ac260da7d9f0d47168072149722 \
                rmd160  6e8c5076b1659da5bbdc13f6415a9d39c9e3f42b

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 644 -W ${worksrcpath} COPYING ${destroot}${docdir}
}

livecheck.type    regex
livecheck.url     ${homepage}
livecheck.regex   {pygooglechart-(\d+(?:\.\d+)*)}
