# -*- 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/ffuf/ffuf 2.2.1 v
go.toolchain_min    1.18
go.offline_build    no
revision            0

description         Fast web fuzzer written in Go

long_description    \
    {*}${description}. Supports virtual host discovery, directory discovery, \
    GET & POST parameter fuzzing, and more.

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

checksums           rmd160  ce70d6606ee130c5890bee6cac65b28bfaf7ac56 \
                    sha256  3c47086915216021bec493d59e5f07fc413e39675aeb0bea5b69e1a0c7fd877e \
                    size    279701

build.pre_args-append \
    -ldflags \"-X ${go.package}/pkg/ffuf.VERSION_APPENDIX= \"

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