# $Id: Portfile,v 1.2 2004/12/31 16:50:32 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-piddle
version			1.0.15
revision		1
categories		python graphics
platforms		darwin
maintainers		mww@opendarwin.org
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}
}
