# -*- 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 1.1.0 v
go.offline_build    no
go.toolchain_min    1.25.0
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
license             GPL-3
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  a4477f34475288f281234e20943cf7b2c5e37536 \
                    sha256  662ed77f11971c60bdabbe914d99d78a004411fa2dc33ecb49a5bd1b5538f124 \
                    size    2155596

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

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