Files
Paul GuyotandPerry E. Metzger 70ab90739b camlp5: update to 8.05.02
Bump revision of ocaml-ulex for updated camlp5.
Move camlp5 to depends_build in geneweb and ledit, where it is only
used as a preprocessor at build time and not needed at runtime.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-30 10:58:59 -04:00

38 lines
1.5 KiB
Tcl

# -*- 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
name ledit
github.setup chetmurthy ledit 2.08 {}
revision 3
categories editors
license BSD
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.
checksums rmd160 a9c31a53816dae63b356a5b2a5c289f894b2f403 \
sha256 0f10f70bcdde68ce6514d4eedeb0774653322385a642d1ee696438b5594050f1 \
size 25419
github.tarball_from archive
depends_build port:ocaml \
port:camlp5
depends_lib port:ocaml-camlp-streams \
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/local/man/man1|MANDIR=${destroot}${prefix}/share/man/man1|" "${worksrcpath}/Makefile"
}