2013-09-20 21:53:09 +02:00
|
|
|
# Created by: 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
|
2014-02-28 11:15:16 +01:00
|
|
|
PORTVERSION= 5.45
|
2014-02-28 12:52:17 +01:00
|
|
|
PORTREVISION= 1
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= lang tcl tk
|
2014-02-28 11:15:16 +01:00
|
|
|
MASTER_SITES= SF/expect/Expect/${PORTVERSION}
|
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
1994-11-15 21:44:51 +01:00
|
|
|
|
2013-06-05 00:20:51 +02:00
|
|
|
MAINTAINER= tcltk@FreeBSD.org
|
2014-02-28 11:15:16 +01:00
|
|
|
COMMENT= Sophisticated scripter based on Tcl/Tk
|
1997-10-11 14:39:01 +02:00
|
|
|
|
2014-02-28 11:15:16 +01:00
|
|
|
LIBEXPECT_VER= ${PORTVERSION:S/.//}
|
2006-12-29 03:29:19 +01:00
|
|
|
|
2014-02-28 11:15:16 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
|
2002-07-24 23:46:39 +02:00
|
|
|
|
2014-02-28 11:15:16 +01:00
|
|
|
USES= tcl
|
2006-12-29 03:29:19 +01:00
|
|
|
USE_LDCONFIG= yes
|
1995-04-15 07:44:50 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-02-28 11:15:16 +01:00
|
|
|
CONFIGURE_ARGS= --enable-shared \
|
|
|
|
--exec-prefix=${PREFIX} \
|
2014-02-28 12:52:17 +01:00
|
|
|
--datadir=${DATADIR} \
|
2014-02-28 11:15:16 +01:00
|
|
|
--with-tclconfig=${TCL_LIBDIR} \
|
|
|
|
--with-tclinclude=${TCL_INCLUDEDIR}
|
|
|
|
PLIST_SUB+= EXPECT_VER=${PORTVERSION} \
|
|
|
|
LIBEXPECT_VER=${LIBEXPECT_VER}
|
2004-08-14 11:35:32 +02:00
|
|
|
|
1998-11-14 10:43:39 +01:00
|
|
|
post-install:
|
2014-02-28 11:15:16 +01:00
|
|
|
${LN} -sf expect${PORTVERSION}/libexpect${LIBEXPECT_VER}.so \
|
|
|
|
${STAGEDIR}${PREFIX}/lib/libexpect.so.1
|
|
|
|
${LN} -sf libexpect.so.1 \
|
|
|
|
${STAGEDIR}${PREFIX}/lib/libexpect.so
|
|
|
|
|
|
|
|
regression-test: build
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test
|
1998-11-14 10:43:39 +01:00
|
|
|
|
1999-11-01 01:38:05 +01:00
|
|
|
.include <bsd.port.mk>
|