# -*- 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.7 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  307f9b7a2e8b6e6010c61e08d25f1300a71bb6f1 \
                    sha256  3ae8a6d12af2e6d2a0ee7a0921a22f6999c63401bcf6f86c195450c4359856bd \
                    size    1043265

use_parallel_build  no

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

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