From 55375e18f0737c82c05248bce7de705e1890578e Mon Sep 17 00:00:00 2001 From: jwise Date: Tue, 5 Sep 2000 17:13:30 +0000 Subject: Initial import tk-expect-5.32.1. This package installs expectk, a tcl interpreter with both tk and expect extensions built in. It is expected that many users will prefer to do the folowing: #!/usr/pkg/bin/wish package require Expect --- lang/tk-expect/Makefile | 37 +++++++++++++++++++++++++++++++++++++ lang/tk-expect/pkg/COMMENT | 1 + lang/tk-expect/pkg/DESCR | 8 ++++++++ lang/tk-expect/pkg/PLIST | 3 +++ 4 files changed, 49 insertions(+) create mode 100644 lang/tk-expect/Makefile create mode 100644 lang/tk-expect/pkg/COMMENT create mode 100644 lang/tk-expect/pkg/DESCR create mode 100644 lang/tk-expect/pkg/PLIST diff --git a/lang/tk-expect/Makefile b/lang/tk-expect/Makefile new file mode 100644 index 00000000000..13edb54dbdc --- /dev/null +++ b/lang/tk-expect/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/09/05 17:13:30 jwise Exp $ +# + +DISTNAME= expect +PKGNAME= tk-expect-5.32.1 +CATEGORIES= lang +MASTER_SITES= http://expect.nist.gov/ + +MAINTAINER= jwise@netbsd.org +HOMEPAGE= http://expect.nist.gov/ + +DEPENDS+= tcl-8.3.2:../../lang/tcl + +WRKSRC= ${WRKDIR}/expect-5.32 +DIST_SUBDIR= expect-5.32.1 + +FILESDIR= ${.CURDIR}/../../lang/tcl-expect/files +PATCHDIR= ${.CURDIR}/../../lang/tcl-expect/patches + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +CONFIGURE_ARGS= --enable-shared \ + --with-tclconfig=${PREFIX}/lib \ + --with-tkconfig=${PREFIX}/lib \ + --with-tclinclude=${PREFIX}/include/tcl \ + --with-tkinclude=${PREFIX}/include/tk \ + +.include "../../mk/bsd.prefs.mk" + +do-install: + ${INSTALL_BIN} ${WRKSRC}/expectk ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/expectk.man ${PREFIX}/man/man1/expectk.1 + +test: + @(cd ${WRKSRC}; ${MAKE} test) + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/tk-expect/pkg/COMMENT b/lang/tk-expect/pkg/COMMENT new file mode 100644 index 00000000000..87650e5fe2e --- /dev/null +++ b/lang/tk-expect/pkg/COMMENT @@ -0,0 +1 @@ +expectk, a tcl interpreter with both the expect and tk extensions built in. diff --git a/lang/tk-expect/pkg/DESCR b/lang/tk-expect/pkg/DESCR new file mode 100644 index 00000000000..0afe0bf100f --- /dev/null +++ b/lang/tk-expect/pkg/DESCR @@ -0,0 +1,8 @@ +Expect is a program that performs programmed dialogue with other +interactive programs. It is briefly described by its man page, expect(1). + +It uses pseudo-tty's to control the child processes, so it is not affected +by programs that refuse to read from stdin or pipes. (eg: passwd(1) etc). + +This package installs expectk, a version of the wish(1) interpreter for +tcl/tk with the expect extensions always present. diff --git a/lang/tk-expect/pkg/PLIST b/lang/tk-expect/pkg/PLIST new file mode 100644 index 00000000000..c3f898405a8 --- /dev/null +++ b/lang/tk-expect/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/09/05 17:13:30 jwise Exp $ +bin/expectk +man/man1/expectk.1 -- cgit v1.2.3