# $Id: Portfile 56067 2009-08-24 01:02:39Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-nevow
version			0.9.33
revision                0
categories		python
platforms		darwin
maintainers		openmaintainer stechert
description		A Web Application Construction Kit
long_description	Nevow is a next-generation web application templating \
					system, based on the ideas developed in the Twisted Woven \
					package. Its main focus is on separating the HTML template \
					from both the business logic and the display logic, while \
					allowing the programmer to write pure Python code as much \
					as possible.

distname		Nevow-${version}
homepage		http://divmod.org/trac/wiki/DivmodNevow
master_sites	        http://divmod.org/trac/attachment/wiki/SoftwareReleases/${distfiles}?format=raw&dummy=
checksums		md5     328898bca9a45904d42e2962250fb4a7 \
			sha1    862ecf171c398d79887cdd9122709bff139a4e72 \
			rmd160  d3d953758499bf0f5af23df38ca7fdc6b1d26834

depends_lib-append	port:py-twisted

post-destroot {
	xinstall -d ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/doc/ \
		${destroot}${prefix}/share/doc/${name}
	file delete ${destroot}${prefix}/share/doc/${name}/examples
	file copy ${worksrcpath}/examples \
		${destroot}${prefix}/share/doc/${name}/examples
	xinstall -m 644 -W ${worksrcpath} LICENSE README \
		${destroot}${prefix}/share/doc/${name}
}
