# -*- 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

name                rune-editor
go.setup            github.com/unstablebuild/rune af10106e2d02b33739089647ae950ad318d482b5
go.toolchain_min    1.26.6
go.offline_build    no
version             20260911
revision            0

homepage            https://rune.build/

description         GPU-rendered, keyboard-driven integrated development environment

long_description    Rune is a fast, GPU-rendered, keyboard-driven integrated \
                    development environment for power users. It combines code, \
                    terminals, command-line tools, language intelligence, \
                    debugging, and AI agents in a multi-workspace environment.

categories          editors
installs_libs       no
license             GPL-3+
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

conflicts           rune

checksums           ${distname}${extract.suffix} \
                    rmd160  29641dc7237f596c35d7cc79898590d0c30c0654 \
                    sha256  dc6946f9fb84a5ce87a591d275520a152609a451f926186d281abb7c6cd6843e \
                    size    59314325

build.pre_args      -tags=ebitensinglethread
build.args          ./cmd/rune
build.env-append    CGO_ENABLED=1

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

livecheck.type      none
