View | Details | Raw Unified | Return to bug 121981
Collapse All | Expand All

(-)ports/sysutils/ledit/Makefile (-8 / +24 lines)
Lines 7-21 Link Here
7
#
7
#
8
8
9
PORTNAME=	ledit
9
PORTNAME=	ledit
10
PORTVERSION=	1.11
10
PORTVERSION=	2.00
11
PORTREVISION=	1
12
CATEGORIES=	sysutils
11
CATEGORIES=	sysutils
13
MASTER_SITES=	ftp://ftp.inria.fr/INRIA/cristal/Daniel.de_Rauglaudre/Tools/ \
12
MASTER_SITES=	http://cristal.inria.fr/~ddr/ledit/distrib/src/ \
14
		http://home.leo.org/~barner/freebsd/distfiles/
13
		http://pauillac.inria.fr/~ddr/ledit/distrib/src/
14
EXTRACT_SUFX=	.tgz
15
15
16
MAINTAINER=	barner@FreeBSD.org
16
MAINTAINER=	barner@FreeBSD.org
17
COMMENT=	Line editor to be used with interactive commands
17
COMMENT=	Line editor to be used with interactive commands
18
18
19
BUILD_DEPENDS=	camlp5r:${PORTSDIR}/devel/ocaml-camlp5
20
21
USE_GMAKE=	yes
19
USE_OCAML=	yes
22
USE_OCAML=	yes
20
23
21
ALL_TARGET=	all ledit.opt
24
ALL_TARGET=	all ledit.opt
Lines 23-31 ALL_TARGET= all ledit.opt Link Here
23
PLIST_FILES=	bin/ledit
26
PLIST_FILES=	bin/ledit
24
27
25
MAN1=		ledit.1
28
MAN1=		ledit.1
29
PORTDOCS=	CHANGES LICENSE README
30
31
.include <bsd.port.pre.mk>
26
32
27
do-install:
33
do-configure:
28
	${INSTALL_PROGRAM} ${WRKSRC}/ledit.out ${PREFIX}/bin/ledit
34
	${REINPLACE_CMD} -e '/^BINDIR=/s;/usr/local;${PREFIX};' \
29
	${INSTALL_MAN} ${WRKSRC}/ledit.l ${MANPREFIX}/man/man1/ledit.1
35
			-e '/^LIBDIR=/s;/usr/local;${PREFIX};' \
36
			-e '/^MANDIR=/s;/usr/local;${PREFIX};' \
37
			${WRKSRC}/Makefile
38
39
post-install:
40
.if !defined(NOPORTDOCS)
41
	@${MKDIR} ${DOCSDIR}
42
. for f in ${PORTDOCS}
43
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
44
. endfor
45
.endif
30
46
31
.include <bsd.port.mk>
47
.include <bsd.port.post.mk>
(-)ports/sysutils/ledit/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (ledit-1.11.tar.gz) = a2d38ba641682509c1e964ad699a9dd2
1
MD5 (ledit-2.00.tgz) = d5c21dc734e20ce13aa7b995621b1c9a
2
SHA256 (ledit-1.11.tar.gz) = d5f3775e200f0bfcd2f255866b284572cb431b1befd61eab34112c10369c4d59
2
SHA256 (ledit-2.00.tgz) = e6432682b8aa17d93c7c3be2316937e3ba48c9b6ca0789c47f864ee34d10a2fc
3
SIZE (ledit-1.11.tar.gz) = 14027
3
SIZE (ledit-2.00.tgz) = 22598
(-)ports/sysutils/ledit/files/patch-pa_local.ml (-15 lines)
Lines 1-15 Link Here
1
--- pa_local.ml.orig	Mon Jun 25 11:20:33 2007
2
+++ pa_local.ml	Mon Jun 25 11:21:06 2007
3
@@ -14,10 +14,10 @@
4
 open Pcaml;
5
 
6
 value expr_of_patt p =
7
-  let loc = MLast.loc_of_patt p in
8
+  let _loc = MLast.loc_of_patt p in
9
   match p with
10
   [ <:patt< $lid:x$ >> -> <:expr< $lid:x$ >>
11
-  | _ -> Stdpp.raise_with_loc loc (Stream.Error "identifier expected") ]
12
+  | _ -> Stdpp.raise_with_loc _loc (Stream.Error "identifier expected") ]
13
 ;
14
 
15
 EXTEND
(-)ports/sysutils/ledit/pkg-descr (-1 / +3 lines)
Lines 1-3 Link Here
1
Ledit is a line editor, allowing to use control commands like in emacs
1
Ledit is a line editor, allowing to use control commands like in emacs
2
or in shells (bash, tcsh). To be used with interactive commands. It is
2
or in shells (bash, tcsh). To be used with interactive commands. It is
3
written in Ocaml and Camlp4 and uses the library unix.cma.
3
written in Ocaml and Camlp5 and uses the library unix.cma.
4
5
WWW: http://cristal.inria.fr/~ddr/ledit/

Return to bug 121981