# -*- 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/stefanprodan/timoni 0.23.0 v
revision            0

homepage            https://timoni.sh

description         \
    Timoni is a package manager for Kubernetes, powered by CUE and inspired \
    by Helm.

long_description    \
    {*}${description} The Timoni project strives to improve the UX of \
    authoring Kubernetes configs. Instead of mingling Go templates with YAML \
    like Helm, or layering YAML on top of each-other like Kustomize, Timoni \
    relies on cuelang's type safety, code generation and data validation \
    features to offer a better experience of creating, packaging and \
    delivering apps to Kubernetes.

categories          sysutils
installs_libs       no
license             Apache-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  f625d2fbc0c505081582fbf396da821d8e41e6d3 \
                    sha256  39784f96781e85ac26bb2863147ab4f83edb17c195b0d73663f2f6e4809036cd \
                    size    1062185

go.offline_build no

build.cmd           make
build.pre_args      DEV_VERSION=${github.tag_prefix}${version}
build.args          build

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