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

github.setup        herrbischoff ee 1.5.0
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             1.5.2
revision            0
categories          editors
license             BSD
maintainers         {grimreaper @grimreaper} \
                    openmaintainer

description         easy to use text editor

long_description    An easy to use text editor. Intended to be usable with \
                    little or no instruction. Provides a terminal (curses \
                    based) interface. Features pop-up menus. A subset of aee.

checksums           rmd160  c8919aec0b6cc11e1a548bb3361dcffa9fcd3981 \
                    sha256  bcbff4b6bb50d7e42dc1f68d73f58690736d254ad6d359c2ca902c6aa47e4d34 \
                    size    69823

patch.pre_args-replace  -p0 -p1
patchfiles          patch-make-default.diff \
                    remove-freebsdisms.diff

depends_lib-append  port:ncurses

build.args          -f make.default
build.target        curses

destroot {
    xinstall -m 755 ${worksrcpath}/ee ${destroot}${prefix}/bin
    xinstall -m 644 ${worksrcpath}/ee.1 ${destroot}${prefix}/share/man/man1
}
