openbsd-ports/lang/expect/Makefile
alek 903e70047b SHARED_LIBS
ok steven@ strum@
2005-12-25 20:42:47 +00:00

46 lines
1018 B
Makefile

# $OpenBSD: Makefile,v 1.46 2005/12/25 20:42:47 alek Exp $
COMMENT= "sophisticated scripter based on Tcl/Tk"
DISTNAME= expect-5.43.0
SHARED_LIBS= expect543 1.2
CATEGORIES= lang
MASTER_SITES= http://expect.nist.gov/old/
HOMEPAGE= http://expect.nist.gov/
# PD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c util m
LIB_DEPENDS+= tcl84:tcl-8.4.*:lang/tcl/8.4
FLAVORS= no_tk
FLAVOR?=
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
CONFIGURE_ARGS+=--with-tclconfig="${LOCALBASE}/lib/tcl8.4"\
--with-tclinclude="${LOCALBASE}/include/tcl8.4"
CONFIGURE_ENV= LIBexpect543_VERSION=${LIBexpect543_VERSION}
.if !${FLAVOR:L:Mno_tk}
USE_X11= Yes
LIB_DEPENDS+= tk84:tk-8.4.*:x11/tk/8.4
CONFIGURE_ARGS+=--with-tkconfig="${LOCALBASE}/lib/tk8.4" \
--with-tkinclude="${LOCALBASE}/include/tk8.4"
WANTLIB+= X11
.endif
REGRESS_TARGET= test
DESTDIRNAME= INSTALL_ROOT
WRKDIST= ${WRKDIR}/expect-5.43
.include <bsd.port.mk>