# -*- 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           openssl 1.0

github.setup        tn5250 tn5250 0.18.0 v
github.tarball_from releases
revision            0
categories          net
license             LGPL-2.1+
platforms           darwin macosx freebsd
maintainers         {@snuxoll nuxoll.me:stefan} openmaintainer
description         tn5250 terminal emulator

long_description    tn5250 is a telnet client for the IBM iSeries and AS/400 \
                    that emulates 5250 terminals and printers.

homepage            https://tn5250.github.io/
checksums           rmd160  466d0f7f2eb05c6d5ad89c033732e794ddfe4a2e \
                    sha256  b936d39d5210fe447245cf08778655a48876ae2dfcb67373910163602128a919 \
                    size    645380

configure.args-append      --with-ssl

variant curses description "add curses terminal support" {
    configure.args-append   --with-curses
    depends_lib-append      port:ncurses
}
