# -*- 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.6.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  f31fc06988ec4a42cca91d6ef2cca63bba52bc5d \
                        sha256  70f82d70f3a6757babbeb4e6834536e572d1c822180619ac74b649e3e4f247fb \
                        size    6446280
