# -*- 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/robinovitch61/wander 1.1.2 v
go.toolchain_min    1.21
go.offline_build    no
revision            0

description         A terminal app/TUI for HashiCorp Nomad

long_description    \
    An efficient terminal application/TUI for your HashiCorp Nomad cluster: \
    - browse jobs, allocations, tasks, and logs, - exec to run commands in \
    running tasks, - tail global or targeted events using a jq query, - save \
    any view as a local file and see full specs

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

checksums           rmd160  df5dbfbbd3be4c158bd7ff6028819aa4d28af243 \
                    sha256  721c3f556f5cee506ad5b93902de82574f0aa1b2ba80c3a4f1849bdfedc44672 \
                    size    6547431

build.pre_args-append \
    -ldflags \" -X ${go.package}/cmd.Version=${version} \"

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