# -*- 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

PortSystem          1.0
PortGroup           python 1.0
PortGroup           deprecated 1.0

name                py-piddle
version             1.0.15
revision            1
categories-append   graphics
license             LGPL
platforms           darwin
supported_archs     noarch
maintainers         nomaintainer
description         python module for creating two-dimensional graphics
long_description    PIDDLE is a Python module for creating two-dimensional \
                    graphics in a manner that is both cross-platform and \
                    cross-media. That is, it can support screen graphics \
                    (e.g. QuickDraw, Windows, Tk) as well as file output \
                    (PostScript, PDF, GIF, etc.).

homepage            http://piddle.sourceforge.net/
master_sites        sourceforge:piddle
distname            piddle-${version}
checksums           md5     b199bee7379e40737673573f5f0e5d9f \
                    rmd160  26661e1bdf90b6791a8e3baa24269bd54cab039f \
                    sha256  84c33ba0d054e6b585005aae3a4a99aa5e0d735798fb015c220c24a548d1364d \
                    size    454044

deprecated.upstream_support no

python.versions     27

if {${name} ne ${subport}} {
    post-destroot {
        file delete -force ${destroot}${prefix}/share/doc/${subport}
        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 0644 -W ${worksrcpath} README.txt \
            ${destroot}${prefix}/share/doc/${subport}
    }

    livecheck.type  none
} else {
    livecheck.regex piddle-(\[0-9.\]+)${extract.suffix}
}
