# -*- 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           golang 1.0

go.setup            github.com/codesenberg/bombardier 2.0.2 v
go.offline_build    no
revision            0

description         Fast cross-platform HTTP benchmarking tool written in Go

long_description    \
    ${name} is a HTTP\(S\) benchmarking tool. It is written in Go programming \
    language and uses excellent fasthttp instead of Go's default http \
    library, because of its lightning fast performance.

categories          net www
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  9615712e29c37155ef158543b1e8cf86ba53faf8 \
                    sha256  472b14b1c3be26a5f6254f6b7c24f86c9b756544baa5ca28cbfad06aacf7f4ac \
                    size    151096

build.args-append   -ldflags \"-X main.version=${version}\"

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}
