# -*- 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/nats-io/natscli 0.3.0 v
go.offline_build    no
revision            0
categories          devel
maintainers         nomaintainer
license             Apache-2

description         The NATS Command Line Interface

long_description    A command line utility to interact with and manage NATS.

build.args          -o ${worksrcpath}/nats/nats \
                    ./nats

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

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

checksums           rmd160  68eab58014698fb40c1ed192557f3890e860e66e \
                    sha256  0df4c49bf1f19023d992ee03d4d4abcf8821eb161db72681a45b2d50cdd2a050 \
                    size    312448
