# -*- 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           cargo   1.0
PortGroup           github  1.0

github.setup        peters horizon 0.2.2 v
revision            0

description         \
    GPU-accelerated spatial terminal observatory — manage terminals, \
    AI agents, and dev tools on an infinite canvas

long_description    \
    Tabbed terminals hide your work. Tiled terminals box you in. Horizon \
    gives you a canvas — an infinite 2D surface where every terminal lives as \
    a panel you can place, resize, and group however you want. \
    Think of it as a whiteboard for your terminal sessions with a structured \
    workflow on top. Start with color-coded workspaces, launch preset panels, \
    jump with Quick Nav, and fit the active workspace whenever you want a \
    clean overview.

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

depends_fetch-append \
                    port:git-lfs

fetch.type          git

cargo.offline_cmd

post-extract {
    system -W ${worksrcpath} "git lfs install"
    system -W ${worksrcpath} "git lfs pull"
}

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
        ${destroot}${prefix}/bin/
}
