diff options
-rw-r--r-- | shells/eltclsh/DESCR | 9 | ||||
-rw-r--r-- | shells/eltclsh/Makefile | 21 | ||||
-rw-r--r-- | shells/eltclsh/PLIST | 10 | ||||
-rw-r--r-- | shells/eltclsh/distinfo | 6 | ||||
-rw-r--r-- | shells/eltclsh/patches/patch-aa | 13 |
5 files changed, 59 insertions, 0 deletions
diff --git a/shells/eltclsh/DESCR b/shells/eltclsh/DESCR new file mode 100644 index 00000000000..4e854250fcf --- /dev/null +++ b/shells/eltclsh/DESCR @@ -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 --git a/shells/eltclsh/Makefile b/shells/eltclsh/Makefile new file mode 100644 index 00000000000..3315470837d --- /dev/null +++ b/shells/eltclsh/Makefile @@ -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 +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 --git a/shells/eltclsh/PLIST b/shells/eltclsh/PLIST new file mode 100644 index 00000000000..1b91460422f --- /dev/null +++ b/shells/eltclsh/PLIST @@ -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 --git a/shells/eltclsh/distinfo b/shells/eltclsh/distinfo new file mode 100644 index 00000000000..f67bf289ef8 --- /dev/null +++ b/shells/eltclsh/distinfo @@ -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 --git a/shells/eltclsh/patches/patch-aa b/shells/eltclsh/patches/patch-aa new file mode 100644 index 00000000000..e9c76f6a32e --- /dev/null +++ b/shells/eltclsh/patches/patch-aa @@ -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); + } |