# -*- 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           github 1.0
PortGroup           legacysupport 1.1

github.setup        omar-polo telescope 0.11
github.tarball_from archive
revision            0
categories          net
license             ISC
maintainers         {@sikmir disroot.org:sikmir} openmaintainer
description         A Gemini Browser
long_description    Telescope is a Emacs/w3m-inspired browser for the "small internet" \
                    that supports Gemini, Gopher and Finger

checksums           rmd160  cc9eb2dfe8d7462f37ccaa9cea3627f485943f07 \
                    sha256  5254c2e07ffa7123283efbf2598459ee2f97df9410559b20462752dbcdf7d492 \
                    size    1058793

post-patch {
    # Remove bundled libraries
    file delete -force ${worksrcpath}/libgrapheme
}

depends_build       port:autoconf \
                    port:bison \
                    port:pkgconfig

depends_lib         path:lib/libtls.dylib:libretls \
                    port:libgrapheme \
                    port:ncurses

use_autoreconf      yes
