# -*- 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/tmccombs/hcl2json 0.6.8 v
revision            0

description         Convert HCL2 to json

long_description    \
    This is a tool to convert from HCL to json, to make it easier for non-Go \
    applications and scripts to process HCL inputs (such as terraform config).

categories          textproc sysutils
installs_libs       no
license             Apache-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

build.args-append \
    -ldflags \" -X main.Version=${version} \"

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

checksums           ${distname}${extract.suffix} \
                        rmd160  a1927b0a09683eefaae50108ab205d76aff19763 \
                        sha256  681ef77f32b86a065158575997c48420be148dd4308c4e0bea9c3e617b0f4047 \
                        size    14690

go.vendors          golang.org/x/tools \
                        lock    v0.31.0 \
                        rmd160  4010029845b483b0540774d5c8f864f1c619eccb \
                        sha256  06875c6821aa014ebd2ef94b25ee0faf87b62019678a6f1a865270d36c8de755 \
                        size    7660229 \
                    golang.org/x/text \
                        lock    v0.25.0 \
                        rmd160  d02d93425bfd59ec78a8a6bd17c06862c621fc61 \
                        sha256  9b4598673c5d873173ca6aa86367bd1960311a7fde8bbdda74efdd8482fa2f43 \
                        size    8973162 \
                    golang.org/x/sync \
                        lock    v0.14.0 \
                        rmd160  186b9c1139a6fe9160d971ea94865bbdb47420c8 \
                        sha256  8548a5cc9b82f170f867f1a0b2cbc1f683027588b77a3b141ae812718a358a94 \
                        size    18775 \
                    golang.org/x/mod \
                        lock    v0.24.0 \
                        rmd160  ceda1ff000bf847a4e08c3717a84e37d41bdfcc7 \
                        sha256  eabb00dfcb7b58a77912f3be7f727e18db5a8c195e9b294458dfc533e0d48249 \
                        size    126047 \
                    github.com/zclconf/go-cty-debug \
                        lock    0d6042c53940 \
                        rmd160  8e09053a3093588e0a04a11950d4ca4fe3b9c6da \
                        sha256  94b93484f767f4f5c99462d7071f48d2f7f529a386df18f9bb8a092759a81584 \
                        size    7602 \
                    github.com/zclconf/go-cty \
                        lock    v1.16.4 \
                        rmd160  b13cf148cb08aad17b75c0201e2dbe70751caebc \
                        sha256  78cc139bd33f931e24a9a7e9196380b2280d3f80260d17d570acc47806ef3d2a \
                        size    252117 \
                    github.com/mitchellh/go-wordwrap \
                        lock    v1.0.1 \
                        rmd160  aabcb6578a2dcdfc425e66174663b2ef483998ed \
                        sha256  32c15ef99c4288a9ea02387eb6cd79718da19c5b780590913990b1091827628f \
                        size    2928 \
                    github.com/hashicorp/hcl \
                        lock    v2.24.0 \
                        rmd160  3c78e373132966bfcc1f8d4e3ed8172e2d0ed70c \
                        sha256  0372345a4b2ed199022fa32b4320d04ebc8ce7a1ed66bf6cf0d67d4c67f77f1d \
                        size    448547 \
                    github.com/google/go-cmp \
                        lock    v0.6.0 \
                        rmd160  2c9f5dab93f8a0895591466fe4a07c5dd9166ae2 \
                        sha256  0d550825fae514f8a947ab7e42fcb874f509d9cbfa3ad2711d7570a25f31571a \
                        size    104795 \
                    github.com/go-test/deep \
                        lock    v1.0.7 \
                        rmd160  dc2e53ba63e0dc32e38b0f0553b21a58e3606ad7 \
                        sha256  9a5720bc008fd0f6efd94c157a0e7d86e3a6fbeee69ee73f82ac8a49882e5508 \
                        size    10204 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171 \
                    github.com/apparentlymart/go-textseg \
                        lock    v15.0.0 \
                        rmd160  ef720e5dd32bbaf319dc34ae765346ef0a62bd25 \
                        sha256  96a4d963b8270893b7bf812f6e5864ece9e92e2e05db0fcb724c4060a9d5fa73 \
                        size    137366 \
                    github.com/agext/levenshtein \
                        lock    v1.2.3 \
                        rmd160  aeb104e95f1a831c985cb09267b4cb3c7482be0c \
                        sha256  4721c8cc5b07642b66a7872af29468f6e4a2862716acbedc5fc4ffad186c6e8f \
                        size    13233
