# -*- 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/asciimoo/wuzz 0.5.0 v
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
revision            1

description         Interactive cli tool for HTTP inspection

long_description    {*}${description}. Wuzz command line arguments are \
                    similar to cURL's arguments, so it can be used to \
                    inspect/modify requests copied from the browser's network \
                    inspector with the "copy as cURL" feature.

categories          www net
license             AGPL-3
installs_libs       no

checksums           rmd160  cbb17c039383a6899738e1dc0b23f4837f0ee55a \
                    sha256  f71b6012603f6ee5a830f748a412f658a528721608f8200310e096a56647961e \
                    size    125549

maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

# Allow fetching deps at build time
go.offline_build no

pre-build {
    system -W ${worksrcpath} "${prefix}/bin/go mod tidy"
}

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