aboutsummaryrefslogtreecommitdiffstats
path: root/lang/expect/Makefile
blob: fe79aea4f244d3504e36726d6a1062397ab72204 (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
# New ports collection makefile for:    expect
# Date created:     20 November 1994
# Whom:         pst
#
# $FreeBSD$

PORTNAME=   expect
PORTVERSION=    5.31.8
CATEGORIES= lang tcl82 tk82
MASTER_SITES=   http://expect.nist.gov/
DISTNAME=   expect

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS?=   tk82.1:${PORTSDIR}/x11-toolkits/tk82

WRKSRC=     ${WRKDIR}/expect-5.31
GNU_CONFIGURE=  yes
CONFIGURE_ARGS?= --enable-shared \
        --with-tclconfig=${PREFIX}/lib/tcl8.2 \
        --with-tclinclude=${PREFIX}/include/tcl8.2 \
        --with-tkconfig=${PREFIX}/lib/tk8.2 \
        --with-tkinclude=${PREFIX}/include/tk8.2
.if !defined(NO_MAN_INSTALL)
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
.endif

post-install:
    ${LN} -sf libexpect531.so.1 ${PREFIX}/lib/libexpect531.so
    ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>