# $Id: Portfile 102584 2013-02-05 04:25:13Z larryv@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-cheetah
version			2.4.4
revision		1
categories-append	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	http://pypi.python.org/packages/source/C/Cheetah/
distname		Cheetah-${version}

checksums		sha1    c218f5d8bc97b39497680f6be9b7bd093f696e89 \
				rmd160  ae516e090313864f03dbfe131dada3fec9f60243

python.versions	24 25 26 27

if {$subport != $name} {
    post-destroot {
        xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README.markdown TODO \
            ${destroot}${prefix}/share/doc/${subport}
    }
    livecheck.type	none
} else {
    livecheck.type	regex
    livecheck.url	${homepage}
    livecheck.regex	>Cheetah\ (\[0-9\.rc\]+)<
}
