aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/ledit/Makefile29
-rw-r--r--sysutils/ledit/distinfo2
-rw-r--r--sysutils/ledit/files/patch-Makefile28
-rw-r--r--sysutils/ledit/pkg-descr3
5 files changed, 63 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 2822476e1e03..c68226f07681 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 000000000000..6bad07a8bb69
--- /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 000000000000..56a13ee84c06
--- /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 000000000000..36ab09ef7acd
--- /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 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.