# -*- 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.9.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  cfb119211874a05fedfbb316054e1792faa87c0e \
                        sha256  dc595807a0ab875111dafd55be9f3de116cbea652216f9d0082d03dddb3d83be \
                        size    646632

go.vendors          zgo.at/zstd \
                        repo    github.com/arp242/zstd \
                        lock    ec259dea6715 \
                        rmd160  c389d0c239f7943958e526881ba263145ddc5f8a \
                        sha256  53c6d4384816fa28e86ff9a101edfe8b3d997fa7cf34ab480f77f4fcf59d722b \
                        size    92220 \
                    zgo.at/zli \
                        repo    github.com/arp242/zli \
                        lock    08cb210424f2 \
                        rmd160  915253a17159643224f0fb9b75808cdea2f030ac \
                        sha256  80f452df742488fbbffcf434a5f5edd51784f9f3ef3fbccc1f1382d24588892b \
                        size    51778 \
                    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
