# -*- 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-colorclass
version             2.2.0
revision            0

platforms           darwin
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         Colorful worry-free console applications for Linux, Mac OS X, and Windows.
long_description    ${description}

homepage            https://github.com/Robpol86/colorclass

checksums           rmd160  cc7bd3d48c69477b7e9be613dc522d3309e24824 \
                    sha256  b05c2a348dfc1aff2d502527d78a5b7b7e2f85da94a96c5081210d8e9ee8e18b \
                    size    17037

python.versions     37 38

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} README.rst \
            ${destroot}${docdir}
    }

    livecheck.type  none
}
