# $Id: Portfile,v 1.7 2006/06/06 17:51:39 stechert Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-nevow
version			0.8.0
revision                1
categories		python
platforms		darwin
maintainers		andre@splunk.com
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.

homepage		http://divmod.org/trac/wiki/DivmodNevow
master_sites	        http://divmod.org/trac/attachment/wiki/SoftwareReleases/
distname		Nevow-${version}
extract.suffix		.tar.gz?format=raw
checksums		sha1 4f7e1fff2504b92f5d2314dc6cd9d9792f9388a4

depends_lib-append	port:py-twisted

post-destroot {
	xinstall -d 755 ${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}
}
