aboutsummaryrefslogtreecommitdiff
path: root/lang/expect/Makefile
blob: ec017b037244a24011cb92a6a4ad9f22889e05e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:	expect
# Version required:	5.21
# Date created:		20 November 1994
# Whom:			pst
#
# $Id: Makefile,v 1.12 1996/11/12 02:18:08 obrien Exp $
#

DISTNAME=	expect-5.21
CATEGORIES=	lang
MASTER_SITES=	http://expect.nist.gov/ \
		ftp://expect.nist.gov/mel/div826/subject/expect/
DISTFILES=	expect.tar.gz

LIB_DEPENDS=	tk41\\.1\\.:${PORTSDIR}/x11/tk41

HAS_CONFIGURE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS= --enable-shared --with-tclconfig=/usr/libdata/tcl \
		--with-tclinclude=/usr/include/tcl
MAN1=		autoexpect.1 cryptdir.1 decryptdir.1 dislocate.1 \
		expect.1 expectk.1 kibitz.1 mkpasswd.1 passmass.1 \
		tknewsbiff.1 unbuffer.1 xkibitz.1
MAN3=		libexpect.3

test:
	@(cd ${WRKSRC}; make test)

# Sigh, all this just to get tkInt.h..
post-extract:
	(cd ${PORTSDIR}/x11/tk41 && make extract)
	ln -s ${PORTSDIR}/x11/tk41/work/tk* ${WRKDIR}

post-install:
	ldconfig -m ${PREFIX}/lib

.include <bsd.port.mk>