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

PortSystem          1.0
PortGroup           python 1.0

name                py-turbocheetah
version             1.0
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         TurboGears plugin to support use of Cheetah templates
long_description    This package provides a template engine plugin, \
                    allowing you to easily use Cheetah with TurboGears,\
                    Buffet or other systems that support \
                    python.templating.engines.
homepage            https://pypi.python.org/pypi/TurboCheetah/

python.rootname     TurboCheetah
checksums           md5 daf99f38f6696ac64b7df8ac2e003a03 \
                    sha1 f2e983c1a57e00e4abbffb906280e147dcd787e9 \
                    rmd160 6d224c43740a9d0e13bb8a765d710df0ec169986

python.versions     27

if {${name} ne ${subport}} {
    depends_build       port:py${python.version}-setuptools
    depends_lib         port:py${python.version}-cheetah
    post-destroot {
        xinstall -m 644 -W ${worksrcpath} \
            README.txt ${destroot}${prefix}/share/doc/${subport}
    }
}
