1994-11-15 20:44:51 +00:00
|
|
|
# New ports collection makefile for: expect
|
|
|
|
# Date created: 20 November 1994
|
|
|
|
# Whom: pst
|
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1994-11-15 20:44:51 +00:00
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= expect
|
2002-07-24 21:46:39 +00:00
|
|
|
PORTVERSION= 5.38.0
|
2002-08-24 10:22:23 +00:00
|
|
|
PORTREVISION= 1
|
2001-03-13 09:33:29 +00:00
|
|
|
CATEGORIES= lang tcl83 tk83
|
2001-10-07 17:16:46 +00:00
|
|
|
MASTER_SITES= http://expect.nist.gov/src/
|
1994-11-15 20:44:51 +00:00
|
|
|
|
2002-07-09 16:35:54 +00:00
|
|
|
MAINTAINER= jerry@thehutt.org
|
2003-02-21 12:35:09 +00:00
|
|
|
COMMENT= A sophisticated scripter based on tcl/tk
|
1997-10-11 12:39:01 +00:00
|
|
|
|
2001-11-24 20:04:18 +00:00
|
|
|
.if !defined(WITHOUT_X11)
|
2001-03-13 09:33:29 +00:00
|
|
|
LIB_DEPENDS?= tk83.1:${PORTSDIR}/x11-toolkits/tk83
|
2001-11-24 20:04:18 +00:00
|
|
|
.else
|
|
|
|
LIB_DEPENDS?= tcl83.1:${PORTSDIR}/lang/tcl83
|
|
|
|
.endif
|
1997-10-11 12:39:01 +00:00
|
|
|
|
2002-07-24 21:46:39 +00:00
|
|
|
EXPECT_VER= 5.38
|
|
|
|
LIBEXPECT_VER= 538
|
|
|
|
|
2002-07-09 16:24:38 +00:00
|
|
|
WRKSRC= ${WRKDIR}/expect-${EXPECT_VER}
|
2002-07-24 21:46:39 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
1995-04-15 05:44:50 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2001-11-24 20:04:18 +00:00
|
|
|
|
2002-07-09 16:24:38 +00:00
|
|
|
PLIST_SUB+= EXPECT_VER="${EXPECT_VER}"
|
|
|
|
PLIST_SUB+= LIBEXPECT_VER="${LIBEXPECT_VER}"
|
|
|
|
|
2001-11-24 20:04:18 +00:00
|
|
|
.if defined(WITHOUT_X11)
|
2002-07-24 21:46:39 +00:00
|
|
|
TK_CONFIG_ARGS=
|
|
|
|
PLIST_SUB+= XFILES="@comment "
|
2001-11-24 20:04:18 +00:00
|
|
|
.else
|
2002-07-24 21:46:39 +00:00
|
|
|
TK_CONFIG_ARGS= --with-tkconfig=${LOCALBASE}/lib/tk8.3 \
|
|
|
|
--with-tkinclude=${LOCALBASE}/include/tk8.3
|
|
|
|
PLIST_SUB+= XFILES=""
|
2001-11-24 20:04:18 +00:00
|
|
|
.endif
|
|
|
|
|
2002-07-24 21:46:39 +00:00
|
|
|
CONFIGURE_ARGS?=--enable-shared \
|
|
|
|
--with-tclconfig=${LOCALBASE}/lib/tcl8.3 \
|
|
|
|
--with-tclinclude=${LOCALBASE}/include/tcl8.3 \
|
2001-11-24 20:04:18 +00:00
|
|
|
${TK_CONFIG_ARGS}
|
2003-03-29 19:57:16 +00:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-lutil"
|
2002-07-09 16:24:38 +00:00
|
|
|
|
1997-10-17 05:27:40 +00:00
|
|
|
.if !defined(NO_MAN_INSTALL)
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN1= autoexpect.1 cryptdir.1 decryptdir.1 dislocate.1 \
|
2002-07-09 16:24:38 +00:00
|
|
|
expect.1 kibitz.1 mkpasswd.1 multixterm.1 passmass.1 \
|
1996-11-18 14:17:24 +00:00
|
|
|
tknewsbiff.1 unbuffer.1 xkibitz.1
|
2001-11-24 20:04:18 +00:00
|
|
|
.if !defined(WITHOUT_X11)
|
2002-07-24 21:46:39 +00:00
|
|
|
MAN1+= expectk.1
|
2001-11-24 20:04:18 +00:00
|
|
|
.endif
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN3= libexpect.3
|
1997-10-17 05:27:40 +00:00
|
|
|
.endif
|
1995-04-15 05:44:50 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
post-install:
|
2002-07-09 16:24:38 +00:00
|
|
|
${LN} -sf libexpect${LIBEXPECT_VER}.so.1 \
|
|
|
|
${PREFIX}/lib/libexpect${LIBEXPECT_VER}.so
|
1998-11-14 09:43:39 +00:00
|
|
|
|
1999-11-01 00:38:05 +00:00
|
|
|
.include <bsd.port.mk>
|