# -*- 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/charmbracelet/gum 0.15.2 v
go.offline_build    no
github.tarball_from archive
revision            0

description         A tool for glamorous shell scripts

long_description    {*}${description}

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

checksums           rmd160  0c75583866430712189842168a4566a82d9a5e22 \
                    sha256  c1950ef71284189436712f385adbf1a3d8df20a8735c9add5344601aedb97ac1 \
                    size    69748

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

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