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

github.setup        sivel speedtest-cli 2.1.2 v
revision            0

python.default_version 37

categories          net
platforms           darwin
license             Apache-2
maintainers         {khindenburg @kurthindenburg} openmaintainer

description         cli for speedtest.net
long_description    command line interface for testing internet bandwidth using speedtest.net

checksums           rmd160  acf73408489cf5ae0e30a5280e8882c219926a94 \
                    sha256  44f66bfeb8d651d152da8b3699f645e630d13fcc9963ba29a2fcc6e6a5b90af4 \
                    size    24758

depends_lib-append \
                    port:py${python.version}-setuptools

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