# -*- 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/golangci/golangci-lint 1.18.0 v

platforms           darwin
categories          devel
license             GPL-3
installs_libs       no

maintainers         {gmail.com:herby.gillot @herbygillot} openmaintainer

description         Linters Runner for Go.

long_description    GolangCI-Lint is a linters aggregator. It's fast: on \
                    average 5 times faster than gometalinter. It's easy to \
                    integrate and use, has nice output and has a minimum \
                    number of false positives. It supports go modules.

checksums           rmd160  274b8bb58c6e6d6d20d7995d41928f635010e7d0 \
                    sha256  2d6c0f0e5f5e81ad6a72a150edfefad342a27ba92a045ca3a923af4a9f36fd0f \
                    size    3927480

build.args          ./cmd/golangci-lint

destroot {
    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
}