# -*- 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.23.1 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  1e171cd5fcd1a05244da0753f0cb9789c8b3ca9c \
                    sha256  a3f9d4452ff42e2f39ad972bad8debef8d71f0cf697bf6939ae1e66cfd56db61 \
                    size    15018022

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

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