# $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-piddle
version			1.0.15
revision		1
categories		python graphics
platforms		darwin
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

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