# -*- 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/hairyhenderson/gomplate 5.3.0 v
go.package          github.com/hairyhenderson/gomplate/v5
go.offline_build    no
go.toolchain_min    1.26.0
revision            0

description         \
    A flexible commandline tool for template rendering. Supports lots of \
    local and remote datasources.

long_description    \
    ${name} is a template renderer which supports a growing list of \
    datasources, such as: JSON (including EJSON - encrypted JSON), YAML, AWS \
    EC2 metadata, BoltDB, Hashicorp Consul and Hashicorp Vault secrets.

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

checksums           rmd160  dc34b243a37e1487c46e97cf66f22b306e1894bd \
                    sha256  57082793307653a7b5189922c0be93da144db281dc478523a480858f6f906985 \
                    size    627922

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

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

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