# -*- 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/itchyny/bed 0.2.8 v
revision            0

description         Binary editor written in Go

long_description    {*}${description}. Binary editor with Vim-like user \
                    interface, which runs in terminals, portable, fast and \
                    with window splitting feature.

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

build.args-append   -ldflags \"-s -w -X main.revision=${version}\" ./cmd/bed

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

checksums           ${distname}${extract.suffix} \
                        rmd160  7f069ca832fc2993f3cd94ced52dcd79e54d6229 \
                        sha256  2515fd65c718f7aaa549bf9a98cf514102d2ea5f3b1c0437bbcf8bd26fae4d0a \
                        size    56915

go.vendors          golang.org/x/text \
                        lock    v0.20.0 \
                        rmd160  d0cf0b5ac590c6ebaac1bc4e268586e7e59e31a1 \
                        sha256  febe53d5d488bf05dff1e8bf76ca4ddcfda5501ecaea772ec5f8cf52e3f9c8bc \
                        size    8973040 \
                    golang.org/x/term \
                        lock    v0.26.0 \
                        rmd160  6a2af6a4ef1cfc32a922ddc036377d557acd97cc \
                        sha256  3cb0c87d9d70e6274bfb3890144393798856b6ebb88f5741121f8a6b8d16d026 \
                        size    14689 \
                    golang.org/x/sys \
                        lock    v0.27.0 \
                        rmd160  b9752e2e71b6277ffb543a3b26cfad8531187da2 \
                        sha256  9eb9e93ce913a10bbdc29a3efb0bbf6e38603da3ed72103e8207b4a9f501b98f \
                        size    1518524 \
                    github.com/rivo/uniseg \
                        lock    v0.4.7 \
                        rmd160  a9056dc9a2a80aa9c46d0ff9e54f9e2e5a498c41 \
                        sha256  abc6a2f17b64b34b8a0c56eb9d0b53886ebbe0c88d467755c09c7fa696a16677 \
                        size    458166 \
                    github.com/mattn/go-runewidth \
                        lock    v0.0.16 \
                        rmd160  297825c4365b5f723ae485e726259ebb620ecd66 \
                        sha256  6c9e81a6b46220612b97ebc35e8d29d1907fd225a9ce3e40b7cebd64cc58d09c \
                        size    18496 \
                    github.com/lucasb-eyer/go-colorful \
                        lock    v1.2.0 \
                        rmd160  a4183d0625e6c94474942cdc544c1061d35c4e34 \
                        sha256  fbad1aade4444bf51409f5b6a008cc14c7a7cdd1af856841fc1170605fae3914 \
                        size    970841 \
                    github.com/gdamore/tcell \
                        lock    v1.4.0 \
                        rmd160  479ce3d189ac02a4de5219054f537cc173c28b43 \
                        sha256  ee8948a76a4cc5ba8285f03840473cf41e80e476a1317239414ee54396db82c9 \
                        size    152003 \
                    github.com/gdamore/encoding \
                        lock    v1.0.1 \
                        rmd160  7e73cab014fe3647552b67678a397ba5ce2475e9 \
                        sha256  dc7a586abe34b2d9562ca2aed225a1db734cc8b548a89bb238e75251d9aa0344 \
                        size    14814
