1994-11-15 21:44:51 +01:00
|
|
|
# New ports collection makefile for: expect
|
|
|
|
# Date created: 20 November 1994
|
|
|
|
# Whom: pst
|
1999-08-19 05:19:03 +02:00
|
|
|
# Version required: 5.30
|
1994-11-15 21:44:51 +01:00
|
|
|
#
|
1999-08-19 05:19:03 +02:00
|
|
|
# $Id: Makefile,v 1.38 1998/11/14 09:43:17 asami Exp $
|
1994-11-15 21:44:51 +01:00
|
|
|
|
1999-08-19 05:19:03 +02:00
|
|
|
DISTNAME= expect
|
|
|
|
PKGNAME= expect-5.30
|
1998-05-25 22:01:14 +02:00
|
|
|
CATEGORIES= lang tcl80 tk80
|
1999-08-19 05:19:03 +02:00
|
|
|
MASTER_SITES= http://expect.nist.gov/
|
1994-11-15 21:44:51 +01:00
|
|
|
|
1998-05-25 22:01:14 +02:00
|
|
|
MAINTAINER= ports@freebsd.org
|
1997-10-11 14:39:01 +02:00
|
|
|
|
1998-09-25 12:05:14 +02:00
|
|
|
LIB_DEPENDS?= tk80.1:${PORTSDIR}/x11-toolkits/tk80
|
1997-10-11 14:39:01 +02:00
|
|
|
|
1999-08-19 05:19:03 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
1995-04-15 07:44:50 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1998-02-18 07:28:34 +01:00
|
|
|
CONFIGURE_ARGS?= --enable-shared \
|
1997-10-11 14:39:01 +02:00
|
|
|
--with-tclconfig=${PREFIX}/lib/tcl8.0 \
|
1997-10-12 00:26:28 +02:00
|
|
|
--with-tclinclude=${PREFIX}/include/tcl8.0 \
|
1997-10-11 14:39:01 +02:00
|
|
|
--with-tkconfig=${PREFIX}/lib/tk8.0 \
|
1997-10-12 00:26:28 +02:00
|
|
|
--with-tkinclude=${PREFIX}/include/tk8.0
|
1997-10-17 07:27:40 +02:00
|
|
|
.if !defined(NO_MAN_INSTALL)
|
1996-11-18 15:17:24 +01:00
|
|
|
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
|
1997-10-17 07:27:40 +02:00
|
|
|
.endif
|
1995-04-15 07:44:50 +02:00
|
|
|
|
1998-11-14 10:43:39 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
1998-10-05 07:02:34 +02:00
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
1999-08-19 05:19:03 +02:00
|
|
|
SOLIB= libexpect530.so.1
|
1998-10-05 07:02:34 +02:00
|
|
|
.else
|
1999-08-19 05:19:03 +02:00
|
|
|
SOLIB= libexpect530.so.1.2
|
1998-10-05 07:02:34 +02:00
|
|
|
.endif
|
1998-11-14 10:43:39 +01:00
|
|
|
|
|
|
|
post-install:
|
1999-08-19 05:19:03 +02:00
|
|
|
${LN} -sf ${SOLIB} ${PREFIX}/lib/libexpect530.so
|
1998-11-14 10:43:39 +01:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|