# -*- 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.4.4 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  f4918b6cce6b90c92ad730ada600179dab591ee6 \
                    sha256  d804c196e29aa0b7b0d8571174ef6f7640ca2fe22808d56882487a89da7022cd \
                    size    1200123

use_parallel_build  no

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

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