pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/eltclsh Import eltclsh version 1.6.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e31561a7ffed
branches:  trunk
changeset: 521789:e31561a7ffed
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Nov 21 15:27:42 2006 +0000

description:
Import eltclsh version 1.6.
Based on PR 22994 by Anthony Mallet.
I modify to adapt to recent pkgsrc tree and update from 1.4 to 1.6.

eltclsh (editline tcl shell) is an interactive shell for the TCL
programming language. It provides command line editing, history browsing
as well as variables and command completion thanks to editline
features. The completion engine is programmable in a way similar to tcsh,
and comes with an programmed completion for the whole TCL language by
default.

The package also provides elwish, an interactive interpreter for the Tk
toolkit.

diffstat:

 shells/eltclsh/DESCR            |   9 +++++++++
 shells/eltclsh/Makefile         |  21 +++++++++++++++++++++
 shells/eltclsh/PLIST            |  10 ++++++++++
 shells/eltclsh/distinfo         |   6 ++++++
 shells/eltclsh/patches/patch-aa |  13 +++++++++++++
 5 files changed, 59 insertions(+), 0 deletions(-)

diffs (79 lines):

diff -r d6e884a704ff -r e31561a7ffed shells/eltclsh/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/eltclsh/DESCR      Tue Nov 21 15:27:42 2006 +0000
@@ -0,0 +1,9 @@
+eltclsh (editline tcl shell) is an interactive shell for the TCL
+programming language. It provides command line editing, history browsing
+as well as variables and command completion thanks to editline
+features. The completion engine is programmable in a way similar to tcsh,
+and comes with an programmed completion for the whole TCL language by
+default.
+
+The package also provides elwish, an interactive interpreter for the Tk
+toolkit.
diff -r d6e884a704ff -r e31561a7ffed shells/eltclsh/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/eltclsh/Makefile   Tue Nov 21 15:27:42 2006 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/11/21 15:27:42 obache Exp $
+
+DISTNAME=      eltclsh-1.6
+CATEGORIES=    shells
+MASTER_SITES=  http://softs.laas.fr/openrobots/distfiles/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://softs.laas.fr/openrobots/tools/eltclsh.php
+COMMENT=       Interactive TCL shell with editline facilities
+
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
+CONFIGURE_ARGS+=       --with-tk=${BUILDLINK_PREFIX.tk}/lib
+
+USE_LANGUAGES=         c
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake groff
+
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../x11/tk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d6e884a704ff -r e31561a7ffed shells/eltclsh/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/eltclsh/PLIST      Tue Nov 21 15:27:42 2006 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/11/21 15:27:42 obache Exp $
+bin/eltclsh
+bin/elwish
+man/cat1/eltclsh.0
+man/man1/eltclsh.1
+share/eltcl/complete.tcl
+share/eltcl/init.tcl
+share/eltcl/pkgIndex.tcl
+share/eltcl/tools.tcl
+@dirrm share/eltcl
diff -r d6e884a704ff -r e31561a7ffed shells/eltclsh/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/eltclsh/distinfo   Tue Nov 21 15:27:42 2006 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/11/21 15:27:42 obache Exp $
+
+SHA1 (eltclsh-1.6.tar.gz) = 159d79c265ed6cf3efd1c926f58c6705c630ed4e
+RMD160 (eltclsh-1.6.tar.gz) = daf83a9f509015e0c6d405f57ae6940e0f129d06
+Size (eltclsh-1.6.tar.gz) = 328626 bytes
+SHA1 (patch-aa) = 77ed0d9200df1b533997e4d0147d4bd3e3226108
diff -r d6e884a704ff -r e31561a7ffed shells/eltclsh/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/eltclsh/patches/patch-aa   Tue Nov 21 15:27:42 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/11/21 15:27:42 obache Exp $
+
+--- src/loop.c.orig    2005-10-04 07:29:20.000000000 +0000
++++ src/loop.c
+@@ -301,7 +301,7 @@ elTclshLoop(int argc, char **argv, ElTcl
+     */
+ 
+  done:
+-   if (iinfo->command != NULL) Tcl_DecrRefCount(iinfo->command);
++   if (iinfo->command != NULL) {Tcl_DecrRefCount(iinfo->command);}
+    snprintf(buffer, sizeof(buffer), "exit %d", exitCode);
+    Tcl_Eval(iinfo->interp, buffer);
+ }



Home | Main Index | Thread Index | Old Index