# -*- 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/makeworld-the-better-one/amfora 1.11.0 v
go.offline_build    no
revision            0

description         A fancy terminal browser for the Gemini protocol.

long_description    {*}${description} Amfora aims to be the best looking \
                    Gemini client with the most features... all in the \
                    terminal.

categories          net
installs_libs       no
license             GPL-3
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  e2c4850dac726c4f890d00b323f133d89b777f2b \
                    sha256  76ae120bdae9a1882acbb2b07a873a52e40265b3ef4c8291de0934c1e9b5982c \
                    size    2347794

build.cmd           make
build.pre_args-append \
                    VERSION=v${version} COMMIT="" BUILDER=macports
build.target        ${name}

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