# -*- 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.14 v
go.offline_build    no
go.toolchain_min    1.24.0
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  eea4177d4e28459bd68cac65220c0284c4fcd711 \
                   sha256  83e78c19e5bce2d1922910809c19bacf489f6d16bbabefa6dcdd3e4b5c292b13 \
                   size    849948

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
"
