# -*- 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/arp242/uni 2.8.0 v
go.package          zgo.at/uni/v2
revision            0

description         uni queries the Unicode database from the commandline.

long_description    Query the Unicode database from the commandline, with \
                    good support for emojis. Includes full support for \
                    Unicode 13.1 (June 2021) with full Emoji support (a \
                    surprisingly large amount of emoji pickers don't deal \
                    with emoji sequences very well).

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

build.pre_args-append \
                    -ldflags \"-X main.version=${version}\" -o ${name}

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

checksums           ${distname}${extract.suffix} \
                        rmd160  b99bb97eb9fa1f3fa9155affb3902d9c65b9a891 \
                        sha256  627a8aebe8d72bad5a462b8efc8b96dc96794b926b094de3f1e5b9965e44a678 \
                        size    638998

go.vendors          zgo.at/zstd \
                        repo    github.com/arp242/zstd \
                        lock    f7ed9341ec67 \
                        rmd160  849ec3c6c0013753c18200b22d173d2e8738bdfa \
                        sha256  1d59c42219ff7cce4b410db2373b0f70c2e90a56184547adf6c9e64391205d80 \
                        size    83328 \
                    zgo.at/zli \
                        repo    github.com/arp242/zli \
                        lock    47534b1ce136 \
                        rmd160  cd4ba3d74861ff1e6370f91e7e03200f0c0053f7 \
                        sha256  7e3a50c8c186eef613edcf9d8877d0875d7a5306d3eb70e95fa48e55e946db68 \
                        size    49092 \
                    zgo.at/termtext \
                        repo    github.com/arp242/termtext \
                        lock    v1.5.0 \
                        rmd160  e0a32c68b38b4b6e2eccfbc1b4a8f000fbc34d0a \
                        sha256  441d7e75696de0e3e9cc902b9942b0a691983eacc291d37d39741813a90e3bac \
                        size    5787 \
                    zgo.at/runewidth \
                        repo    github.com/arp242/runewidth \
                        lock    v0.1.0 \
                        rmd160  949e4ce0adadf9fe2dc58ff92ad4bd0a4c50b966 \
                        sha256  d0d13adf58d1560f902cfc138f8d255140806b133d0ab533d756031c95e1e706 \
                        size    16424 \
                    github.com/rivo/uniseg \
                        lock    v0.4.7 \
                        rmd160  a9056dc9a2a80aa9c46d0ff9e54f9e2e5a498c41 \
                        sha256  abc6a2f17b64b34b8a0c56eb9d0b53886ebbe0c88d467755c09c7fa696a16677 \
                        size    458166
