# -*- 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/mrusme/neonmodem 2.1.0 v
go.offline_build    no
go.toolchain_min    1.27.3
revision            0

homepage            https://neonmodem.com

description         \
    Neon Modem Overdrive is a BBS-style command line client that supports \
    Discourse, Lemmy, Lobsters and Hacker News

long_description    \
    {*}${description} as backends, and seamlessly integrates all of them into \
    a streamlined TUI.

categories          net
installs_libs       no
# SEGV License 1.1 includes restrictions on use.
license             Restrictive
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  89110898361fa3f8515a8536b294b5a44265d947 \
                    sha256  dda3ffec09c349179e72e282444ed95d87da1e2645be847dde07c162ba7f65f7 \
                    size    2336949

build.cmd           make
build.pre_args      VERSION="${github.tag_prefix}${version}"
build.args          build

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