# -*- 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-empy
version             3.3.4
revision            0

maintainers         nomaintainer
license             LGPL
platforms           {darwin any} freebsd
supported_archs     noarch
description         powerful and robust templating system for python
long_description    py-empy is a system for embedding Python expressions \
                    and statements in template text. It takes an EmPy \
                    source file, processes it, and produces output. This \
                    is accomplished via expansions, which are special \
                    signals to the py-empy system and are set off by a \
                    special prefix.

homepage            https://web.archive.org/web/20220728054314/http://www.alcyone.com/software/empy/

# homepage is gone and pypi tarball does not contain docs
master_sites        macports_distfiles
checksums           rmd160  64c061e8a8d4c4f3978e6c166ba4cdf484f2641c \
                    sha256  9126211471fc7ff83fdd40beca93eb6de5681758fbe68b4cf8af6326259df1b1 \
                    size    138495

python.versions     39

if {${name} ne ${subport}} {
    post-destroot {
        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
    }
}
