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

name                THE
version             4.0
revision            0
categories          editors
license             GPL-2+
maintainers         nomaintainer

description         The Hessling Editor

long_description    The Hessling Editor (THE) is a text editor modeled after \
                    the XEDIT editor for IBM mainframe operating systems.

homepage            https://hessling-editor.sourceforge.net/
master_sites        sourceforge:hessling-editor
distname            the-${version}

checksums           rmd160  2c5328333322ad3729ff0ba6517971cfbb260c5e \
                    sha256  a3fb152543d91a57aec4a38886f765863e33a49d49bee6524b369e6da923d039 \
                    size    1545276

depends_lib-append  port:rexx \
                    port:ncurses

depends_build-append \
                    port:pkgconfig

configure.args      --with-curses=ncurses \
                    --with-rexx=regina

post-destroot {
    xinstall -m 0644 ${worksrcpath}/COPYING ${destroot}${prefix}/share/the
}
