diff options
author | Simon Barner <barner@FreeBSD.org> | 2007-06-25 14:35:13 +0000 |
---|---|---|
committer | Simon Barner <barner@FreeBSD.org> | 2007-06-25 14:35:13 +0000 |
commit | fdbf080e44c7934c15507bd0f9f0c965aede8efa (patch) | |
tree | d13a11a229e012c4867c5401afa6b947d50a009a /sysutils/ledit | |
parent | Update to 8.2.505 (diff) |
- Resurrect and fix ledit, a line editor allowing to use control commands like
in emacs or in shells (bash, tcsh). To be used with interactive commands.
- Take maintainership
Notes
Notes:
svn path=/head/; revision=194228
Diffstat (limited to 'sysutils/ledit')
-rw-r--r-- | sysutils/ledit/Makefile | 33 | ||||
-rw-r--r-- | sysutils/ledit/distinfo | 3 | ||||
-rw-r--r-- | sysutils/ledit/files/patch-pa_local.ml | 15 | ||||
-rw-r--r-- | sysutils/ledit/pkg-descr | 3 |
4 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/ledit/Makefile b/sysutils/ledit/Makefile new file mode 100644 index 000000000000..da541d0f475c --- /dev/null +++ b/sysutils/ledit/Makefile @@ -0,0 +1,33 @@ +# ex:ts=8 +# Ports collection makefile for: ledit +# Date created: Feb 8, 2005 +# Whom: Marwan Burelle <marwan.burelle@lri.fr> +# +# $FreeBSD$ +# + +PORTNAME= ledit +PORTVERSION= 1.11 +PORTREVISION= 1 +CATEGORIES= sysutils +MASTER_SITES= ftp://ftp.inria.fr/INRIA/cristal/Daniel.de_Rauglaudre/Tools/ \ + http://home.leo.org/~barner/freebsd/distfiles/ + +MAINTAINER= barner@FreeBSD.org +COMMENT= Line editor to be used with interactive commands + +BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml + +ALL_TARGET= all ledit.opt + +PLIST_FILES= bin/ledit + +MAN1= ledit.1 + +.include <bsd.port.pre.mk> + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/ledit.out ${PREFIX}/bin/ledit + ${INSTALL_MAN} ${WRKSRC}/ledit.l ${MANPREFIX}/man/man1/ledit.1 + +.include <bsd.port.post.mk> diff --git a/sysutils/ledit/distinfo b/sysutils/ledit/distinfo new file mode 100644 index 000000000000..4957f05252eb --- /dev/null +++ b/sysutils/ledit/distinfo @@ -0,0 +1,3 @@ +MD5 (ledit-1.11.tar.gz) = a2d38ba641682509c1e964ad699a9dd2 +SHA256 (ledit-1.11.tar.gz) = d5f3775e200f0bfcd2f255866b284572cb431b1befd61eab34112c10369c4d59 +SIZE (ledit-1.11.tar.gz) = 14027 diff --git a/sysutils/ledit/files/patch-pa_local.ml b/sysutils/ledit/files/patch-pa_local.ml new file mode 100644 index 000000000000..9c6f32e6e40a --- /dev/null +++ b/sysutils/ledit/files/patch-pa_local.ml @@ -0,0 +1,15 @@ +--- pa_local.ml.orig Mon Jun 25 11:20:33 2007 ++++ pa_local.ml Mon Jun 25 11:21:06 2007 +@@ -14,10 +14,10 @@ + open Pcaml; + + value expr_of_patt p = +- let loc = MLast.loc_of_patt p in ++ let _loc = MLast.loc_of_patt p in + match p with + [ <:patt< $lid:x$ >> -> <:expr< $lid:x$ >> +- | _ -> Stdpp.raise_with_loc loc (Stream.Error "identifier expected") ] ++ | _ -> Stdpp.raise_with_loc _loc (Stream.Error "identifier expected") ] + ; + + EXTEND diff --git a/sysutils/ledit/pkg-descr b/sysutils/ledit/pkg-descr new file mode 100644 index 000000000000..d8f4a5c43112 --- /dev/null +++ b/sysutils/ledit/pkg-descr @@ -0,0 +1,3 @@ +Ledit is a line editor, allowing to use control commands like in emacs +or in shells (bash, tcsh). To be used with interactive commands. It is +written in Ocaml and Camlp4 and uses the library unix.cma. |