# -*- 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 2023.1.3 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 d36355a4dc2dc9343da9c363778d1788d855246c \ sha256 c3a140e3166b0e6025267619de6f8f01e056527c347eacf780be3d2e03f341eb \ size 727784 build.env-delete GO111MODULE=off GOPROXY=off 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/ }