openbsd-ports/x11/tkcon/Makefile
sthen a7cd990c58 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.
2009-01-07 11:16:56 +00:00

45 lines
985 B
Makefile

# $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>