# -*- 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.17.0 v
go.offline_build    no
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  4fc71edfeb2ea13107656a0633080b06ce18d64a \
                    sha256  763a7f89dfebf8e77f86e680bace48a09423cfb9e4b4f4ba22d2c9836d311f95 \
                    size    72813

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

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