# -*- 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 2.8.0
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
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  ebcbd3d310a6694191cfa38aac5f9b6b40ffeaac \
                        sha256  1874a4b33796e13d0dd8af84c5bfac375c2e477dbfe938b1b5aed1565043b6a5 \
                        size    521491

go.vendors          gopkg.in/yaml.v3 \
                        lock    v3.0.1 \
                        rmd160  e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
                        sha256  f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
                        size    91208 \
                    gopkg.in/ini.v1 \
                        lock    v1.67.0 \
                        rmd160  4aa285a6719b0bb909b12bb70cb08cdf66ffeff3 \
                        sha256  596cc2f7a771b35a1d308449ee2e3f96a79f834dd6d8d3c863c0fff321f70777 \
                        size    53538 \
                    golang.org/x/text \
                        lock    v0.14.0 \
                        rmd160  e26a72d542901d19f6dde4e07746f72206fb8701 \
                        sha256  ef54709caaafdd8b27ce3d5f7c53408f11bc5fd1688c1c4f328de8ed268b3188 \
                        size    8972503 \
                    golang.org/x/net \
                        lock    v0.17.0 \
                        rmd160  3e1d150fbede0be1af1b248e536930de2446ef0e \
                        sha256  6bb73c8f9eef753cab2b18d4af7893ff955b4427c6d34c8f4d7c9127d09abcc0 \
                        size    1456371 \
                    golang.org/x/mod \
                        lock    v0.12.0 \
                        rmd160  cb4748b4ac933d04f5b0fbbcea18704996acf815 \
                        sha256  862b0f7fade1457270ea33b26cebe3c2c6918f15f5fe40f9ee32335440ef05fe \
                        size    123221 \
                    github.com/stretchr/testify \
                        lock    v1.7.0 \
                        rmd160  adae5096e8c4cfcc8e3f6d096646d1165b5ef49a \
                        sha256  f7dde97d0c9634483ae6ea273968f80f3105c22382a1f841886cd20d57586642 \
                        size    91096 \
                    github.com/pmezard/go-difflib \
                        lock    v1.0.0 \
                        rmd160  fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
                        sha256  7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
                        size    11409 \
                    github.com/google/go-cmp \
                        lock    v0.5.9 \
                        rmd160  9832ae80123461baed8aa20e830199c0e21e337b \
                        sha256  3058d20d61f03aa05fca0fc07acb8c50850c68086998c542857aec7ad1529482 \
                        size    104431 \
                    github.com/gabriel-vasile/mimetype \
                        lock    v1.4.3 \
                        rmd160  7cc45a302c1d936bcaf3cc0343e72206dd59c0b4 \
                        sha256  a64578fd8d2a03e1ef76f8aabcf390baefbf1283815d8a5165e3f71b3889ad73 \
                        size    24986313 \
                    github.com/editorconfig/editorconfig-core-go \
                        lock    v2.6.0 \
                        rmd160  e3c93ef5cebeea381416c124b97bb28d70f376cf \
                        sha256  d2747eeb78052874607dc9a4e1069bed5622fbaf5bfb0f382aae20e7a442458d \
                        size    16688 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171 \
                    github.com/baulk/chardet \
                        lock    v0.1.0 \
                        rmd160  ab40b9db14f92d24ed3f3982efd3fcb39683b396 \
                        sha256  f16017e0d67903fdcbcc4016ffe11bb6a9f8711393e4fef11eaadaee43e1e4d1 \
                        size    267243

build.args          ./cmd/...

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