# -*- 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.24.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  dfb630c4ce3c5e93ee5e23606b931de8bed066fc \
                    sha256  a5f45e101221f2770f9ee187661f2f790799c48ff9446e9e8c3bf7d309832b64 \
                    size    15194364

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

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