# -*- 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.7.0 v
go.package          golang.org/x/vuln
go.offline_build    no
go.toolchain_min    1.25.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  eecd1b7ef91d62b99e459a3696a2a85e75d5e4c9 \
                        sha256  4fb7f0204b7e039f550d8938b714c5218d870694895585e0e19b2c0c4700e4c7 \
                        size    6447288
