Permalink
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (32 sloc) 1.69 KB
# -*- 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
name ledit
version 2.03
categories editors
license BSD
platforms darwin
maintainers nomaintainer
description A line editor to be used with interactive commands.
long_description The command ledit allows to edit lines one by\
one when running an interactive command. When typing a line,\
some keys with control or meta are interpreted: it is possible\
to insert characters in the middle of the line, go to the\
beginning or the end of the line, get a previous line,\
search for a line with a pattern, etc.
homepage http://cristal.inria.fr/~ddr/
master_sites http://pauillac.inria.fr/~ddr/ledit/distrib/src/ \
http://cristal.inria.fr/~ddr/ledit/distrib/src/
checksums rmd160 5a8366deaf668c595d48d10c68b583f1f9c2388e \
sha256 ce08a8568c964009ccb0cbba45ae78b9a96c823f42a4fd61431a5b0c2c7a19ce \
size 24319
extract.suffix .tgz
depends_build port:ocaml
depends_lib bin:camlp5:camlp5 \
port:ncurses
use_parallel_build no
configure {
reinplace "s|BINDIR=/usr/local/bin|BINDIR=${destroot}${prefix}/bin|" "${worksrcpath}/Makefile"
reinplace "s|LIBDIR=/usr/local/lib|LIBDIR=${destroot}${prefix}/lib/ledit|" "${worksrcpath}/Makefile"
reinplace "s|MANDIR=/usr/man/manl|MANDIR=${destroot}${prefix}/share/man/man1|" "${worksrcpath}/Makefile"
reinplace "s|(MANDIR)/ledit.l|(MANDIR)/ledit.1|" "${worksrcpath}/Makefile"
}