1994-11-15 21:44:51 +01:00
|
|
|
# New ports collection makefile for: expect
|
|
|
|
# Date created: 20 November 1994
|
|
|
|
# Whom: pst
|
|
|
|
#
|
1999-08-25 08:35:40 +02:00
|
|
|
# $FreeBSD$
|
1994-11-15 21:44:51 +01:00
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= expect
|
2005-06-23 17:10:02 +02:00
|
|
|
PORTVERSION= 5.43.0
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 3
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= lang tcl tk
|
2011-08-11 19:52:03 +02:00
|
|
|
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
|
1994-11-15 21:44:51 +01:00
|
|
|
|
2009-03-14 00:27:19 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:35:09 +01:00
|
|
|
COMMENT= A sophisticated scripter based on tcl/tk
|
1997-10-11 14:39:01 +02:00
|
|
|
|
2007-10-17 14:17:02 +02:00
|
|
|
CONFLICTS= expect-5.44*
|
|
|
|
|
2006-12-29 03:29:19 +01:00
|
|
|
PORTSCOUT= skipv:5.44.0,5.44.1 # These were recalled by NIST
|
|
|
|
|
2005-06-23 17:10:02 +02:00
|
|
|
EXPECT_VER= 5.43
|
|
|
|
LIBEXPECT_VER= 543
|
2002-07-24 23:46:39 +02:00
|
|
|
|
2002-07-09 18:24:38 +02:00
|
|
|
WRKSRC= ${WRKDIR}/expect-${EXPECT_VER}
|
2006-12-29 03:29:19 +01:00
|
|
|
USE_LDCONFIG= yes
|
1995-04-15 07:44:50 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-11-24 21:04:18 +01:00
|
|
|
|
2002-07-09 18:24:38 +02:00
|
|
|
PLIST_SUB+= EXPECT_VER="${EXPECT_VER}"
|
|
|
|
PLIST_SUB+= LIBEXPECT_VER="${LIBEXPECT_VER}"
|
|
|
|
|
2010-02-12 11:37:20 +01:00
|
|
|
OPTIONS= X11 "Enable X11 support" on
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_X11)
|
|
|
|
LIB_DEPENDS?= tk84.1:${PORTSDIR}/x11-toolkits/tk84
|
|
|
|
.else
|
|
|
|
LIB_DEPENDS?= tcl84.1:${PORTSDIR}/lang/tcl84
|
|
|
|
.endif
|
|
|
|
|
2001-11-24 21:04:18 +01:00
|
|
|
.if defined(WITHOUT_X11)
|
2002-07-24 23:46:39 +02:00
|
|
|
TK_CONFIG_ARGS=
|
|
|
|
PLIST_SUB+= XFILES="@comment "
|
2001-11-24 21:04:18 +01:00
|
|
|
.else
|
2003-11-16 16:35:37 +01:00
|
|
|
TK_CONFIG_ARGS= --with-tkconfig=${LOCALBASE}/lib/tk8.4 \
|
|
|
|
--with-tkinclude=${LOCALBASE}/include/tk8.4
|
2002-07-24 23:46:39 +02:00
|
|
|
PLIST_SUB+= XFILES=""
|
2001-11-24 21:04:18 +01:00
|
|
|
.endif
|
|
|
|
|
2002-07-24 23:46:39 +02:00
|
|
|
CONFIGURE_ARGS?=--enable-shared \
|
2003-11-16 16:35:37 +01:00
|
|
|
--with-tclconfig=${LOCALBASE}/lib/tcl8.4 \
|
|
|
|
--with-tclinclude=${LOCALBASE}/include/tcl8.4 \
|
2001-11-24 21:04:18 +01:00
|
|
|
${TK_CONFIG_ARGS}
|
2002-07-09 18:24:38 +02:00
|
|
|
|
1997-10-17 07:27:40 +02:00
|
|
|
.if !defined(NO_MAN_INSTALL)
|
1996-11-18 15:17:24 +01:00
|
|
|
MAN1= autoexpect.1 cryptdir.1 decryptdir.1 dislocate.1 \
|
2002-07-09 18:24:38 +02:00
|
|
|
expect.1 kibitz.1 mkpasswd.1 multixterm.1 passmass.1 \
|
1996-11-18 15:17:24 +01:00
|
|
|
tknewsbiff.1 unbuffer.1 xkibitz.1
|
2001-11-24 21:04:18 +01:00
|
|
|
.if !defined(WITHOUT_X11)
|
2002-07-24 23:46:39 +02:00
|
|
|
MAN1+= expectk.1
|
2001-11-24 21:04:18 +01:00
|
|
|
.endif
|
1996-11-18 15:17:24 +01:00
|
|
|
MAN3= libexpect.3
|
1997-10-17 07:27:40 +02:00
|
|
|
.endif
|
1995-04-15 07:44:50 +02:00
|
|
|
|
2004-08-14 11:35:32 +02:00
|
|
|
post-patch:
|
|
|
|
${TOUCH} ${WRKSRC}/configure
|
|
|
|
|
1998-11-14 10:43:39 +01:00
|
|
|
post-install:
|
2002-07-09 18:24:38 +02:00
|
|
|
${LN} -sf libexpect${LIBEXPECT_VER}.so.1 \
|
|
|
|
${PREFIX}/lib/libexpect${LIBEXPECT_VER}.so
|
1998-11-14 10:43:39 +01:00
|
|
|
|
1999-11-01 01:38:05 +01:00
|
|
|
.include <bsd.port.mk>
|