# -*- 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.0 v
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  a9c9f6864896f5bb9a99f31ce47727aed91b6202 \
                    sha256  59a939205c133e3d4514dd958581b25b24ad83d72cc911d1a8b912423970cac0 \
                    size    6547545

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

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