# -*- 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/patriceckhart/zot 0.3.33 v
revision            0

homepage            https://zot.sh

description         \
    Yet another coding agent harness, lightweight and written in Go

long_description    \
    ${name} is a single static binary AI-powered coding assistant with \
    built-in support for 20+ LLM providers (Anthropic, OpenAI, Google \
    Gemini, GitHub Copilot, DeepSeek, and others). It provides four tools \
    for file operations (read, write, edit, bash), multiple interaction \
    modes including interactive TUI, session management with resumable \
    conversations, background subagents for parallel task execution, and \
    extensions via subprocess and JSON-RPC.

categories          llm
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  04908f1083236f01c07dd460fd5c00c495e261d7 \
                    sha256  ddaf0cada06906ea7ba18c1eeb460598fe1453b40c6401da864a22bd119fd7ea \
                    size    2512784

go.offline_build    no
go.toolchain_min    1.25.0

build.args          -o ./${name} \
                    -ldflags \"-s -w -X main.version=${version}\" \
                    ./cmd/${name}

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