Date: Wed, 26 Jul 2006 17:28:21 +1000 (EST) From: Timothy Bourke <timbob@bigpond.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/100855: New port: devel/cle Command Line Editor (based on readline) Message-ID: <200607260728.k6Q7SLD6060226@triptrop.cse.unsw.EDU.AU> Resent-Message-ID: <200607260730.k6Q7ULe5063303@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100855 >Category: ports >Synopsis: New port: devel/cle Command Line Editor (based on readline) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 26 07:30:21 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Timothy Bourke >Release: FreeBSD 6.1-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD triptrop 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #3: Tue Jul 18 16:36:54 EST 2006 tbourke@triptrop:/usr/obj/usr/src/sys/TP_R52 i386 >Description: 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/ >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # cle # cle/distinfo # cle/Makefile # cle/pkg-descr # cle/files # cle/files/patch-configure # cle/files/patch-src-cle.c # echo c - cle mkdir -p cle > /dev/null 2>&1 echo x - cle/distinfo sed 's/^X//' >cle/distinfo << 'END-of-cle/distinfo' XMD5 (cle-0.4.tar.gz) = 53e316e6d8dacc22985c26c4818e28af XSHA256 (cle-0.4.tar.gz) = 27fb52f7f1a09d880d7d7f39ba66c12474153df2cb1c57ab512a6e2d27e7b620 XSIZE (cle-0.4.tar.gz) = 374763 END-of-cle/distinfo echo x - cle/Makefile sed 's/^X//' >cle/Makefile << 'END-of-cle/Makefile' X# New ports collection makefile for: cle X# Date created: 25 July 2006 X# Whom: Timothy Bourke <timbob@bigpond.com> X# X# $FreeBSD$ X# X XPORTNAME= cle XPORTVERSION= 0.4 XCATEGORIES= devel XMASTER_SITES= ftp://kaolin.unice.fr/pub/Cle/ X XMAINTAINER= timbob@bigpond.com XCOMMENT= Command Line Editor (based on readline) X XHAS_CONFIGURE= yes XUSE_GMAKE= yes XCONFIGURE_ARGS= --prefix=\"${PREFIX}\" X XPLIST_FILES= bin/cle X XMAN1= cle.1 XMANCOMPRESSED= no X Xpost-extract: X ${CHMOD} ug+x ${WRKSRC}/missing X X.include <bsd.port.mk> END-of-cle/Makefile echo x - cle/pkg-descr sed 's/^X//' >cle/pkg-descr << 'END-of-cle/pkg-descr' XCle is a Command Line Editor. It provides the editing/history/completion Xcommands of the GNU readline package to any line-oriented Unix command. For Xinstance, X X$ cle ftp foo.bar.org X Xadds editing/history/completion commands to the ftp command. X XWWW: http://kaolin.unice.fr/Cle/ END-of-cle/pkg-descr echo c - cle/files mkdir -p cle/files > /dev/null 2>&1 echo x - cle/files/patch-configure sed 's/^X//' >cle/files/patch-configure << 'END-of-cle/files/patch-configure' X--- configure.orig Fri Nov 19 01:24:25 1999 X+++ configure Wed Jul 26 17:02:11 2006 X@@ -1328,7 +1328,7 @@ X X X X-(cd readline; configure $prefix $curses) X+(cd readline; ./configure --prefix="$prefix" $curses) X X X END-of-cle/files/patch-configure echo x - cle/files/patch-src-cle.c sed 's/^X//' >cle/files/patch-src-cle.c << 'END-of-cle/files/patch-src-cle.c' X--- src/cle.c Sat Dec 4 00:41:14 1999 X+++ src/cle.c Fri Mar 24 15:46:07 2006 X@@ -147,8 +147,10 @@ X rl_prep_terminal(_rl_meta_flag); /* Place the terminal in raw mode */ X } else { X /* We are still in echo mode. Register the line in the history */ X- add_history(s); X len= strlen(s); X+ if (len > 0) { X+ add_history(s); X+ } X s[len]= '\n'; X write(fd, s, len+1); X } END-of-cle/files/patch-src-cle.c exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607260728.k6Q7SLD6060226>