diff options
author | pav <pav@FreeBSD.org> | 2005-02-09 21:22:47 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-02-09 21:22:47 +0000 |
commit | ebf04ce3e05a972ed36c9ce50972ff3e767ac1f9 (patch) | |
tree | 28cc8b1157bfec507e4940231ecd4c9d7c7de188 | |
parent | e30ebaca2d30aa0ddb8e75f65ddf8f9c6a202f12 (diff) | |
download | FreeBSD-ports-ebf04ce3e05a972ed36c9ce50972ff3e767ac1f9.zip FreeBSD-ports-ebf04ce3e05a972ed36c9ce50972ff3e767ac1f9.tar.gz |
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.
PR: ports/77307
Submitted by: Marwan Burelle <marwan.burelle@lri.fr>
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/ledit/Makefile | 29 | ||||
-rw-r--r-- | sysutils/ledit/distinfo | 2 | ||||
-rw-r--r-- | sysutils/ledit/files/patch-Makefile | 28 | ||||
-rw-r--r-- | sysutils/ledit/pkg-descr | 3 |
5 files changed, 63 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 2822476..c68226f 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -223,6 +223,7 @@ SUBDIR += lavaps SUBDIR += lcdproc SUBDIR += ldap-account-manager + SUBDIR += ledit SUBDIR += lfm SUBDIR += libcdio SUBDIR += libchk diff --git a/sysutils/ledit/Makefile b/sysutils/ledit/Makefile new file mode 100644 index 0000000..6bad07a --- /dev/null +++ b/sysutils/ledit/Makefile @@ -0,0 +1,29 @@ +# 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 +CATEGORIES= sysutils +MASTER_SITES= ftp://ftp.inria.fr/INRIA/cristal/Daniel.de_Rauglaudre/Tools/ + +MAINTAINER= marwan.burelle@lri.fr +COMMENT= Line editor to be used with interactive commands + +BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml + +ALL_TARGET= all ledit.opt + +INSTALL_TARGET= install.opt + +PLIST_FILES= bin/ledit + +MANCOMPRESSED= no + +MANL= ledit.l + +.include <bsd.port.mk> diff --git a/sysutils/ledit/distinfo b/sysutils/ledit/distinfo new file mode 100644 index 0000000..56a13ee --- /dev/null +++ b/sysutils/ledit/distinfo @@ -0,0 +1,2 @@ +MD5 (ledit-1.11.tar.gz) = a2d38ba641682509c1e964ad699a9dd2 +SIZE (ledit-1.11.tar.gz) = 14027 diff --git a/sysutils/ledit/files/patch-Makefile b/sysutils/ledit/files/patch-Makefile new file mode 100644 index 0000000..36ab09e --- /dev/null +++ b/sysutils/ledit/files/patch-Makefile @@ -0,0 +1,28 @@ +--- Makefile.orig Tue Feb 8 18:10:04 2005 ++++ Makefile Tue Feb 8 18:17:56 2005 +@@ -1,8 +1,10 @@ + # $Id: Makefile,v 1.19 2001/10/03 09:36:34 ddr Exp $ + +-BINDIR=/usr/local/bin +-LIBDIR=/usr/local/lib +-MANDIR=/usr/man/manl ++PREFIX?=/usr/local ++ ++BINDIR=$(PREFIX)/bin ++LIBDIR=$(PREFIX)/lib ++MANDIR=$(PREFIX)/man/manl + COMP=ocamlc + COMPOPT=ocamlopt + PP=camlp4r +@@ -33,6 +35,11 @@ + install: + -$(MKDIR) $(BINDIR) $(MANDIR) + -cp ledit.out $(BINDIR)/ledit ++ -cp ledit.l $(MANDIR)/ledit.l ++ ++install.opt: $(TARGET:.out=.opt) ++ -$(MKDIR) $(BINDIR) $(MANDIR) ++ -cp ledit.opt $(BINDIR)/ledit + -cp ledit.l $(MANDIR)/ledit.l + + depend: diff --git a/sysutils/ledit/pkg-descr b/sysutils/ledit/pkg-descr new file mode 100644 index 0000000..d8f4a5c --- /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. |