# -*- 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/koki-develop/gat 0.25.0 v
go.offline_build    no
revision            0

description         cat alternative written in Go

long_description    {*}${description}

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

checksums           rmd160  2d210122d755794788315a7c71523d08f6ff1007 \
                    sha256  90f404043dabfe445bf354efbd83029f519dc7d4ce84839639bbd8c261290803 \
                    size    15196966

build.pre_args-append \
    -ldflags \"-X ${go.package}/cmd.version=${github.tag_prefix}${version}\"

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