# -*- 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.70.5 v
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  683b0f6dc2dd51544cf665981808ed2bcb7ab6a1 \
                    sha256  ec8e9de9f392c424bdba8fdce926e85340edc73734aec4c2c8d987d804f56fb6 \
                    size    5434828

build.cmd           make
build.pre_args      GOFLAGS=
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}/
}
