# $Id: Portfile,v 1.3 2004/12/31 17:05:25 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-protocols
version			0.9.3
categories		python
platforms		darwin
maintainers		mww@opendarwin.org
description		Open Protocols and Component Adaptation for Python
long_description	PyProtocols extends the PEP 246 adapt() function with \
				a new "declaration API" that lets you easily define \
				your own interfaces and adapters, and declare what \
				adapters should be used to adapt what types, objects, \
				or interfaces.

homepage		http://peak.telecommunity.com/PyProtocols.html
master_sites	http://peak.telecommunity.com/dist/
distname		PyProtocols-${version}
checksums		md5 43df88c8772549640cfc40a78758bf7b

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