Ticket #44299: Portfile

File Portfile, 1.5 KB (added by aque (Allan Que), 9 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# $Id$
3
4PortSystem          1.0
5
6name                iperf3
7version             3.0.11
8categories          net
9platforms           darwin
10license             bsd
11maintainers         gmail.com:allan.que openmaintainer
12description         Measures the maximum achievable bandwidth on IP networks
13long_description    ${name} is a tool for active measurements of the maximum \
14                    achievable bandwidth on IP networks. It supports tuning \
15                    of various parameters related to timing, protocols, and \
16                    buffers. For each test it reports the bandwidth, loss, \
17                    and other parameters.
18homepage            https://github.com/esnet/iperf
19
20master_sites        http://downloads.es.net/pub/iperf
21distname            iperf-${version}
22
23conflicts           ${name}-devel
24
25checksums           rmd160  eb371c0879fad6f2068a279704d637123bbd9162 \
26                    sha256  e01db5be6f47f67c987463095fe4f5b8b9ff891fb92c39104d042ad8fde97f6e
27
28subport ${name}-devel {
29    PortGroup           github 1.0
30
31    github.setup        esnet iperf 25eb62c7cddc86cb42c6802841b3a8202511cad0
32    version             20150521
33    fetch.type          git
34
35    conflicts           ${name}
36}
37
38if {${name} == ${subport}} {
39    livecheck.url       ${master_sites}
40    livecheck.regex     {iperf-(\d+(?:\.\d+)*)}
41    livecheck.type      regex
42} else {
43    livecheck.type      none
44}
45