# -*- 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/birdayz/kaf 0.2.11 v
go.offline_build    no
revision            0

description         Modern CLI for Apache Kafka, written in Go

long_description    {*}${description}

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

build.cmd           make
build.target        build

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

checksums          rmd160  b97c29d2c077ab4139bbe308f936beddae1b9fa8 \
                   sha256  e534ce7004023c646bc552a084318017db35ccd8106a362d48229cae11889c78 \
                   size    846112

notes "

To add shell completions for kaf, source the completion script in your shell
commands file:

Bash

    $ echo 'source <(kaf completion bash)' >> ~/.bashrc

Zsh

    $ echo 'source <(kaf completion zsh)' >> ~/.zshrc
"