freebsd-ports/lang/expect/Makefile

68 lines
1.5 KiB
Makefile
Raw Normal View History

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
PORTNAME= expect
PORTVERSION= 5.43.0
PORTREVISION= 3
CATEGORIES= lang tcl tk
MASTER_SITES= http://expect.nist.gov/src/
1994-11-15 21:44:51 +01:00
MAINTAINER= shaun@FreeBSD.org
2003-02-21 13:35:09 +01:00
COMMENT= A sophisticated scripter based on tcl/tk
2007-10-17 14:17:02 +02:00
CONFLICTS= expect-5.44*
PORTSCOUT= skipv:5.44.0,5.44.1 # These were recalled by NIST
.if !defined(WITHOUT_X11)
LIB_DEPENDS?= tk84.1:${PORTSDIR}/x11-toolkits/tk84
.else
LIB_DEPENDS?= tcl84.1:${PORTSDIR}/lang/tcl84
.endif
EXPECT_VER= 5.43
LIBEXPECT_VER= 543
WRKSRC= ${WRKDIR}/expect-${EXPECT_VER}
USE_LDCONFIG= yes
1995-04-15 07:44:50 +02:00
GNU_CONFIGURE= yes
PLIST_SUB+= EXPECT_VER="${EXPECT_VER}"
PLIST_SUB+= LIBEXPECT_VER="${LIBEXPECT_VER}"
.if defined(WITHOUT_X11)
TK_CONFIG_ARGS=
PLIST_SUB+= XFILES="@comment "
.else
TK_CONFIG_ARGS= --with-tkconfig=${LOCALBASE}/lib/tk8.4 \
--with-tkinclude=${LOCALBASE}/include/tk8.4
PLIST_SUB+= XFILES=""
.endif
CONFIGURE_ARGS?=--enable-shared \
--with-tclconfig=${LOCALBASE}/lib/tcl8.4 \
--with-tclinclude=${LOCALBASE}/include/tcl8.4 \
${TK_CONFIG_ARGS}
.if !defined(NO_MAN_INSTALL)
MAN1= autoexpect.1 cryptdir.1 decryptdir.1 dislocate.1 \
expect.1 kibitz.1 mkpasswd.1 multixterm.1 passmass.1 \
tknewsbiff.1 unbuffer.1 xkibitz.1
.if !defined(WITHOUT_X11)
MAN1+= expectk.1
.endif
MAN3= libexpect.3
.endif
1995-04-15 07:44:50 +02:00
post-patch:
${TOUCH} ${WRKSRC}/configure
post-install:
${LN} -sf libexpect${LIBEXPECT_VER}.so.1 \
${PREFIX}/lib/libexpect${LIBEXPECT_VER}.so
.include <bsd.port.mk>