# -*- 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.8.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  36a3ddf9f254308d151af2169df8b86059164c46 \
                        sha256  f02847e4ab2d18159fd28d22a7001f2c1bbc2eb62ba884831ae35ea89f81b882 \
                        size    6447291
