# -*- 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/golang/vuln 1.10.0 v
go.package          golang.org/x/vuln
go.offline_build    no
go.toolchain_min    1.26.0
name                govulncheck
revision            0

description         \
    Govulncheck reports known vulnerabilities that affect Go code

long_description    \
    {*}${description}. It uses static analysis of source code or a binary's \
    symbol table to narrow down reports to only those that could affect the \
    application.

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

build.target        ./cmd/${name}

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

checksums           ${distname}${extract.suffix} \
                        rmd160  9f22e1262f6bdaf77748a2f39020bc04cefc9137 \
                        sha256  7ed6972819c5fb627aee623d20b91d5cad7a7afd07405de03a74094bc6d8db96 \
                        size    6447325
