# -*- 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/aaronjanse/3mux 1.1.0 v
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
revision            0
categories          sysutils
maintainers         {@sikmir gmail.com:sikmir} openmaintainer
license             MIT

description         Terminal multiplexer inspired by i3

long_description    ${name} is a terminal multiplexer with out-of-the-box \
                    support for search, mouse-controlled scrollback, and i3-like \
                    keybindings. Imagine tmux with a smaller learning curve and \
                    more user-friendly defaults.

# See https://github.com/aaronjanse/3mux/issues/121
patchfiles          patch-TMPDIR.diff

checksums           ${distname}${extract.suffix} \
                        rmd160  75fa569a0f6e43c08cacaefb82807c933d1cc007 \
                        sha256  335aeb24036cfb1ae0462ba88f29b208adde202b673d35034aa639ea765e5931 \
                        size    10342007

go.vendors          golang.org/x/text \
                        lock    v0.3.2 \
                        rmd160  3b9523084f6a8b2e6a6987e49c56f05e22ad69eb \
                        sha256  d624899dfd390d9d4a77e5c8e5abd8c45f0b6163e0dc7176aee39f25c5f1bed0 \
                        size    7168458 \
                    golang.org/x/sys \
                        lock    059865788121 \
                        rmd160  6547b831afd7544cf84853c58d6744887e97d4af \
                        sha256  ac404719da5dc2f0fcf63e45e8791173391c13e0b19ce9894d6df664d8e773f2 \
                        size    1052860 \
                    golang.org/x/crypto \
                        lock    06a226fb4e37 \
                        rmd160  0f11f7dda23b2dfd20a436eae805e768e7a91b9b \
                        sha256  a9b23e5976f0bc8cea58568726a2c0b5e11e8d213323e0d5dc6f309266431013 \
                        size    1728444 \
                    github.com/sevlyar/go-daemon \
                        lock    v0.1.5 \
                        rmd160  5ae4481cac8b47e4b46ae6a97c724b73b3a3a46f \
                        sha256  5a0f7a0267b778cdc93bd741294b57100bd5238fe23edd6fed223f9821294603 \
                        size    64137 \
                    github.com/nu7hatch/gouuid \
                        lock    179d4d0c4d8d \
                        rmd160  0a5432c115b8f8ec2e914809add53ac73c879cb4 \
                        sha256  8049096c9cc5cb114e80acb40b4183e6cf6772ed44b5a271c6a305db80e55568 \
                        size    3744 \
                    github.com/npat-efault/poller \
                        lock    v2.0.0 \
                        rmd160  299be58c639eb6126e6cfd55da3994511bd6bc6f \
                        sha256  c86fabfe1b2267434e4590a3190e7beb7e626352f49c7fa0e5389011721da5d5 \
                        size    15854 \
                    github.com/mattn/go-runewidth \
                        lock    v0.0.9 \
                        rmd160  412c0e508e55f4fe437be0f71d7d22eca2b4366f \
                        sha256  4f0f4a22257ccecfb6beae88052d850380ecc0e806d6bcc92d3656ebcac3b638 \
                        size    16716 \
                    github.com/kardianos/osext \
                        lock    2bc1f35cddc0 \
                        rmd160  9a45814aa98c9eb32b6c46ceb00e760d486c71ef \
                        sha256  ed51f32d6729696e216d051b3955c22161a970aaef01c1819d85ad179e51ba41 \
                        size    4904 \
                    github.com/aaronjanse/pty \
                        lock    v1.1.14 \
                        rmd160  7776a5bd976d9c0568d63c428f306b0e2e36c1c1 \
                        sha256  dae029f63312271c55d456dba5f44f92364b0695229ceb6a8e40d405779a22be \
                        size    9593 \
                    github.com/BurntSushi/xdg \
                        lock    e80d3446fea1 \
                        rmd160  95f5b466e59d445aabbbed3532f9df95839cdcef \
                        sha256  ddfc963c7ce12e917c2f546f4c54530b6724abc90a34734de93f64696704d1c6 \
                        size    2790 \
                    github.com/BurntSushi/toml \
                        lock    v0.3.1 \
                        rmd160  fb9650e2d16525153645e5547626f242f3800149 \
                        sha256  8cc9e5dc68e247554227973d0b4e023b27bbd9ba5a26e4fb40f44743afcb35f1 \
                        size    42087

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