aboutsummaryrefslogtreecommitdiffstats
path: root/lang/expect/Makefile
blob: 88292de0aa39ac64a58a44f5ec2dbc7d5ed738ca (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
38
39
40
41
42
43
# New ports collection makefile for:    expect
# Date created:     20 November 1994
# Whom:         pst
# Version required: 5.28
#
# $Id: Makefile,v 1.37 1998/10/10 04:07:04 steve Exp $
#
# Note this file is included from japanese/expect/Makefile

DISTNAME=   expect-5.28
CATEGORIES= lang tcl80 tk80
MASTER_SITES=   ftp://peloton.physics.montana.edu/pub/distfiles/

MAINTAINER= ports@freebsd.org

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

GNU_CONFIGURE=  yes
CONFIGURE_ARGS?= --enable-shared \
        --with-tclconfig=${PREFIX}/lib/tcl8.0 \
        --with-tclinclude=${PREFIX}/include/tcl8.0 \
        --with-tkconfig=${PREFIX}/lib/tk8.0 \
        --with-tkinclude=${PREFIX}/include/tk8.0
.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

.include <bsd.port.pre.mk>

.if ${PORTOBJFORMAT} == "elf"
SOLIB=  libexpect528.so.1
.else
SOLIB=  libexpect528.so.1.2
.endif

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

.include <bsd.port.post.mk>