# -*- 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.offline_build    no

go.setup            github.com/grafana/tanka 0.36.3 v
categories          sysutils
maintainers         nomaintainer
license             Apache-2

description         Flexible, reusable and concise configuration for Kubernetes

long_description    Grafana Tanka is the robust configuration utility for your \
                    Kubernetes cluster, powered by the unique Jsonnet language.

homepage            https://tanka.dev

build.args          -o ${worksrcpath}/tk \
                    -ldflags \" \
                        -s \
                        -w \
                        -extldflags "-static" \
                        -X github.com/grafana/tanka/pkg/tanka.CurrentVersion=v${version} \
                    \" \
                    ./cmd/tk
build.env-append    CGO_ENABLED=0

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

checksums           ${distname}${extract.suffix} \
                        rmd160  7ff0a494d1a61a250d7a61103f4355b2770f60a4 \
                        sha256  18472e35c36d56489464e113c720f32ab5c8e6ef57d14b55faa2e774dfa3f91b \
                        size    1332823

