# -*- 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 4.3.1 v
go.package          github.com/hairyhenderson/gomplate/v4
go.offline_build    no
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  d7cb3501e7df8de33f2e2361369269f245109c80 \
                    sha256  5e96d8e270c063c4cb273c9528afff90ca2b4c0c563e56ceb19fd41685971c76 \
                    size    594573

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.]+)}
