# -*- 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/dominikh/go-tools 2024.1.1 go.package honnef.co/go/tools github.tarball_from archive name staticcheck revision 0 homepage https://staticcheck.io description Staticcheck - The advanced Go linter long_description \ Staticcheck is a state of the art linter for the Go programming language. \ Using static analysis, it finds bugs and performance issues, offers \ simplifications, and enforces style rules. Each of the 100+ checks has \ been designed to be fast, precise and useful. When Staticcheck flags \ code, you can be sure that it isn't wasting your time with unactionable \ warnings. While checks have been designed to be useful out of the box, \ they still provide configuration where necessary, to fine-tune to your \ needs, without overwhelming you with hundreds of options. Included with \ Staticcheck is a collection of tools for working with Go code, including \ linters and static analysis. categories devel installs_libs no license MIT maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer checksums rmd160 01ec78bdf9e8773237fdff9241b3999586253dcc \ sha256 fa0e5305e91ef126ac7de52c99a04728255fc694d45b0a9a3f1ca026a44828bf \ size 770639 go.offline_build no build.env-append CGO_ENABLED=0 set _build_path ${worksrcpath}/build build.pre_args -trimpath -o ${_build_path} build.args ./cmd/... pre-build { file mkdir ${_build_path} } destroot { xinstall -m 0755 {*}[glob ${_build_path}/*] ${destroot}${prefix}/bin/ } github.livecheck.regex {([0-9.]+)}