# -*- 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.7.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  87958a3a15e8145eaca31f68da3ec2def18b5591 \
                        sha256  df08c7aa8eb33c147ba38b628f53aff7baf3877d44c577d8964d9899e8052c81 \
                        size    7450641

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