aboutsummaryrefslogtreecommitdiffstats
path: root/lang/expect/Makefile
blob: dc180d0d905504ceac2505673f535148b4031297 (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.7
# Date created:     20 November 1994
# Whom:         pst
#
# $Id: Makefile,v 1.15 1996/12/16 12:12:59 peter Exp $
#

DISTNAME=   expect-5.21
PKGNAME=    expect-5.21.7
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

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>