1998-10-21 13:31:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 1998/10/21 17:31:44 niklas Exp $
|
1998-01-29 18:12:42 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= expect
|
1998-08-27 00:36:32 -04:00
|
|
|
PKGNAME= expect-5.26
|
1998-01-29 18:12:42 -05:00
|
|
|
CATEGORIES= lang tcl80 tk80
|
1998-10-21 13:31:44 -04:00
|
|
|
#MASTER_SITES= http://expect.nist.gov/
|
1998-01-29 18:12:42 -05:00
|
|
|
|
|
|
|
MAINTAINER= niklas@openbsd.org
|
|
|
|
|
|
|
|
LIB_DEPENDS= tk80\\.1:${PORTSDIR}/x11/tk80
|
|
|
|
|
1998-08-27 00:36:32 -04:00
|
|
|
WRKSRC= ${WRKDIR}/expect-5.26
|
1998-01-29 18:12:42 -05:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
1998-08-27 00:36:32 -04:00
|
|
|
CONFIGURE_ARGS= --with-tclconfig=${PREFIX}/lib/tcl8.0 \
|
1998-01-29 18:12:42 -05:00
|
|
|
--with-tclinclude=${PREFIX}/include/tcl8.0 \
|
|
|
|
--with-tkconfig=${PREFIX}/lib/tk8.0 \
|
|
|
|
--with-tkinclude=${PREFIX}/include/tk8.0
|
1998-08-27 00:36:32 -04:00
|
|
|
.if (${MACHINE_ARCH} != "alpha")
|
|
|
|
CONFIGURE_ARGS+=--enable-shared
|
|
|
|
.endif
|
|
|
|
|
1998-01-29 18:12:42 -05:00
|
|
|
# needed for japanese/expect
|
|
|
|
.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
|
|
|
|
|
|
|
|
test:
|
|
|
|
@(cd ${WRKSRC}; make test)
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|