diff options
author | Martin Matuska <mm@FreeBSD.org> | 2007-10-17 12:14:17 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2007-10-17 12:14:17 +0000 |
commit | fd2305c76a9d4227448c3f45d91ac6e7c7a411d2 (patch) | |
tree | 97470ea49516a5f6f525939cb525c3607db8696e /lang/expect-devel/Makefile | |
parent | 123a9758dea3344cadc6a2eb0fb6e2e6e7a4693c (diff) | |
download | ports-fd2305c76a9d4227448c3f45d91ac6e7c7a411d2.tar.gz ports-fd2305c76a9d4227448c3f45d91ac6e7c7a411d2.zip |
Notes
Diffstat (limited to 'lang/expect-devel/Makefile')
-rw-r--r-- | lang/expect-devel/Makefile | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/lang/expect-devel/Makefile b/lang/expect-devel/Makefile new file mode 100644 index 000000000000..f0753e2f612b --- /dev/null +++ b/lang/expect-devel/Makefile @@ -0,0 +1,69 @@ +# New ports collection makefile for: expect-devel +# Date created: 17 October 2007 +# Whom: mm +# +# $FreeBSD$ + +PORTNAME= expect +PORTVERSION= 5.44.1.4 +CATEGORIES= lang tcl84 tk84 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= wintcltk +DISTNAME= expect-cvs-20071014 + +MAINTAINER= mm@FreeBSD.org +COMMENT= A sophisticated scripter based on tcl/tk + +CONFLICTS= expect-5.43* + +USE_AUTOTOOLS= autoconf:261 + +EXPECT_VER= ${PORTVERSION} + +.if !defined(WITHOUT_X11) +USE_TK= 84+ +.else +USE_TCL= 84+ +.endif + +WRKSRC= ${WRKDIR}/expect +USE_LDCONFIG= ${PREFIX}/lib/expect${EXPECT_VER} +GNU_CONFIGURE= yes + +PLIST_SUB+= EXPECT_VER="${EXPECT_VER}" + +.include <bsd.port.pre.mk> + +.if defined(WITHOUT_X11) +TK_CONFIG_ARGS= +PLIST_SUB+= XFILES="@comment " +.else +USE_XORG= x11 +TK_CONFIG_ARGS= --with-tkconfig=${TK_LIBDIR} \ + --with-tkinclude=${TK_INCLUDEDIR} +CFLAGS+= -I${LOCALBASE}/include -I${TK_INCLUDEDIR} -I${TK_INCLUDEDIR}/generic +PLIST_SUB+= XFILES="" +.endif + +CONFIGURE_ARGS+=--enable-shared \ + --with-tclconfig=${TCL_LIBDIR} \ + --with-tclinclude=${TCL_INCLUDEDIR} \ + ${TK_CONFIG_ARGS} + +CFLAGS+= -I${TCL_INCLUDEDIR} -I${TCL_INCLUDEDIR}/generic + +.if !defined(NO_MAN_INSTALL) +MAN1= autoexpect.1 cryptdir.1 decryptdir.1 dislocate.1 \ + expect.1 kibitz.1 mkpasswd.1 multixterm.1 passmass.1 \ + tknewsbiff.1 unbuffer.1 xkibitz.1 +.if !defined(WITHOUT_X11) +MAN1+= expectk.1 +.endif +MAN3= libexpect.3 +.endif + +pre-configure: + ${TOUCH} ${WRKSRC}/configure + @cd ${WRKSRC}/testsuite && ${AUTOCONF} -I .. + +.include <bsd.port.post.mk> |