# -*- 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/xyproto/orbiton 2.74.4 v
go.toolchain_min    1.25.1
revision            0

homepage            https://roboticoverlords.org/orbiton

description         Orbiton is a vt100 text editor and a simple IDE

long_description    \
    Configuration-free text editor and IDE limited to VT100. Suitable for \
    writing git commit messages, editing Markdown, config files, source code, \
    viewing man pages and for quick edit-compile cycles when programming. Has \
    syntax highlighting, jump-to-error, rainbow parentheses, macros, tab \
    completion, cut/paste portals and a simple gdb front-end.

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

checksums           rmd160  d16450982d9d01261aabd803100cf55f82797d33 \
                    sha256  5b4004fe86f2335e4b16c11a118d72fee29ecf115f24d76022454a2f8a8a1fa8 \
                    size    8572153

build.cmd           make
build.args          o o.1

destroot {
    xinstall -m 0755 ${worksrcpath}/o ${destroot}${prefix}/bin/
    xinstall -d ${destroot}${prefix}/share/man/man1
    copy ${worksrcpath}/o.1 ${destroot}${prefix}/share/man/man1/

    xinstall -d ${destroot}${prefix}/share/doc/${name}
    copy ${worksrcpath}/README.md ${destroot}${prefix}/share/doc/${name}/
}
