summaryrefslogtreecommitdiff
path: root/lang/tcl-expect
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2003-01-28 03:41:02 +0000
committermarkd <markd@pkgsrc.org>2003-01-28 03:41:02 +0000
commit65ef010af09959edc2c92a0e855b691b8a774248 (patch)
tree5c99634467eb4b9e925bb7fa3c6d5c29ada4e343 /lang/tcl-expect
parent90b70472e1badf99181a4deaec02e16e01db804e (diff)
downloadpkgsrc-65ef010af09959edc2c92a0e855b691b8a774248.tar.gz
Add a Makefile.common to tcl-expect and use it to keep tk-expect in sync.
Fixes PR 20055 from Robert Elz. Updates tk-expect to version 5.38. Also remove the pre-configure step from tk-expect that was removed from tcl-expect a year ago. Also use the standard test target rather than an explict one.
Diffstat (limited to 'lang/tcl-expect')
-rw-r--r--lang/tcl-expect/Makefile15
-rw-r--r--lang/tcl-expect/Makefile.common17
2 files changed, 21 insertions, 11 deletions
diff --git a/lang/tcl-expect/Makefile b/lang/tcl-expect/Makefile
index bea386d1dd2..22a22a6487a 100644
--- a/lang/tcl-expect/Makefile
+++ b/lang/tcl-expect/Makefile
@@ -1,28 +1,21 @@
-# $NetBSD: Makefile,v 1.11 2003/01/10 00:11:00 mycroft Exp $
+# $NetBSD: Makefile,v 1.12 2003/01/28 03:41:02 markd Exp $
#
-DISTNAME= expect-5.38.0
-PKGNAME= tcl-expect-5.38.0
+.include "Makefile.common"
+
+PKGNAME= tcl-expect-${EXPECT_VERSION}
CATEGORIES= lang
-MASTER_SITES= http://expect.nist.gov/src/
MAINTAINER= jwise@netbsd.org
-HOMEPAGE= http://expect.nist.gov/
COMMENT= extensions to Tcl to support scripting of interactive programs
DEPENDS+= tcl>=8.3.2:../../lang/tcl
-WRKSRC= ${WRKDIR}/expect-5.38
CONFLICTS+= expect-[0-9]*
-GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
CONFIGURE_ARGS= --enable-shared \
--with-tclconfig=${PREFIX}/lib \
--with-tclinclude=${PREFIX}/include/tcl \
--without-x
-test:
- @(cd ${WRKSRC}; ${MAKE} test)
-
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/tcl-expect/Makefile.common b/lang/tcl-expect/Makefile.common
new file mode 100644
index 00000000000..d918a7072d6
--- /dev/null
+++ b/lang/tcl-expect/Makefile.common
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile.common,v 1.1 2003/01/28 03:41:02 markd Exp $
+#
+
+DISTNAME= expect-${EXPECT_VERSION}
+MASTER_SITES= http://expect.nist.gov/src/
+HOMEPAGE= http://expect.nist.gov/
+
+EXPECT_VERSION= 5.38.0
+
+WRKSRC= ${WRKDIR}/expect-5.38
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+TEST_TARGET= test
+
+DISTINFO_FILE= ${.CURDIR}/../../lang/tcl-expect/distinfo
+PATCHDIR= ${.CURDIR}/../../lang/tcl-expect/patches