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

PortSystem 1.0
PortGroup python24 1.0

name			py-unit
version			1.4.1
revision		1
categories		python devel
maintainers		nomaintainer
platforms		darwin freebsd
description		python testing framework
long_description	python testing framework, py-unit is the python \
				language version of JUnit

homepage		http://pyunit.sourceforge.net/
master_sites	sourceforge:pyunit
distname		pyunit-${version}
checksums		md5 658ff16afc469a3898260cc72bbea993

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} doc/PyUnit.html CHANGES \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/examples README alltests.py \
		listtests.py manytests.py widget.py widgettests.py \
		withjpython.py ${destroot}${prefix}/share/doc/${name}/examples
}
