# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-tahchee
version			0.9.8
categories		python www
platforms		darwin
maintainers		mww
description		build static web sites with the Cheetah template system
long_description	Tahchee is a tool for developers and Web designers that \
				makes it possible to easily build a static Web site using the \
				Cheetah template system.
homepage		http://www.ivy.fr/tahchee/
master_sites	${homepage}
distname		tahchee-${version}
checksums		sha1 5657fd9b8ae6c2f825f75f06aceace7fa7695d82

depends_lib-append	port:py-cheetah

extract.post_args	"| tar -xf - --exclude '.MANUAL.txt.swp'"

post-destroot {
	file delete -force ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/Documentation ${destroot}${prefix}/share/doc/${name}
	file rename ${destroot}${prefix}/share/doc/${name}/Example \
		${destroot}${prefix}/share/doc/${name}/examples
}

livecheck.type	regex
livecheck.url	http://www.ivy.fr/tahchee/downloads.html
livecheck.regex	tahchee-(\[0-9\.\]+).tar.gz
