# -*- 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/gobuffalo/packr 2.8.3 v
go.package          github.com/gobuffalo/packr/v2
revision            1

description         The simple and easy way to embed static files into Go \
                    binaries.

long_description    Packr is a simple solution for bundling static assets \
                    inside of Go binaries. Most importantly it does it in a \
                    way that is friendly to developers while they are \
                    developing.

categories          devel
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

build.env-append    PATH=$env(PATH):${gopath}/bin
build.cmd           make
build.target        build

use_parallel_build  no

patch {
    reinplace {s|\($(GO_BIN) build\)|\1 -o ./bin/packr2|} \
        ${worksrcpath}/Makefile
}

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

checksums           ${distname}${extract.suffix} \
                        rmd160  31e9ebe6e321428c747c9e4c28a71ac0ee1e27ca \
                        sha256  67352bb3a73f6b183d94dd94f1b5be648db6311caa11dcfd8756193ebc0e2db9 \
                        size    75550

go.vendors          gopkg.in/yaml.v3 \
                        lock    496545a6307b \
                        rmd160  16a43936d8ae6243895e23465132977d3a1193c2 \
                        sha256  333e78b3b9cb73b3572d62f692d32426a8554b86c93025ea032f779395869e84 \
                        size    90145 \
                    gopkg.in/check.v1 \
                        lock    788fd7840127 \
                        rmd160  b63165c8909a27edc15dda210df66a1b49efb49e \
                        sha256  7e5547c6471cc48da89a7c87f965b20ca5311f43fc4d883ca62f9fccf7551630 \
                        size    31597 \
                    golang.org/x/tools \
                        lock    v0.1.7 \
                        rmd160  8ae3eece96ce5d618f012a71e4603c4d7e5f0b1f \
                        sha256  a4ad7b10e5f5d4de2628602b5998601547d386eca0444666b9220076f355a5ea \
                        size    2884433 \
                    golang.org/x/term \
                        lock    03fcf44c2211 \
                        rmd160  a1b9592e95373ba617ef579a2f7015cfdc871343 \
                        sha256  3673415a6d3d106d49b487715e151fc64245502ef547c16e8e13edb6b8f2f492 \
                        size    14975 \
                    golang.org/x/sys \
                        lock    d867a43fc93e \
                        rmd160  3168e52ecc2e2c567865a02b57453d64be2cdbd7 \
                        sha256  ee62191bdeaa21020ed9d0f177d79e40f44f89620af1503c4d9247e2fe93d57e \
                        size    1203249 \
                    golang.org/x/sync \
                        lock    036812b2e83c \
                        rmd160  f42be6eb3565d2ed3d1066ea1a7f69437c8bb1e6 \
                        sha256  6f1daceb16cd75bdbf35da6c50aa352d1995d68ccd0049851d27686f451fad92 \
                        size    18756 \
                    github.com/stretchr/testify \
                        lock    v1.7.0 \
                        rmd160  adae5096e8c4cfcc8e3f6d096646d1165b5ef49a \
                        sha256  f7dde97d0c9634483ae6ea273968f80f3105c22382a1f841886cd20d57586642 \
                        size    91096 \
                    github.com/spf13/pflag \
                        lock    v1.0.5 \
                        rmd160  2ce81608a38c6f383a35bccd24d64361df5828c9 \
                        sha256  7f41acdcba65b1fab5b9b633947a139f9915b60f94bdab486cdbe9d90c54f61e \
                        size    50815 \
                    github.com/spf13/cobra \
                        lock    v1.2.1 \
                        rmd160  8cbd41c202bb65c6fc38d041db51f7710bd77a87 \
                        sha256  7b6b30de08140e72fe8cebf3bba802ed4748f102cf977236e9e89af10d374b04 \
                        size    161348 \
                    github.com/sirupsen/logrus \
                        lock    v1.8.1 \
                        rmd160  aeb4e5f2ea8112e787a72fba611605c4c87f42b5 \
                        sha256  931c31f624d05136760b41a63f6bc146b79ac91776b4642cbd2026c2792e3aca \
                        size    47184 \
                    github.com/rogpeppe/go-internal \
                        lock    v1.8.0 \
                        rmd160  22e8b4dadfbeefb32fd38f3ebab26c94d4b165c5 \
                        sha256  c7ab367e516959a51525f8152a62df0acc9a32ca153a502da967f072ae69d899 \
                        size    129032 \
                    github.com/pmezard/go-difflib \
                        lock    v1.0.0 \
                        rmd160  fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
                        sha256  7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
                        size    11409 \
                    github.com/markbates/safe \
                        lock    v1.0.1 \
                        rmd160  6ec0e8a1c7b9cd9446c1bcf90a2478ca1b6a02b0 \
                        sha256  0f4a1f8a3a6c9b2469eb36a65e9f0c2fdd4bcf797ae8e090e37a38f2bf9ac16e \
                        size    2893 \
                    github.com/markbates/oncer \
                        lock    v1.0.0 \
                        rmd160  b5b66234f30c1d196ed2aba4e5848d38d9ed9250 \
                        sha256  692ff60449691162dacb4df3a2a33c480caff0a6f694aeaf20ea314092027c70 \
                        size    3857 \
                    github.com/markbates/errx \
                        lock    v1.1.0 \
                        rmd160  fda626316930bcf571593127d20d34d1844e8224 \
                        sha256  7bb0da7750624def72a3ffde919ded0408b458cb86d82bba169351760a3b3aa0 \
                        size    2659 \
                    github.com/kr/text \
                        lock    v0.1.0 \
                        rmd160  0b3c78459e227170a3b80a0103d87a3eef77ed88 \
                        sha256  5ed970aad0da3cba3cffacdb4d154a162a8968655ee6d6f7b627e71b869efaf6 \
                        size    8691 \
                    github.com/kr/pretty \
                        lock    v0.1.0 \
                        rmd160  9aa7a5aad4c48840eecfd0f80186d1fb5ded0fd6 \
                        sha256  f6c3f89667c63e5b7f1fc6ee2c06b6a6bfdce88f3a965ccd395b64c6f95c9a47 \
                        size    8553 \
                    github.com/karrick/godirwalk \
                        lock    v1.16.1 \
                        rmd160  8fb4d41a69f68133784172f95c03af798b07eaab \
                        sha256  5be9a6cb67201740c0bd74ee3b62494cac2b0c47695efdc010e7be25c2b29d74 \
                        size    27134 \
                    github.com/inconshreveable/mousetrap \
                        lock    v1.0.0 \
                        rmd160  5c617a09f1432fc543672a0e0c1e13d3752030c2 \
                        sha256  0e6bae2849f13d12fe361ecac087728e4e97f3482f4cec44f6e7a2c53bb9cd0c \
                        size    2291 \
                    github.com/gobuffalo/packd \
                        lock    v1.0.1 \
                        rmd160  b0634fc2bf777c168e881f6b3aea769f212c9b18 \
                        sha256  12ee3c46b7501ae92f24c3b7611e292cd6ab6f7658d70b67e40d9986c39c621c \
                        size    8871 \
                    github.com/gobuffalo/logger \
                        lock    v1.0.6 \
                        rmd160  f30a3ee61ce0a96f7c28a91c601d1e3aa1ae6844 \
                        sha256  43f41a65ebfcd3ddc6c2166487b2994b01d9f91fee5375a033d05a965a491ad4 \
                        size    6425 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171
