# -*- 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.7.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  c84ef515093b8c7b1986eb8301298121f1463e53 \
                        sha256  e89eea03686c6602f8e8483606b63730723c692aad125dfb862bcde0f7175301 \
                        size    13431

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.8.0 \
                        rmd160  e678fbf405f6f2de2dd29b0a8b71baec9f1f1321 \
                        sha256  8c0922a390cb8c22c340d69aa24ecf3cd923b30ca28dc96965d32d4b3a4e917d \
                        size    1436856 \
                    golang.org/x/net \
                        lock    v0.10.0 \
                        rmd160  e26bea40a21e960dc55d8cc2a93d7bae8e95fb07 \
                        sha256  6d200787772d1979160f6154b97843f7455607e3531f5daa9f15257567c48352 \
                        size    1245719 \
                    golang.org/x/crypto \
                        lock    v0.9.0 \
                        rmd160  c3ee1830d0b8f4feff66342631289257e0d8a579 \
                        sha256  2a9ae65df245650050716c49363f9a91b4dc96bb6c44e5995abc9a07573604d0 \
                        size    1635329 \
                    github.com/stretchr/testify \
                        lock    v1.8.3 \
                        rmd160  c973f1f778c2d4411c273572bbdb719888bf047c \
                        sha256  09cfa5b82de227e4bec49f905965e4afa5d034761f5c4ff9ef10454b260fb96b \
                        size    104299 \
                    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/imdario/mergo \
                        lock    v0.3.15 \
                        rmd160  0c27e5c5e8b8420c84dd46211ce989b08569ede1 \
                        sha256  57724c1fd3782ffcc8735e6dcdf66a0dcb9ce2ea1ff17bcf87a2a3b93a7da788 \
                        size    28846 \
                    github.com/huandu/xstrings \
                        lock    v1.4.0 \
                        rmd160  d225ba1fcdf2ce2d98e32f5b3c5af232366b3eaa \
                        sha256  6138dc9240eab9971baa8707741227f3efe0d1b50d6ce4232360db9f164d2908 \
                        size    18406 \
                    github.com/hpcloud/tail \
                        lock    v1.0.0 \
                        rmd160  2c6daf876a9a3ff47d239f3485810799ae9ced66 \
                        sha256  aa9d7b729c8ee8b00c1a755ade77024e6b3ec4ac88585a39e31882260249f86b \
                        size    37817 \
                    github.com/google/uuid \
                        lock    v1.3.0 \
                        rmd160  300ea34c54ab7ce9d2a4bbd84a4fb49f11db02f8 \
                        sha256  ef8b7d74d99c8abd9706909eb3bbd063460d1970fbf62619599b78092b8687db \
                        size    16215 \
                    github.com/fsnotify/fsnotify \
                        lock    v1.6.0 \
                        rmd160  2d5150222f41b06715da40ebdceafb183979bd07 \
                        sha256  af0e2b174dd969ee214e5899eb499fec5a75f5319ab4c810256f6018649b2a2c \
                        size    46049 \
                    github.com/elgs/gosplitargs \
                        lock    7d16e488436a \
                        rmd160  7ecfa5ffb222669538f880920b59a912c4acc2ec \
                        sha256  e94c8688df34c633e3d24f5de72785c7492767d1305c46ea1cf86beaeffe82ba \
                        size    3714 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171 \
                    github.com/Masterminds/sprig \
                        lock    v2.22.0 \
                        rmd160  b26a0d2f2e833afcf8adcbfbb58660ee27e31e1d \
                        sha256  f170a47590a589c3958e69e298c3bffaa8a815bb0395f308b517c0c83cdbb30e \
                        size    42058 \
                    github.com/Masterminds/semver \
                        lock    v1.5.0 \
                        rmd160  362cf71258d78f9533f669fa2b346ad12fe8b101 \
                        sha256  e391f4be56118fa384f9a36d3e1e8094effc11c7eaf74db3d997e15bc0eb1fe7 \
                        size    21198 \
                    github.com/Masterminds/goutils \
                        lock    v1.1.1 \
                        rmd160  d50d8300ab7418bf2fe5bd0e7a5889f7906d082a \
                        sha256  9c750be5c0666f133c0bf8d9439a2e428b800276d4ab28dfc406fad8d66face6 \
                        size    14849

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