# -*- 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/jwilder/dockerize 0.13.0 v
categories          devel
maintainers         {amake @amake} openmaintainer
license             MIT

description         Utility to simplify running applications in docker containers

long_description    ${description}

build.pre_args-append \
    -ldflags \"-X main.buildVersion=v${version} \"


checksums           ${distname}${extract.suffix} \
                        rmd160  6d71e4965beaa3e7daeaf6310e63e5babfb8f486 \
                        sha256  152d612550d932167a5a4d87dae828a2433222b75fdd02617c0baf907637ccd7 \
                        size    18029

go.vendors          gopkg.in/yaml.v3 \
                        lock    v3.0.1 \
                        rmd160  e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
                        sha256  f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
                        size    91208 \
                    gopkg.in/tomb.v1 \
                        lock    dd632973f1e7 \
                        rmd160  ae07f5ddbbc6afc772d6dc5273bb72eaba50529a \
                        sha256  91c562a4e31c89d13e5391143ff653231fc2d80562743db89ce2172ad8f81008 \
                        size    3636 \
                    gopkg.in/fsnotify.v1 \
                        repo    github.com/fsnotify/fsnotify \
                        lock    v1.4.7 \
                        rmd160  24712e412814020224e2779186e634610e2f6926 \
                        sha256  bc839ee158ad34b81c1f11c3b9e3bcbabfba3297f61d165599880c400b8171dc \
                        size    31147 \
                    golang.org/x/sys \
                        lock    v0.45.0 \
                        rmd160  990854183e3073b67e059c1bd82743a639c0bc0a \
                        sha256  ad8a5b590f85b34a4289212b913fbdcfbb5149b3041d4d225f771d7387e3e2d4 \
                        size    1549517 \
                    golang.org/x/crypto \
                        lock    v0.52.0 \
                        rmd160  4ca7716a69392d64dfdf4f12f603b8a8c9ac03b0 \
                        sha256  668c141bb5f338c6ea4ced0034c480be3c637c58b11450fac261cf616f5958d4 \
                        size    2136260 \
                    github.com/stretchr/testify \
                        lock    v1.11.1 \
                        rmd160  d6dec631a506398b8b731a0476b9e44c206243ac \
                        sha256  759279b90772bfc79db1620874f45eb008aceab35b14f007cb4ab8316a2398db \
                        size    116867 \
                    github.com/spf13/cast \
                        lock    v1.9.2 \
                        rmd160  82408f9af9df6fdef7b2d17a6708f4244f4235d1 \
                        sha256  41a899e9f36abcea37dbeb842ebf34986cd75347dfd52f8ae376786497a9d884 \
                        size    24199 \
                    github.com/shopspring/decimal \
                        lock    v1.4.0 \
                        rmd160  f5d4faeaee2a7c3dbde037dbfb223f22e6d270a0 \
                        sha256  0cb83ee13420134951fdc8e07092061467bdcbd5574f1ee7c71c32c112cd2613 \
                        size    53702 \
                    github.com/pmezard/go-difflib \
                        lock    v1.0.0 \
                        rmd160  fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
                        sha256  7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
                        size    11409 \
                    github.com/mitchellh/reflectwalk \
                        lock    v1.0.2 \
                        rmd160  0371e346bfe14926662afff3eeda22ce6dc6d2a4 \
                        sha256  472ea8302bfe36cd5ea5a66cb9ee996d6984ce74bfc9b7c15e763f21687b3eff \
                        size    6863 \
                    github.com/mitchellh/copystructure \
                        lock    v1.2.0 \
                        rmd160  401559c8d2db7a6becabf583dca6843e5cd3c5ac \
                        sha256  e6cbd00eca63c91837cd094e89bda52d067163dc5b5db12758b8995c75fd3377 \
                        size    9936 \
                    github.com/jwilder/gojq \
                        lock    c550732d4a52 \
                        rmd160  ba126ce8a7964b970df9b9e2dd818892adbdd2b2 \
                        sha256  53e2ddbde845c0298771f766d60744273c2ab8710f9a65e0edcdcea88882e737 \
                        size    3017 \
                    github.com/huandu/xstrings \
                        lock    v1.5.0 \
                        rmd160  21d16c49ca702f22924a67cdb0b8411a15ca9968 \
                        sha256  a6431a90f2d11d26e0917d9db5275feff9b58980185798a36d4eea1772f37603 \
                        size    18597 \
                    github.com/hpcloud/tail \
                        lock    v1.0.0 \
                        rmd160  2c6daf876a9a3ff47d239f3485810799ae9ced66 \
                        sha256  aa9d7b729c8ee8b00c1a755ade77024e6b3ec4ac88585a39e31882260249f86b \
                        size    37817 \
                    github.com/google/uuid \
                        lock    v1.6.0 \
                        rmd160  3d4f6f95018c6313f7258805845eb2a7e717850c \
                        sha256  72700459e75cad2b36586e8a13aa12c2d6248c45db24d1eebf41e18b1ec1c811 \
                        size    20895 \
                    github.com/fsnotify/fsnotify \
                        lock    v1.9.0 \
                        rmd160  24b514b003e8a613b938e13f7df3ba60dc755499 \
                        sha256  46aaaf931594e32ce1e087da58dc8d3e27f0e34eaca38a9280f6c10a198d4166 \
                        size    73949 \
                    github.com/elgs/gosplitargs \
                        lock    cbd889c0f906 \
                        rmd160  1ae08047ea7d9f680d401e1c08e3c7a6535f9bae \
                        sha256  23b2c83b90ba59abd1f4d20ae9ea3df4e72bb2f231bac957ee3cd2f86827ed34 \
                        size    3469 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171 \
                    github.com/Masterminds/sprig/v3 \
                        lock    v3.3.0 \
                        rmd160  69b6f7483e18f8cf9c5ea026651dbf288e41ff49 \
                        sha256  7b7ce30fb6e40d50ba754a741fea77b65a7fe9576bdd780d87517fd3a44e13f7 \
                        size    56073 \
                    github.com/Masterminds/semver/v3 \
                        lock    v3.4.0 \
                        rmd160  fb7d28a0fe9225555dc50a61442124b2ee333088 \
                        sha256  233e23946be5203b61bd114e39f8b18ce6a407ca9b2379c2dff3e9c453b79f04 \
                        size    30831 \
                    github.com/Masterminds/goutils \
                        lock    v1.1.1 \
                        rmd160  d50d8300ab7418bf2fe5bd0e7a5889f7906d082a \
                        sha256  9c750be5c0666f133c0bf8d9439a2e428b800276d4ab28dfc406fad8d66face6 \
                        size    14849 \
                    dario.cat/mergo \
                        repo    github.com/darccio/mergo \
                        lock    v1.0.2 \
                        rmd160  6e0e389601eb6ff657c9fc9025408fc512728498 \
                        sha256  462311ba776dd809fccd7032581e93c1e62e1edd50aab06d5ca0efb12eba857e \
                        size    29108

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