2010-07-10 01:32:14 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.52 2010/07/10 05:32:14 ajacoutot Exp $
|
2001-05-05 21:27:52 -04:00
|
|
|
|
2007-09-15 20:27:05 -04:00
|
|
|
COMMENT= sophisticated scripter based on Tcl/Tk
|
1998-01-29 18:12:42 -05:00
|
|
|
|
2005-06-12 08:04:00 -04:00
|
|
|
DISTNAME= expect-5.43.0
|
2009-11-19 17:36:56 -05:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2005-12-25 15:42:47 -05:00
|
|
|
SHARED_LIBS= expect543 1.2
|
1999-04-29 17:25:08 -04:00
|
|
|
CATEGORIES= lang
|
2010-07-10 01:32:14 -04:00
|
|
|
#MASTER_SITES= http://expect.nist.gov/old/
|
|
|
|
MASTER_SITES= ftp://ftp.fr.freebsd.org/pub/FreeBSD/distfiles/
|
1998-01-29 18:12:42 -05:00
|
|
|
|
2000-07-20 00:56:42 -04:00
|
|
|
HOMEPAGE= http://expect.nist.gov/
|
|
|
|
|
2003-09-23 19:08:44 -04:00
|
|
|
# PD
|
2000-03-05 13:30:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-02-13 14:31:19 -05:00
|
|
|
WANTLIB= c util m
|
2000-02-12 03:58:16 -05:00
|
|
|
|
2002-06-30 13:50:28 -04:00
|
|
|
FLAVORS= no_tk
|
|
|
|
FLAVOR?=
|
|
|
|
|
1999-04-29 17:25:08 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
2003-09-23 19:08:44 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
|
2009-03-11 16:11:30 -04:00
|
|
|
|
|
|
|
MODTCL_VERSION= 8.4
|
|
|
|
MODTK_VERSION= 8.4
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+=--with-tclconfig="${MODTCL_LIBDIR}" \
|
|
|
|
--with-tclinclude="${MODTCL_INCDIR}"
|
2005-12-25 15:42:47 -05:00
|
|
|
CONFIGURE_ENV= LIBexpect543_VERSION=${LIBexpect543_VERSION}
|
2002-06-30 13:50:28 -04:00
|
|
|
|
|
|
|
.if !${FLAVOR:L:Mno_tk}
|
2009-03-11 16:11:30 -04:00
|
|
|
MODULES= x11/tk
|
|
|
|
LIB_DEPENDS+= ${MODTK_LIB_DEPENDS}
|
|
|
|
CONFIGURE_ARGS+=--with-tkconfig="${MODTK_LIBDIR}" \
|
|
|
|
--with-tkinclude="${MODTK_INCDIR}"
|
2009-08-10 13:31:07 -04:00
|
|
|
WANTLIB+= X11 pthread-stubs xcb
|
2009-03-11 16:11:30 -04:00
|
|
|
.else
|
|
|
|
MODULES= lang/tcl
|
|
|
|
LIB_DEPENDS+= ${MODTCL_LIB_DEPENDS}
|
2002-06-30 13:50:28 -04:00
|
|
|
.endif
|
1998-08-27 00:36:32 -04:00
|
|
|
|
2002-12-14 19:22:03 -05:00
|
|
|
REGRESS_TARGET= test
|
|
|
|
|
|
|
|
DESTDIRNAME= INSTALL_ROOT
|
|
|
|
|
2005-06-12 08:04:00 -04:00
|
|
|
WRKDIST= ${WRKDIR}/expect-5.43
|
2000-09-05 21:06:26 -04:00
|
|
|
|
1998-01-29 18:12:42 -05:00
|
|
|
.include <bsd.port.mk>
|