# -*- 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
# $Id: Portfile 73605 2010-11-19 23:18:30Z ryandesign@macports.org $

PortSystem          1.0

name                THE
version             3.2
categories          editors
platforms           darwin
maintainers         deadpixi.com:jking

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            http://hessling-editor.sourceforge.net/
master_sites        sourceforge:hessling-editor

checksums           sha1    7b86275c764efadbfb61c8f7c7507b0db1812db3 \
                    rmd160  586f5ab46ad483fb9036651b5ca2bfe1f7b8652d

depends_lib         port:rexx \
                    port:ncurses

configure.args      --with-ncurses \
                    --with-curseslibdir=${prefix}/lib \
                    --with-cursesincdir=${prefix}/include \
                    --mandir=${prefix}/share/man \
                    --with-rexx=regina

post-destroot {
    # Rename nthe to the, since it's the only one installed.
    file rename ${destroot}${prefix}/bin/nthe ${destroot}${prefix}/bin/the
}
