# -*- 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/helmfile/helmfile 1.6.0 v
go.offline_build    no
revision            0

homepage            https://helmfile.readthedocs.io

description         Deploy Kubernetes Helm Charts

long_description    Helmfile is a declarative spec for deploying helm charts. \
                    It lets you keep a directory of chart value files and \
                    maintain changes in version control, apply CI/CD to \
                    configuration changes, periodically sync to avoid skew in \
                    environments.

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

build.cmd           make
build.pre_args-append \
                    TAG=v${version}
build.args          build

checksums           rmd160  ff674f6107e18db13a96b8f7f8f8548bfbf1f47e \
                    sha256  152894fb2a75171316f8ebd2631a604a01a757d89e1ca7d0804126eed012a15d \
                    size    1349456

use_parallel_build  no

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

github.livecheck.regex \
                    {([0-9.]+)}
