# -*- 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.13 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  14a2a742ec0b546a61dcfe0743bfbcc66520269d \
                   sha256  df0ad80c7be9ba53a074cb84033bd477780c151d7cbf57b6d2c2d9b8c62b7847 \
                   size    846118

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
"
