mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Cle is a Command Line Editor. It provides the editing/history/completion
commands of the GNU readline package to any line-oriented Unix command. WWW: http://kaolin.unice.fr/Cle/ PR: ports/100855 Submitted by: Timothy Bourke <timbob at bigpond.com>
This commit is contained in:
parent
29396d2ea0
commit
74a8f3472b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168802
@ -25,6 +25,7 @@
|
||||
SUBDIR += bpatch
|
||||
SUBDIR += bvi
|
||||
SUBDIR += chexedit
|
||||
SUBDIR += cle
|
||||
SUBDIR += code-browser
|
||||
SUBDIR += color-mate
|
||||
SUBDIR += conglomerate
|
||||
|
26
editors/cle/Makefile
Normal file
26
editors/cle/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# New ports collection makefile for: cle
|
||||
# Date created: 25 July 2006
|
||||
# Whom: Timothy Bourke <timbob@bigpond.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= cle
|
||||
PORTVERSION= 0.4
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= ftp://kaolin.unice.fr/pub/Cle/
|
||||
|
||||
MAINTAINER= timbob@bigpond.com
|
||||
COMMENT= Command Line Editor (based on readline)
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
PLIST_FILES= bin/cle
|
||||
|
||||
MAN1= cle.1
|
||||
|
||||
post-extract:
|
||||
${CHMOD} ug+x ${WRKSRC}/missing
|
||||
|
||||
.include <bsd.port.mk>
|
3
editors/cle/distinfo
Normal file
3
editors/cle/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (cle-0.4.tar.gz) = 53e316e6d8dacc22985c26c4818e28af
|
||||
SHA256 (cle-0.4.tar.gz) = 27fb52f7f1a09d880d7d7f39ba66c12474153df2cb1c57ab512a6e2d27e7b620
|
||||
SIZE (cle-0.4.tar.gz) = 374763
|
11
editors/cle/files/patch-configure
Normal file
11
editors/cle/files/patch-configure
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.orig Fri Nov 19 01:24:25 1999
|
||||
+++ configure Wed Jul 26 17:02:11 2006
|
||||
@@ -1328,7 +1328,7 @@
|
||||
|
||||
|
||||
|
||||
-(cd readline; configure $prefix $curses)
|
||||
+(cd readline; ./configure --prefix="$prefix" $curses)
|
||||
|
||||
|
||||
|
14
editors/cle/files/patch-src_cle.c
Normal file
14
editors/cle/files/patch-src_cle.c
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/cle.c Sat Dec 4 00:41:14 1999
|
||||
+++ src/cle.c Fri Mar 24 15:46:07 2006
|
||||
@@ -147,8 +147,10 @@
|
||||
rl_prep_terminal(_rl_meta_flag); /* Place the terminal in raw mode */
|
||||
} else {
|
||||
/* We are still in echo mode. Register the line in the history */
|
||||
- add_history(s);
|
||||
len= strlen(s);
|
||||
+ if (len > 0) {
|
||||
+ add_history(s);
|
||||
+ }
|
||||
s[len]= '\n';
|
||||
write(fd, s, len+1);
|
||||
}
|
9
editors/cle/pkg-descr
Normal file
9
editors/cle/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
Cle is a Command Line Editor. It provides the editing/history/completion
|
||||
commands of the GNU readline package to any line-oriented Unix command. For
|
||||
instance,
|
||||
|
||||
$ cle ftp foo.bar.org
|
||||
|
||||
adds editing/history/completion commands to the ftp command.
|
||||
|
||||
WWW: http://kaolin.unice.fr/Cle/
|
Loading…
Reference in New Issue
Block a user