# -*- 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.2.3 v
revision            0

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  b18221290ee3ee0bf393b3cf0dc9a69f14f0f601 \
                    sha256  069bc5062fb223afde919870d61ac2e358a3c33b157ea5240243c301e9fb2415 \
                    size    2243615

go.offline_build    no

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

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