summaryrefslogtreecommitdiff
path: root/lang/tk-expect/Makefile
diff options
context:
space:
mode:
authormarkd <markd>2003-01-28 03:41:02 +0000
committermarkd <markd>2003-01-28 03:41:02 +0000
commit1bd5ce42d9b80755702a270163f9e9ee4511d68b (patch)
tree5c99634467eb4b9e925bb7fa3c6d5c29ada4e343 /lang/tk-expect/Makefile
parent479cfb013f45c1af73469b70db66696135cbb45d (diff)
downloadpkgsrc-1bd5ce42d9b80755702a270163f9e9ee4511d68b.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/tk-expect/Makefile')
-rw-r--r--lang/tk-expect/Makefile26
1 files changed, 5 insertions, 21 deletions
diff --git a/lang/tk-expect/Makefile b/lang/tk-expect/Makefile
index 716673f469d..7bcc74b5c37 100644
--- a/lang/tk-expect/Makefile
+++ b/lang/tk-expect/Makefile
@@ -1,41 +1,25 @@
-# $NetBSD: Makefile,v 1.10 2001/10/25 22:21:53 jwise Exp $
+# $NetBSD: Makefile,v 1.11 2003/01/28 03:41:03 markd Exp $
#
-DISTNAME= expect-5.33.0
-PKGNAME= tk-expect-5.33.0
+.include "../../lang/tcl-expect/Makefile.common"
+
+PKGNAME= tk-expect-${EXPECT_VERSION}
CATEGORIES= lang
-MASTER_SITES= http://expect.nist.gov/src/
MAINTAINER= jwise@netbsd.org
-HOMEPAGE= http://expect.nist.gov/
COMMENT= tcl interpreter with both the expect and tk extensions built in
DEPENDS+= tk>=8.3.2:../../x11/tk
-DEPENDS+= tcl-expect-5.33.0:../../lang/tcl-expect
-
-WRKSRC= ${WRKDIR}/expect-5.33
-
-DISTINFO_FILE= ${.CURDIR}/../../lang/tcl-expect/distinfo
-PATCHDIR= ${.CURDIR}/../../lang/tcl-expect/patches
+DEPENDS+= tcl-expect-${EXPECT_VERSION}:../../lang/tcl-expect
-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"
-
-pre-configure:
- cd ${WRKSRC} && ${TOUCH} configure
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/expectk ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/expectk.man ${PREFIX}/man/man1/expectk.1
-test:
- @(cd ${WRKSRC}; ${MAKE} test)
-
.include "../../mk/bsd.pkg.mk"