# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-cheetah
python.rootname     CT3
version             3.3.3
checksums           rmd160  ccba2c7c185bb664ee9c8eb514cd5881ba9cf510 \
                    sha256  32b6edf228d1243787a67d3731ce4c26a05bc9a3c9458e893573d700eecc6c5c \
                    size    5934890
revision            0

categories-append   www
license             MIT
maintainers         {emcrisostomo @emcrisostomo} {michaelld @michaelld} openmaintainer

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            https://www.cheetahtemplate.org/

python.versions     27 310 311 312

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} ANNOUNCE.rst \
            BUGS LICENSE README.rst TODO ${destroot}${docdir}
    }
}
