openbsd-ports/lang/expect/Makefile

52 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.53 2010/09/24 14:16:50 sebastia Exp $
COMMENT= sophisticated scripter based on Tcl/Tk
1998-01-29 18:12:42 -05:00
DISTNAME= expect-5.44.1.15
SHARED_LIBS= expect544115 0.0
1999-04-29 17:25:08 -04:00
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=expect/}
1998-01-29 18:12:42 -05:00
HOMEPAGE= http://expect.nist.gov/
MAINTAINER= Sebastian Reitenbach <sebastia@openbsd.org>
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
WANTLIB += c util m
2000-02-12 03:58:16 -05:00
FLAVORS= no_tk
FLAVOR?=
SEPARATE_BUILD= simple
AUTOCONF_VERSION= 2.59
CONFIGURE_STYLE=autoconf no-autoheader gnu
2003-09-23 19:08:44 -04:00
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
CFLAGS+= -I${X11BASE}/include
CONFIGURE_ARGS+=--with-tclconfig="${MODTCL_LIBDIR}" \
--with-tclinclude="${MODTCL_INCDIR}"
CONFIGURE_ENV+= LIBexpect544115_VERSION=${LIBexpect544115_VERSION}
MAKE_FLAGS= LIB_RUNTIME_DIR=$(TRUEPREFIX)/lib/${DISTNAME:S/-//}
.if !${FLAVOR:L:Mno_tk}
MODULES= x11/tk
WANTLIB+= X11 z pthread-stubs xcb
WANTLIB+= Xau Xdmcp Xext Xft Xrender Xss expat fontconfig freetype
MAKE_FLAGS+= TK=Yes
LIB_DEPENDS+= ${MODTK_LIB_DEPENDS}
CONFIGURE_ARGS+=--with-tk="${MODTK_LIBDIR}" \
--with-tkinclude="${MODTK_INCDIR}"
.else
MODULES= lang/tcl
LIB_DEPENDS+= ${MODTCL_LIB_DEPENDS}
CONFIGURE_ARGS+=--with-tk=no
.endif
1998-08-27 00:36:32 -04:00
REGRESS_TARGET= test
1998-01-29 18:12:42 -05:00
.include <bsd.port.mk>