Ticket #28381: Portfile

File Portfile, 1.6 KB (added by pixilla (Bradley Giesbrecht), 14 years ago)
Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5
6name                iselect
7version             1.4.0
8categories          sysutils
9maintainers         pixilla
10platforms           darwin
11description         OSSP iselect is an interactive line selection tool for textual files, \
12                    operating via a full-screen Curses-based terminal session.
13long_description    OSSP iselect is an interactive line selection tool for textual files, \
14                    operating via a full-screen Curses-based terminal session. It can be used \
15                    either as an user interface frontend controlled by a scripting backend as its \
16                    wrapper or in batch mode as a pipeline filter (usually between grep and the \
17                    final executing command).
18homepage            http://www.ossp.org/pkg/tool/iselect/
19master_sites        ftp://ftp.ossp.org/pkg/tool/iselect
20
21checksums           sha1    e80fd5d161480182cc96080002a5fcce33c4f7d6 \
22                    rmd160  cc836e69d61e5a32903b113836de29669aab8055
23
24depends_lib         port:ncurses
25
26pre-configure {
27    reinplace "s|\$\{exec_prefix\}/man|@mandir@|g" ${worksrcpath}/Makefile.in
28    reinplace "s|\$\(bindir\)|\$\(DESTDIR)\$\(bindir\)|g" ${worksrcpath}/Makefile.in
29    reinplace "s|\$\(mandir\)|\$\(DESTDIR)\$\(mandir\)|g" ${worksrcpath}/Makefile.in
30}
31
32livecheck.type      regex
33livecheck.url       ${homepage}
34livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"