Ticket #53771: Portfile

File Portfile, 1022 bytes (added by 1-61803, 8 years ago)
Line 
1# -*- 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
2
3PortSystem          1.0
4PortGroup           github 1.0
5PortGroup           python 1.0
6
7github.setup        sivel speedtest-cli 1.0.2 v
8
9python.versions     24 25 26 27 31 32 33 34 35
10
11categories          net
12platforms           darwin
13license             Apache-2
14maintainers         nomaintainer
15
16description         cli for speedtest.net
17long_description    command line interface for testing internet bandwidth using speedtest.net
18
19checksums           rmd160  2adc370f3d20f11454246e53d385e330d4c6d102 \
20                    sha256  5eef0fce385bec72cc6b9413d8dea9d1af25ebd9f8ab67fea30bc34298013b9e
21
22depends_build-append \
23                    port:py${python.version}-setuptools
24
25post-destroot {
26    set docdir ${prefix}/share/doc/${subport}
27    xinstall -d ${destroot}${docdir}
28    xinstall -m 644 -W ${worksrcpath} \
29        LICENSE \
30        README.rst \
31        ${destroot}${docdir}
32}