# -*- 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.37.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  ddbf8d428b206bfaa89de17bb04b7f93d08c8bf8 \
                    sha256  1d0b370008bdbbe56060d26d7c5527ce6c31bb4d2d15b70f729f0d325c80a3e8 \
                    size    1369459

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