# -*- 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/suzuki-shunsuke/tfmv 1.0.0 v
go.offline_build    no
revision            0

description         \
    CLI to rename Terraform resources and generate moved blocks

long_description    {*}${description}

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

checksums           rmd160  3dce78e02901d0c13a0a38cc9ca80abe7689cba7 \
                    sha256  2783acb97c2b24f311a971cb22ff478ecc2323e2bab402457ef070051f754e9d \
                    size    28169

build.args-append   ./cmd/${name}

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

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