# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                iselect
version             1.4.0
revision            2
categories          sysutils
maintainers         nomaintainer
platforms           darwin
license             GPL-2

description         OSSP iselect is an interactive line selection tool for textual files, \
                    operating via a full-screen Curses-based terminal session.
long_description    OSSP iselect is an interactive line selection tool for textual files, \
                    operating via a full-screen Curses-based terminal session. It can be used \
                    either as an user interface frontend controlled by a scripting backend as its \
                    wrapper or in batch mode as a pipeline filter (usually between grep and the \
                    final executing command).
homepage            http://www.ossp.org/pkg/tool/iselect/
master_sites        ftp://ftp.ossp.org/pkg/tool/iselect

checksums           rmd160  cc836e69d61e5a32903b113836de29669aab8055 \
                    sha256  5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b

depends_lib         port:ncurses

patchfiles          patch-Makefile.in.diff \
                    patch-configure.diff

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"