import x11/tkcon, from maintainer Stuart Cassoff - thanks!

A replacement for the standard console that comes with Tk, tkcon
provides many more features than the standard console and works on all
platforms where Tcl/Tk is available.  It is meant primarily to aid one
when working with the little details inside Tcl and Tk and to give Unix
users the GUI console provided by default in the Mac and Windows Tk.

Features:
  Command history.
  Path (Unix style) / Proc / Variable name expansion.
  Multiple and tabbed consoles, each with its own state.
  Captures stdout and stderr to console window.
  Hot errors (click on error result to see stack trace).
  Electric character matching (a la emacs).
  Electric proc highlighting.
  Enhanced history searching.
  Configurable Cut / Copy / Paste between windows.
  Communication between consoles and other Tk interpreters.
This commit is contained in:
sthen 2009-01-07 11:16:56 +00:00
parent 2421c402c0
commit a7cd990c58
5 changed files with 102 additions and 0 deletions

44
x11/tkcon/Makefile Normal file
View File

@ -0,0 +1,44 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/01/07 11:16:56 sthen Exp $
COMMENT = enhanced Tk console
DISTNAME = tkcon-2.4
CATEGORIES = x11 x11/tk
HOMEPAGE = http://sourceforge.net/projects/tkcon/
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
# BSD-like
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = x11/tk
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tkcon/}
RUN_DEPENDS = ${MODTK_RUN_DEPENDS}
NO_BUILD = Yes
NO_REGRESS = Yes
DOCDIR = ${PREFIX}/share/doc/tkcon
post-configure:
@perl -pi -e \
'$$. == 3 && s!exec wish.*$$!exec wish${MODTK_VERSION} "\$$0" \$${1+"\$$@"}!' \
${WRKSRC}/tkcon.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tkcon.tcl ${PREFIX}/bin/tkcon
${INSTALL_DATA_DIR} ${DOCDIR}
.for i in README.txt index.html
${INSTALL_DATA} ${WRKSRC}/$i ${DOCDIR}/$i
.endfor
${INSTALL_DATA_DIR} ${DOCDIR}/docs
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCDIR}/docs/
.include <bsd.port.mk>

5
x11/tkcon/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (tkcon-2.4.tar.gz) = QVkF/j2BqpV/nEQkwhl4Tg==
RMD160 (tkcon-2.4.tar.gz) = 0zcCwI5Abiib0PWb+MB2gFiFy5k=
SHA1 (tkcon-2.4.tar.gz) = TnbYL1c4p/EDzMHVt7beTbpoaQM=
SHA256 (tkcon-2.4.tar.gz) = 6/oYR0IW19+Fb631d49mNx2uinm+HKVyALf1uiKSDGo=
SIZE (tkcon-2.4.tar.gz) = 107436

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-tkcon_tcl,v 1.1.1.1 2009/01/07 11:16:56 sthen Exp $
--- tkcon.tcl.orig Mon Jul 26 17:55:56 2004
+++ tkcon.tcl Tue Sep 30 09:32:44 2008
@@ -41,7 +41,7 @@ exec wish "$0" ${1+"$@"}
if {$tcl_version < 8.0} {
return -code error "tkcon requires at least Tcl/Tk8"
} else {
- package require -exact Tk $tcl_version
+ package require Tk
}
catch {package require bogus-package-name}

17
x11/tkcon/pkg/DESCR Normal file
View File

@ -0,0 +1,17 @@
A replacement for the standard console that comes with Tk, tkcon
provides many more features than the standard console and works on all
platforms where Tcl/Tk is available. It is meant primarily to aid one
when working with the little details inside Tcl and Tk and to give Unix
users the GUI console provided by default in the Mac and Windows Tk.
Features:
Command history.
Path (Unix style) / Proc / Variable name expansion.
Multiple and tabbed consoles, each with its own state.
Captures stdout and stderr to console window.
Hot errors (click on error result to see stack trace).
Electric character matching (a la emacs).
Electric proc highlighting.
Enhanced history searching.
Configurable Cut / Copy / Paste between windows.
Communication between consoles and other Tk interpreters.

24
x11/tkcon/pkg/PLIST Normal file
View File

@ -0,0 +1,24 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/01/07 11:16:56 sthen Exp $
bin/tkcon
share/doc/tkcon/
share/doc/tkcon/README.txt
share/doc/tkcon/docs/
share/doc/tkcon/docs/bindings.html
share/doc/tkcon/docs/changes.txt
share/doc/tkcon/docs/demopic.gif
share/doc/tkcon/docs/dump.html
share/doc/tkcon/docs/idebug.html
share/doc/tkcon/docs/index.html
share/doc/tkcon/docs/license.terms
share/doc/tkcon/docs/limits.html
share/doc/tkcon/docs/nontcl.html
share/doc/tkcon/docs/observe.html
share/doc/tkcon/docs/perl.txt
share/doc/tkcon/docs/plugin.html
share/doc/tkcon/docs/procs.html
share/doc/tkcon/docs/purpose.html
share/doc/tkcon/docs/start.html
share/doc/tkcon/docs/style.css
share/doc/tkcon/docs/tkcon.html
share/doc/tkcon/docs/todo.html
share/doc/tkcon/index.html