# -*- 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.0 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  eca634549efa7b9e8bd4abf6a2e9479945937657 \
                        sha256  8d5e350be7be6a1e08811359f5e0e3dc922113a19ad26a3813d82607c303022e \
                        size    4113963

# 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/
}
