# -*- 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/editorconfig-checker/editorconfig-checker 3.6.1 v
categories          devel
maintainers         {judaew @judaew} openmaintainer
license             MIT

description         \
    A tool to verify that your files are in harmony with your .editorconfig
long_description    {*}${description}

checksums           ${distname}${extract.suffix} \
                        rmd160  dc2a571a05d4022e8188d57c43d3d3392228aa30 \
                        sha256  8c8e6662b076fdb21767e0df99b12b71cbcde5cfbbd8a084b4cf94fe09b72826 \
                        size    4115341

# FIXME: This port currently can't be built without allowing go mod to fetch
go.offline_build no

build.args          ./cmd/...

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