eltclsh, a libedit-enhanced Tcl/Tk shell. comments and ok jose@.

This commit is contained in:
matthieu 2003-12-29 11:24:57 +00:00
parent 87a2a2a0d4
commit bce1854fbb
5 changed files with 71 additions and 0 deletions

34
lang/eltclsh/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/12/29 11:24:57 matthieu Exp $
COMMENT= "Libedit interface to Tcl/Tk interpreters"
VERSION= 1.4
DISTNAME= eltclsh-${VERSION}
CATEGORIES= lang x11
MASTER_SITES= http://softs.laas.fr/openrobots/php/download.php/
HOMEPAGE= http://softs.laas.fr/openrobots/tools/eltclsh.php
MAINTAINER= Matthieu Herrb <matthieu@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= MKDEP=/bin/false
USE_GMAKE= Yes
FAKE_FLAGS= prefix=${WRKINST}${PREFIX} ELTCL_LIBRARY=${WRKINST}${PREFIX}/share/eltcl
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}/eltclsh
LIB_DEPENDS+= tcl84::lang/tcl/8.4
LIB_DEPENDS+= tk84::x11/tk/8.4
.include <bsd.port.mk>

3
lang/eltclsh/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (eltclsh-1.4.tar.gz) = 7abcaf331741388fb5a64fbd929567f3
RMD160 (eltclsh-1.4.tar.gz) = ed74b6cb1498130bbff23859306f7145eccaa450
SHA1 (eltclsh-1.4.tar.gz) = d7dbb4226e027a97778eef829c0bb98019c65bac

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_elwish_c,v 1.1.1.1 2003/12/29 11:24:57 matthieu Exp $
--- src/elwish.c.orig Thu Oct 23 20:17:29 2003
+++ src/elwish.c Wed Dec 24 11:05:39 2003
@@ -77,9 +77,6 @@
/* change the rc file */
Tcl_SetVar(iinfo->interp, "tcl_rcFileName", ".elwishrc", TCL_GLOBAL_ONLY);
- /* I hate that stupid empty window you get after Tk_Init() */
- Tcl_Eval(iinfo->interp, "wm withdraw .");
-
return TCL_OK;
}

9
lang/eltclsh/pkg/DESCR Normal file
View File

@ -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 intelligent completion for the full
tcl language by default.
The package also provides elwish, an interactive interpreter for the
Tk toolkit.

10
lang/eltclsh/pkg/PLIST Normal file
View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/12/29 11:24:57 matthieu 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