aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ledit
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-02-09 21:22:47 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-02-09 21:22:47 +0000
commitf96d9de9d8c97f52662b22ca3e24f9b33f7aa42d (patch)
treefb801a47009556d1385102300bac77a09cfb5314 /sysutils/ledit
parenta77166e4ef460b4e6a26fda666f8052d8664cc22 (diff)
downloadports-f96d9de9d8c97f52662b22ca3e24f9b33f7aa42d.tar.gz
ports-f96d9de9d8c97f52662b22ca3e24f9b33f7aa42d.zip
Notes
Diffstat (limited to 'sysutils/ledit')
-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
4 files changed, 62 insertions, 0 deletions
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.