# -*- 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/nsc 2.12.2 v
go.offline_build    no
revision            0
categories          security
maintainers         nomaintainer
license             Apache-2

description         A tool for creating NATS account and user access configurations

long_description    NSC enables you to create and edit Operators, Accounts, Users, \
                    manage publish and subscribe permissions for Users, define Service \
                    and Stream exports from an account, reference Services and Streams \
                    from another account, and generate Activation tokens that grant \
                    access to private services or streams.

checksums           rmd160  41a94ea39d4eb650992987b36ae5397fdb3cf8dc \
                    sha256  13c15e7d717f716ec2a4297a59e7b87456ca335eca724598030631ed769fb33b \
                    size    271758

build.pre_args-append \
    -ldflags \" -s -w -X main.version=v${version} \"

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