# $Id: Portfile,v 1.1 2004/05/31 10:29:03 mww Exp $

PortSystem 1.0
PortGroup python 1.0

name		py-mpservlets
version		1.1.4
categories	python www
platforms	darwin
maintainers	mww@opendarwin.org
description	python servlet handler for mod_python
long_description	${description}

homepage	http://home.comcast.net/~d.popowich/mpservlets/
master_sites	${homepage}
distname	mpservlets-${version}
checksums	md5 890171a40c3774c13ef89b3c1fac60de

depends_lib-append	lib:XXX:mod_python

post-destroot	{
	file delete -force ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/Doc/html ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/tutorial \
		${destroot}${prefix}/share/doc/${name}/examples
	xinstall -m 644 -W ${worksrcpath} README \
		${destroot}${prefix}/share/doc/${name}
}
