# -*- 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        vigna ne 3.3.3
github.tarball_from archive
revision            0

categories          editors
platforms           darwin
license             GPL-3+
maintainers         nomaintainer

description         ne - nice editor
long_description    ne is a free text editor that runs on (hopefully almost) any \
                    UN*X machine. ne is easy to use for the beginner, but powerful \
                    and fully configurable for the wizard, and most sparing in its \
                    resource usage.

homepage            https://ne.di.unimi.it/

checksums           rmd160  c6c9efad0a7fb5e0abd2f68cd94092e133858702 \
                    sha256  4f7509bb552e10348f9599f39856c8b7a2a74ea54c980dd2c9e15be212a1a6f0 \
                    size    551030

use_parallel_build  no

depends_build-append \
                    port:texinfo \
                    port:perl5

depends_lib-append  port:ncurses

patch.pre_args-replace  -p0 -p1
patchfiles          patch-makefile.diff \
                    patch-src-makefile.diff

build.target        build
build.args-append   PERL=${prefix}/bin/perl5
