# -*- 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.1.9 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  f2326d8b938540023c461a497f0a5f660be39d6d \
                    sha256  e783c93cbe8f7ab114f87fa9118b06939e63e8136c3ffdef0113c45ccbc4c74f \
                    size    1049785

use_parallel_build  no

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

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