# -*- 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.9.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  2ce19a30639f7612ccf2d422f9b5fcd16f6f8ad2 \
                        sha256  e5a0151c6516d7485750058984280fcf9332c4693f968164192fe92f454a04bb \
                        size    6446305
