# -*- 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/dundee/gdu 5.28.0 v
go.package          github.com/dundee/gdu/v5
github.tarball_from archive
revision            0

description         Disk usage analyzer with console interface written in Go

long_description    Pretty fast disk usage analyzer written in Go.  Gdu is \
                    intended primarily for SSD disks where it can fully \
                    utilize parallel processing. However HDDs work as well, \
                    but the performance gain is not so huge.

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

build.cmd           make
build.args-append   VERSION=${version} \
                    build

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

    xinstall -d ${destroot}${prefix}/share/man/man1

    xinstall -m 0644 \
        ${worksrcpath}/${name}.1 \
        ${destroot}${prefix}/share/man/man1/${name}-go.1
}

notes "
    ${name} has been installed as `${name}-go`.
"

checksums           ${distname}${extract.suffix} \
                        rmd160  de4b035968563ec67f16f4ea301fc440633df5f2 \
                        sha256  b184046e76a97f4205b745d431655b7910f8c7b41a8592d68c4cbf61e3b14125 \
                        size    145882

go.vendors          gopkg.in/yaml.v3 \
                        lock    v3.0.1 \
                        rmd160  e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
                        sha256  f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
                        size    91208 \
                    gopkg.in/check.v1 \
                        lock    41f04d3bba15 \
                        rmd160  1e5543a8e6a3159296ee63e28cbde9931a04f6b3 \
                        sha256  c41575a73d10809f89b05ef9e783f2d53facdc6573697770d30efb05a9d2dc28 \
                        size    31612 \
                    golang.org/x/text \
                        lock    v0.14.0 \
                        rmd160  e26a72d542901d19f6dde4e07746f72206fb8701 \
                        sha256  ef54709caaafdd8b27ce3d5f7c53408f11bc5fd1688c1c4f328de8ed268b3188 \
                        size    8972503 \
                    golang.org/x/term \
                        lock    v0.17.0 \
                        rmd160  31ced8e78b09ea4d3033ec24f1f27f221f9e4648 \
                        sha256  a83f4b75c5448d85a9167b3bec3f45d7a7564088ce376cf0c26b7dd2bff1d563 \
                        size    14743 \
                    golang.org/x/sys \
                        lock    v0.17.0 \
                        rmd160  bc96655eb5e0e6a21c3c7faf4197a25b5e974f53 \
                        sha256  5f94836d82aa1bbb99219d62a5a379b2b36f62dd8ea59207dcbb86b35eae5b1d \
                        size    1446795 \
                    golang.org/x/net \
                        lock    v0.17.0 \
                        rmd160  3e1d150fbede0be1af1b248e536930de2446ef0e \
                        sha256  6bb73c8f9eef753cab2b18d4af7893ff955b4427c6d34c8f4d7c9127d09abcc0 \
                        size    1456371 \
                    golang.org/x/exp \
                        lock    2c58cdc269a3 \
                        rmd160  6cf637ec5049215062c4a498de38c81b55194810 \
                        sha256  94a8bbf8c26c42a7d421298b21bd831b5962c9f7a399e8c520a855211991d695 \
                        size    1719353 \
                    go.opencensus.io \
                        repo    github.com/census-instrumentation/opencensus-go \
                        lock    v0.22.5 \
                        rmd160  42d6da422ed33a4d60ad8c73fb4dedbc74e48b4d \
                        sha256  646fa9bb863465c081b3f979815bcfe6e9b17f7eca6eb4fc62172af11e19d75b \
                        size    171344 \
                    github.com/stretchr/testify \
                        lock    v1.9.0 \
                        rmd160  59147e117812fdf8270ec79e46a229c472caf08d \
                        sha256  e6fa4f530cad5bac94bf08af05ddd1f569aeac8db4017ab4330ab7fe2802a6a3 \
                        size    108716 \
                    github.com/spf13/pflag \
                        lock    v1.0.5 \
                        rmd160  2ce81608a38c6f383a35bccd24d64361df5828c9 \
                        sha256  7f41acdcba65b1fab5b9b633947a139f9915b60f94bdab486cdbe9d90c54f61e \
                        size    50815 \
                    github.com/spf13/cobra \
                        lock    v1.8.0 \
                        rmd160  d506ddb57519970c8227ded6411adb8153fc8278 \
                        sha256  f35c4dd06645b4bca315c7d7f9a245f9d8851bb5fd43331fcb2aadbd585149e9 \
                        size    189731 \
                    github.com/spaolacci/murmur3 \
                        lock    v1.1.0 \
                        rmd160  53215abb0d59b6c64e926e90fb33da1906a1a525 \
                        sha256  54d6a3300600dd2f5e444f6d19fe1f91e1174329cdfff1d50dae837689214a68 \
                        size    7396 \
                    github.com/sirupsen/logrus \
                        lock    v1.9.3 \
                        rmd160  db211aeb52d4a85a7dc8acf83f7475b5f4fa9092 \
                        sha256  36a05391b8c6cef99e9a9c78b598f3a8da8feed318b385eadcdede08ae5cc229 \
                        size    50327 \
                    github.com/rogpeppe/go-internal \
                        lock    v1.6.1 \
                        rmd160  60a7c8a40bd73160f7a61ab365d9ebab06ff90a1 \
                        sha256  ccd0e3ec65e987ddb9719f0e1db82aee660db3bfcfc7bd031bcccc1df0d1fc85 \
                        size    123139 \
                    github.com/rivo/uniseg \
                        lock    v0.4.7 \
                        rmd160  a9056dc9a2a80aa9c46d0ff9e54f9e2e5a498c41 \
                        sha256  abc6a2f17b64b34b8a0c56eb9d0b53886ebbe0c88d467755c09c7fa696a16677 \
                        size    458166 \
                    github.com/rivo/tview \
                        lock    861aa94d61c8 \
                        rmd160  9c78fc6b1cd20e93917a5913db8101e8acd6909b \
                        sha256  1627d82a9a6238365d1ce49caa7b57374ffa3dca9bfb6643af1a5ff74d019293 \
                        size    2025592 \
                    github.com/pmezard/go-difflib \
                        lock    v1.0.0 \
                        rmd160  fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
                        sha256  7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
                        size    11409 \
                    github.com/pkg/errors \
                        lock    v0.9.1 \
                        rmd160  dc065c655f8a24c6519b58f9d1202eb266ecda40 \
                        sha256  208d21a7da574026f68a8c9818fa7c6ede1b514ef9e72dc733b496ddcb7792a6 \
                        size    13422 \
                    github.com/pbnjay/memory \
                        lock    7b4eea64cf58 \
                        rmd160  418cbfd363c0334f91132d717b74dd2d89fa6383 \
                        sha256  12d127e6212ffb94ebfa913f90102977f87a9bdcd3738f9a1e4ca78a2f3f17a2 \
                        size    3569 \
                    github.com/mattn/go-runewidth \
                        lock    v0.0.15 \
                        rmd160  702d468077550681ac11c3c2f3f5c9f98a868798 \
                        sha256  a6b5f47ffe7329895a605c356ff806dfd50b536bbc87af77773e55ad6e52d2db \
                        size    18287 \
                    github.com/mattn/go-isatty \
                        lock    v0.0.20 \
                        rmd160  ef20ccdf87de8b704c0c7118625b2beb31d8f1b4 \
                        sha256  397549e98cf5d40df585f31dc7902f017c37be88c64311dd2b4aeccab4009949 \
                        size    4717 \
                    github.com/mattn/go-colorable \
                        lock    v0.1.13 \
                        rmd160  c9e8ab9d0773c0984f36235e3c9f8c033552ac1a \
                        sha256  0cd9a951799c1a9f999df56e4b020170fa887456049c274aae6262d9ae3f7424 \
                        size    9778 \
                    github.com/maruel/natural \
                        lock    v1.1.0 \
                        rmd160  303cae8bfacd0535b896377fc3f3c4e0729669b0 \
                        sha256  89773382571e93c89d28f63f2c382daf50c953d4afcf27221cce0ba3e4d632f9 \
                        size    8933 \
                    github.com/lucasb-eyer/go-colorful \
                        lock    v1.2.0 \
                        rmd160  a4183d0625e6c94474942cdc544c1061d35c4e34 \
                        sha256  fbad1aade4444bf51409f5b6a008cc14c7a7cdd1af856841fc1170605fae3914 \
                        size    970841 \
                    github.com/kr/text \
                        lock    v0.2.0 \
                        rmd160  48558c7e8ff67d510f83c66883907e95f4783163 \
                        sha256  2f2e21ac8a9d523e88cbba4039441defc4a66bfaa78811c900a88fcf28729c4c \
                        size    8702 \
                    github.com/kr/pretty \
                        lock    v0.3.0 \
                        rmd160  0895c899b9d88b87beccda0a9b4c5c7057e858f0 \
                        sha256  88d8d187ffa4faf0362b48c3d327ad440c7e5fb179ea3247e69269cab128a6b9 \
                        size    10043 \
                    github.com/klauspost/compress \
                        lock    v1.12.3 \
                        rmd160  935320823553891f7b8daa62f03bde07a732ac44 \
                        sha256  81e146e96e348c4545800505a42822efa6a04a785be7acaf4a243112dba20f7a \
                        size    15350008 \
                    github.com/inconshreveable/mousetrap \
                        lock    v1.1.0 \
                        rmd160  88f9577df93ac0f8801d8960adc7f28e38867f3e \
                        sha256  f69af10ff08c0e87f92dac3ee5172d8ed02463725b74edfc8943ef018a1a632d \
                        size    5343 \
                    github.com/google/flatbuffers \
                        lock    v1.12.1 \
                        rmd160  af6bb4c02e7bd0e6ee683e6d9ce24e7e08f3b575 \
                        sha256  54bb20fc181b52db56cfb46573651b03d9c16182222e889561233bc293ea0886 \
                        size    1145588 \
                    github.com/golang/snappy \
                        lock    v0.0.3 \
                        rmd160  171e3de70a1e477829c27cf67e87d29ee461e043 \
                        sha256  5d2b36b275164254106f20d2843ff65a4e3fccca5aaf0f9a50aa875b59add4f3 \
                        size    65996 \
                    github.com/golang/protobuf \
                        lock    v1.3.1 \
                        rmd160  801150957b99de8eef10cb8d5ea2a08b240f2cb5 \
                        sha256  a53c2c8c5c02311d2fa3bc6656614e20f9e5568b87c9f07702f083457e69f7d2 \
                        size    310935 \
                    github.com/golang/groupcache \
                        lock    869f871628b6 \
                        rmd160  2084d9ccfa9b4a2c851d1523311914d7a1c3b80c \
                        sha256  7baec0b637c75c392c2a93d3ccb7796841af42be3615182c67f193a98acd005e \
                        size    26045 \
                    github.com/golang/glog \
                        lock    23def4e6c14b \
                        rmd160  b5bd9166cd1e073a035b5bbd3c4d9febf2c917a7 \
                        sha256  2826d20759090e909ba0f8771def236ad6433fc3e44bdc28374b309efe3e57cf \
                        size    19662 \
                    github.com/gogo/protobuf \
                        lock    v1.3.2 \
                        rmd160  c16e6e6fb8f26d3d1ceef9e99fa4dfb5899878fd \
                        sha256  d24f8e0b99dbc6ffaa0731490bf80d3ab4cb0b332bcf4b57e3fd830c60e0960b \
                        size    2040306 \
                    github.com/gdamore/tcell \
                        lock    v2.7.1 \
                        rmd160  7c54dbf3ce4fb9076ec0f76af7a0036d71eb566d \
                        sha256  d3ca6524f383b8e3542bac5bf6cee677e435cedbf6d8ff818321fee6f4b4f05c \
                        size    178791 \
                    github.com/gdamore/encoding \
                        lock    v1.0.0 \
                        rmd160  3ed8916f763a5b51db1bcc8bd3ad06cf3d12ec07 \
                        sha256  4f470c7308790bea8a526ea26cecbaa22345aad8dc566821cda6175b3d241ee1 \
                        size    10900 \
                    github.com/fatih/color \
                        lock    v1.16.0 \
                        rmd160  e366491b67c4f4afbc5d3a26f2b76585d06f8381 \
                        sha256  968744e2d5468beab9fe694143737c0c9e5cebfe860211c521a8424320cfa910 \
                        size    12112 \
                    github.com/dustin/go-humanize \
                        lock    v1.0.0 \
                        rmd160  e8641035159ea3e8839ee086f01f966443956303 \
                        sha256  e45e3181c07b3e2dad8e1317e91a5bbbee4845067e3e3879a585a5254bc6a334 \
                        size    17273 \
                    github.com/dgryski/go-farm \
                        lock    6a90982ecee2 \
                        rmd160  a9f7f2372bd4bce849b55eef441e43b9a09330b0 \
                        sha256  e90d46f1d9f70d28d20e4791aad8c2dbe7900d65bf42140018c443b3480eef72 \
                        size    26795 \
                    github.com/dgraph-io/ristretto \
                        lock    v0.1.0 \
                        rmd160  e7cc4ceac4227ccaad9b21b5f2d19afc89a0244b \
                        sha256  38fc1990f18b1141672b6236853dd484b1a6993763b7b79376cc521a091b9e21 \
                        size    310256 \
                    github.com/dgraph-io/badger \
                        lock    v3.2103.2 \
                        rmd160  ee01113ff591c4e58ff0dfe372125d641e0929fa \
                        sha256  5b53d88e2f9736ae9e5e6028721e37c00eafe078eb45146b895cf247bce93cb5 \
                        size    2566452 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171 \
                    github.com/cespare/xxhash \
                        lock    v2.1.1 \
                        rmd160  0c0da0840864215209db2afcd2ee92a52ca2d4d1 \
                        sha256  7416baf9eeefe07e3c50c57826d839cdbba125ea0a6d74af378e865df4f25e00 \
                        size    9300 \
                    github.com/OneOfOne/xxhash \
                        lock    v1.2.2 \
                        rmd160  35e2c7b623c069fc08aec00990ca5c82ad831a22 \
                        sha256  e6a73b9f6acc9b361ea77edcb6f29103e96ac0c623c6d2882909698180e54694 \
                        size    13444
