# -*- 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
PortGroup           github 1.0

github.setup        ryan-roemer sphinx-bootstrap-theme 0.8.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                py-sphinx-bootstrap-theme
revision            0

supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         Sphinx bootstrap theme.
long_description    {*}${description}

checksums           rmd160  d764d6ad86dadb94f72e92b1c6404c61d7df614f \
                    sha256  1bda0f2ba302548f20c0f5211fbdd2c1efa02d3d8e1f0473a478ef49274e7543 \
                    size    1229193

python.versions     39 310 311 312

if {${subport} ne ${name}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst \
            LICENSE.txt HISTORY.rst ${destroot}${docdir}
    }
}
