# -*- 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 4.0.2 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  10f8419f652b480f06588ef1de00ba291fa6c598 \
                        sha256  0b84c5090d3f48db1bdfab454b7cde79adb26015d1a2731bba59bc1a636276bb \
                        size    4153108

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