diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-11-24 20:04:18 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-11-24 20:04:18 +0000 |
commit | 4d766afb12319cee3e81dcb56505a923fa128e17 (patch) | |
tree | 92fe84557d83330055d3ea06aaaddf1e92e583c3 /lang/expect/Makefile | |
parent | e37cc9ff78504132aca216dc607a62b1b1809b80 (diff) | |
download | ports-4d766afb12319cee3e81dcb56505a923fa128e17.tar.gz ports-4d766afb12319cee3e81dcb56505a923fa128e17.zip |
Notes
Diffstat (limited to 'lang/expect/Makefile')
-rw-r--r-- | lang/expect/Makefile | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/lang/expect/Makefile b/lang/expect/Makefile index 7bcbe4ec8ee0..fff53affa124 100644 --- a/lang/expect/Makefile +++ b/lang/expect/Makefile @@ -11,20 +11,36 @@ MASTER_SITES= http://expect.nist.gov/src/ MAINTAINER= john@coastalgeology.org +.if !defined(WITHOUT_X11) LIB_DEPENDS?= tk83.1:${PORTSDIR}/x11-toolkits/tk83 +.else +LIB_DEPENDS?= tcl83.1:${PORTSDIR}/lang/tcl83 +.endif WRKSRC= ${WRKDIR}/expect-5.32 INSTALLS_SHLIB= yes GNU_CONFIGURE= yes + +.if defined(WITHOUT_X11) +TK_CONFIG_ARGS = +PLIST_SUB += XFILES="@comment " +.else +TK_CONFIG_ARGS = --with-tkconfig=${PREFIX}/lib/tk8.3 \ + --with-tkinclude=${PREFIX}/include/tk8.3 +PLIST_SUB += XFILES="" +.endif + CONFIGURE_ARGS?= --enable-shared \ --with-tclconfig=${PREFIX}/lib/tcl8.3 \ --with-tclinclude=${PREFIX}/include/tcl8.3 \ - --with-tkconfig=${PREFIX}/lib/tk8.3 \ - --with-tkinclude=${PREFIX}/include/tk8.3 + ${TK_CONFIG_ARGS} .if !defined(NO_MAN_INSTALL) MAN1= autoexpect.1 cryptdir.1 decryptdir.1 dislocate.1 \ - expect.1 expectk.1 kibitz.1 mkpasswd.1 passmass.1 \ + expect.1 kibitz.1 mkpasswd.1 passmass.1 \ tknewsbiff.1 unbuffer.1 xkibitz.1 +.if !defined(WITHOUT_X11) +MAN1 += expectk.1 +.endif MAN3= libexpect.3 .endif |