# $Id: Portfile,v 1.8 2006/01/07 14:43:27 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-albatross
version			1.33
categories		python
platforms		darwin freebsd
maintainers		mww@opendarwin.org
description		Python web application development toolkit
long_description	Albatross is a small and flexible Python toolkit for \
				developing highly stateful web applications. The \
				toolkit has been designed to take a lot of the pain \
				out of constructing intranet applications although you \
				can also use Albatross for deploying publicly accessed \
				web applications.

homepage		http://www.object-craft.com.au/projects/albatross/
master_sites	${homepage}/download/
distname		albatross-${version}
checksums		md5 2d9ef910b2e1c32a01bcb7e6dbd271a0

extract.post_args	"| tar -xf - --exclude '.cvsignore'"

post-destroot	{
	file delete ${destroot}${prefix}/share/doc/${name}/examples
	xinstall -m 644 -W ${worksrcpath} ChangeLog LICENCE TODO \
		${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/samples \
		${destroot}${prefix}/share/doc/${name}/examples
}

