# -*- 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.33.0 v
go.toolchain_min    1.27.0
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  a7313b8c14c0d7f2cba37117294d44034479298a \
                    sha256  d4deea9903b33903a3b30b24047126d639984c95c3e1aec0ec45caace81b1c77 \
                    size    1264097

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/
}
