# $Id: Portfile 87307 2011-11-16 22:11:39Z mww@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-cheetah
version			2.4.4
revision		1
categories		python www
license			MIT
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		sha1    c218f5d8bc97b39497680f6be9b7bd093f696e89 \
				rmd160  ae516e090313864f03dbfe131dada3fec9f60243

post-destroot {
	xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README.markdown TODO \
		${destroot}${prefix}/share/doc/${name}
	foreach f [glob ${destroot}${prefix}/bin/*] {
		move ${f} ${f}-2.4
	}
}

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