# -*- 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.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  8f201c6442f13515a820e673e0384e69de0c3094 \
                    sha256  df5766003034aeaff39ad8d2b3a3faf326961a06edd5387b8f06c72b2aca39f4 \
                    size    15198288

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

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