openbsd-ports/lang/expect/Makefile

47 lines
1.0 KiB
Makefile
Raw Normal View History

1998-01-29 18:12:42 -05:00
# New ports collection makefile for: expect
# Date created: 29 January 1998
# Whom: niklas
# Version required: 5.25
#
1998-01-30 17:13:57 -05:00
# $Id: Makefile,v 1.2 1998/01/30 22:13:57 niklas Exp $
1998-01-29 18:12:42 -05:00
#
DISTNAME= expect
PKGNAME= expect-5.25
CATEGORIES= lang tcl80 tk80
MASTER_SITES= http://expect.nist.gov/
MAINTAINER= niklas@openbsd.org
LIB_DEPENDS= tk80\\.1:${PORTSDIR}/x11/tk80
WRKSRC= ${WRKDIR}/expect-5.25
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
# 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:
1998-01-30 17:13:57 -05:00
.if (${MACHINE_ARCH} != "alpha")
.if (${MACHINE_ARCH} == "mips")
${LDCONFIG} -n ${PREFIX}/lib
.else
1998-01-29 18:12:42 -05:00
${LDCONFIG} -m ${PREFIX}/lib
1998-01-30 17:13:57 -05:00
.endif
.endif
1998-01-29 18:12:42 -05:00
.include <bsd.port.mk>