# -*- 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-dashing
version             0.1.0
revision            0

categories-append   sysutil
supported_archs     noarch
platforms           {darwin any}
license             LGPL-3
maintainers         {i0ntempest @i0ntempest} openmaintainer

python.versions     310 311 312 313 314

description         Terminal dashboards for Python
long_description    Dashing is a library to quickly create terminal-based dashboards in Python

homepage            https://github.com/FedericoCeratto/dashing

checksums           rmd160  8bd4363d2e312d3b7cf455ac7ef205b5f08d94f8 \
                    sha256  2514608e0f29a775dbd1b1111561219ce83d53cfa4baa2fe4101fab84fd56f1b \
                    size    9637

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

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