# -*- 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/jondot/goweight 1.0.5 v
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
revision            0

description         A tool to analyze and troubleshoot the size of a Go binary

long_description    {*}${description}

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

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

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

checksums           ${distname}${extract.suffix} \
                        rmd160  5328bed2e556b914943e9aa5c9380bd541b02a2c \
                        sha256  d242ca9fb7d5ece7981c461af612d4c04f7bbe4e48dfae7aec99961d1ea1cdcb \
                        size    78312

go.vendors          gopkg.in/alecthomas/kingpin.v2 \
                        lock    v2.2.6 \
                        rmd160  af6db4648ec7638fb5cab49fd9536caa705f5fed \
                        sha256  31378085783496cff78c7d41479ccd6206c4f4e3892909ef0c2cd39e2de3b039 \
                        size    44374 \
                    github.com/thoas/go-funk \
                        lock    1060394a7713 \
                        rmd160  bab93d06509aef441775d81400c9c242d50db006 \
                        sha256  2433ddc63772e7a86b1eea7ba01b9b646ef5bff4788225a197a406e81c1a24c8 \
                        size    21322 \
                    github.com/stretchr/testify \
                        lock    v1.2.2 \
                        rmd160  45703d5a082af570664fb80e99918077596349aa \
                        sha256  ea0e76528dc47d7d84739cd8a8c7560e3f12d4ff490bdd2641a9990a168e6f2f \
                        size    101747 \
                    github.com/spf13/pflag \
                        lock    v1.0.2 \
                        rmd160  a5807d8fee0fe122aaed185066436d8c640c94eb \
                        sha256  4e39500bb2285c4b1299f57a8997a6a63a4ecdf5742903572dfcdcb8b74d07fa \
                        size    44066 \
                    github.com/pmezard/go-difflib \
                        lock    v1.0.0 \
                        rmd160  fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
                        sha256  7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
                        size    11409 \
                    github.com/mattn/go-zglob \
                        lock    2ea3427bfa53 \
                        rmd160  4fee750ce871ba2c7fbf917599baac7791a4f958 \
                        sha256  8b8b0cd95a5ee0637876ae404359ecb3df11f878782a0c1318663b418ff0b35a \
                        size    7711 \
                    github.com/dustin/go-humanize \
                        lock    9f541cc9db5d \
                        rmd160  eabfd48d52c4432fbb519fa6e896e7b0b9f340f8 \
                        sha256  db51fb5ee25a0d7cea3af62c9efa6187622c96bbcc383a78b1266e000f18f474 \
                        size    17269 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171 \
                    github.com/alecthomas/units \
                        lock    2efee857e7cf \
                        rmd160  b1fc6e021a0e5579179bf8629e4a50221e4aa805 \
                        sha256  ebe15098493671b52f282853872f23517613ad484b550881bef8eb1a1257b5aa \
                        size    3454 \
                    github.com/alecthomas/template \
                        lock    a0175ee3bccc \
                        rmd160  ed34ba888ec2b18c8fa2d745ff25dec1ce67d6d4 \
                        sha256  be0a63f0fece9a590713aa740e64b7cc4e923d57706d3b4f478c1cae0fd135b0 \
                        size    55257
