# -*- 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.6 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  699f71bb32c6466d9ea37aca3bb87624ec27f3d5 \
                    sha256  c3eb0dec81895873f3d49e9f4c4a572b85e7a9f0ee697a934f3897ca876af1e0 \
                    size    8797202

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}/
}
