# $Id: Portfile 130666 2015-01-02 06:28:22Z larryv@macports.org $

PortSystem 1.0
PortGroup python 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

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 644 -W ${worksrcpath} README.txt \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
