# $Id: Portfile 49562 2009-04-12 08:13:32Z blb@macports.org $

PortSystem 1.0
PortGroup python26 1.0

name			py26-cheetah
version			2.0.1
categories		python www
platforms		darwin
maintainers		nomaintainer
description		Cheetah is a Python-powered template engine and code generator
long_description	Cheetah is a Python-powered template engine and code \
				generator. It can be used as a standalone utility or \
				it can be combined with other tools. Cheetah has many \
				potential uses, but web developers looking for a \
				viable alternative to ASP, JSP, PHP and PSP are \
				expected to be its principle user group.

homepage		http://www.cheetahtemplate.org/
master_sites	sourceforge:cheetahtemplate
distname		Cheetah-${version}
checksums		md5 7845a2950ea850a13c488a26b61ac50a \
			sha1 6c1aab90bf2d34f3f72998c96ff2767d870a5e7d \
			rmd160 9e8ef0afc4eabd1349e4228f5ad78551f7bddbe4


post-destroot {
	xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README TODO \
		${destroot}${prefix}/share/doc/${name}
	ln -s ${python.prefix}/bin/cheetah ${destroot}${prefix}/bin/cheetah-2.6
	ln -s ${python.prefix}/bin/cheetah-compile \
		${destroot}${prefix}/bin/cheetah-compile-2.6
}

livecheck.check	regex
livecheck.url	${homepage}
livecheck.regex	>Cheetah\ (\[0-9\.rc\]+)<

