# $Id: Portfile,v 1.3 2004/12/30 16:46:49 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-dispatcher
version			1.0.1
revision		1
categories		python devel
platforms		darwin
maintainers		mww@opendarwin.org
description		python dispatcher mechanism for creating event models
long_description	PyDispatcher provides the Python programmer with a \
				multiple-producer-multiple-consumer \
				signal-registration and routing infrastructure for use \
				in multiple contexts.

homepage		http://pydispatcher.sourceforge.net/
master_sites	sourceforge:pydispatcher
distname		PyDispatcher-${version}
use_zip			yes
checksums		md5 f2f080647bdf6dee2b9401eeec2eeaad

test.run		yes
test.cmd		${python.bin} tests/test.py
test.env		PYTHONPATH=${worksrcpath}/build/lib
test.target

post-destroot	{
	file delete -force ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
}
