head	1.16;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.14
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.12
	RELEASE_8_1_0:1.10
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.7
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1;
locks; strict;
comment	@# @;


1.16
date	2012.11.17.05.58.49;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.07.04.08.22.39;	author sunpoet;	state Exp;
branches;
next	1.14;

1.14
date	2011.08.09.15.41.28;	author mm;	state Exp;
branches;
next	1.13;

1.13
date	2010.12.04.07.32.20;	author ade;	state Exp;
branches;
next	1.12;

1.12
date	2010.10.16.11.52.13;	author ade;	state Exp;
branches;
next	1.11;

1.11
date	2010.09.15.18.34.37;	author ade;	state Exp;
branches;
next	1.10;

1.10
date	2009.12.31.10.23.34;	author mm;	state Exp;
branches;
next	1.9;

1.9
date	2009.08.22.00.24.30;	author amdmi3;	state Exp;
branches;
next	1.8;

1.8
date	2009.05.31.20.31.02;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2009.02.23.14.46.31;	author mm;	state Exp;
branches;
next	1.6;

1.6
date	2008.11.21.10.30.42;	author mm;	state Exp;
branches;
next	1.5;

1.5
date	2008.08.20.00.56.50;	author ade;	state Exp;
branches;
next	1.4;

1.4
date	2008.04.12.09.53.46;	author mm;	state Exp;
branches;
next	1.3;

1.3
date	2008.04.09.13.42.09;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2007.12.31.12.12.28;	author mm;	state Exp;
branches;
next	1.1;

1.1
date	2007.10.17.12.14.16;	author mm;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Switch exporter over
@
text
@# New ports collection makefile for:	expect-devel
# Date created:		17 October 2007
# Whom:			mm
#
# $FreeBSD: head/lang/expect-devel/Makefile 300896 2012-07-14 13:54:48Z beat $

PORTNAME=	expect
PORTVERSION=	5.44.1.15
PORTREVISION=	1
CATEGORIES=	lang tcl tk
MASTER_SITES=	SF/wintcltk/Sources/Package%20Sources
DISTNAME=	expect-cvs-20091231

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A sophisticated scripter based on tcl/tk

CONFLICTS=	expect-5.43* weather-[0-9]*
LATEST_LINK=	expect-devel

USE_AUTOTOOLS=	autoconf

EXPECT_VER=	${PORTVERSION}

.if !defined(WITHOUT_X11)
USE_TK=		84+
.else
PKGNAMESUFFIX=	-nox11
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 passmass.1 unbuffer.1 xkibitz.1
.if !defined(WITHOUT_X11)
MAN1+=		expectk.1 multixterm.1 tknewsbiff.1
.endif
MAN3=		libexpect.3
.endif

post-patch:
.if defined(WITHOUT_X11)
	@@${REINPLACE_CMD} -e 's/TEA_PATH_TKCONFIG//g' \
		-e 's/TEA_LOAD_TKCONFIG//g' -e 's/TEA_PUBLIC_TK_HEADERS//g' \
		${WRKSRC}/configure.in
	@@${REINPLACE_CMD} -e 's/expect expectk/expect/g' \
		-e 's/multixterm//g' -e 's/tknewsbiff//g' -e 's/tkpasswd//g' \
		-e 's/xpstat//g' -e 's/@@TK_INCLUDES@@//g' \
		-e 's|$$(INSTALL_DATA) $$(srcdir)/expectk.man|#|g' \
		${WRKSRC}/Makefile.in
.endif

pre-configure:
	${TOUCH} ${WRKSRC}/configure
	@@cd ${WRKSRC}/testsuite && ${AUTOCONF} -I ..

.include <bsd.port.post.mk>
@


1.15
log
@- Add CONFLICTS with astro/weather

PR:		ports/165949
Submitted by:	Benjamin Tovar <ben@@robotoloco.com>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@Transfer maintainer back to ports@@FreeBSD.org

Approved by:	maintainer (myself)
@
text
@d17 1
a17 1
CONFLICTS=	expect-5.43*
@


1.13
log
@Sync to new bsd.autotools.mk
@
text
@d14 1
a14 1
MAINTAINER=	mm@@FreeBSD.org
@


1.12
log
@Punt autoconf267->autoconf268
@
text
@d20 1
a20 1
USE_AUTOTOOLS=	autoconf:268
@


1.11
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d20 1
a20 1
USE_AUTOTOOLS=	autoconf:267
@


1.10
log
@- Update to 5.44.1.15 (CVS 2009-12-31)
@
text
@d9 1
d20 1
a20 1
USE_AUTOTOOLS=	autoconf:262
@


1.9
log
@- Switch SourceForge ports to the new File Release System: categories starting with H,I,J,K,L
@
text
@d8 1
a8 2
PORTVERSION=	5.44.1.11
PORTREVISION=	1
d11 1
a11 1
DISTNAME=	expect-cvs-20081121
@


1.8
log
@- Resolve LATEST_LINK conflict
@
text
@d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	wintcltk
@


1.7
log
@- Change default Tcl/Tk version to 8.5
- Bump PORTVERSION of ports affected

Tested by:	pointyhat (pav)
@
text
@d19 1
@


1.6
log
@- Update to 5.44.1.11
- PR bug fixed in 5.44.1.9 [1]

PR:	ports/119739 [1]
@
text
@d9 1
@


1.5
log
@Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:	exp build run (erwin)
@
text
@d8 1
a8 1
PORTVERSION=	5.44.1.7
d12 1
a12 1
DISTNAME=	expect-cvs-20080412
@


1.4
log
@- Update to 5.44.1.7 (CVS 2008-04-12)
@
text
@d19 1
a19 1
USE_AUTOTOOLS=	autoconf:261
@


1.3
log
@- Move from versioned tcl/tk CATEGORIES to simple tcl and tk categories

With hat:	portmgr
@
text
@d8 1
a8 1
PORTVERSION=	5.44.1.4
d12 1
a12 1
DISTNAME=	expect-cvs-20071014
@


1.2
log
@- If defined WITHOUT_X11: fix build, install and add PKGNAMESUFFIX -nox11
@
text
@d9 1
a9 1
CATEGORIES=	lang tcl84 tk84
@


1.1
log
@Expect is a program that performs programmed dialogue with other
interactive programs. It is briefly described by its man page,
expect(1).

It uses pseudo-tty's to control the child processes, so it is not
affected by programs that refuse to read from stdin or pipes. (eg:
passwd(1) etc).

This is a development version from CVS code at SourceForge.

WWW: http://www.sourceforge.net/projects/expect
@
text
@d26 1
d58 1
a58 2
		expect.1 kibitz.1 mkpasswd.1 multixterm.1 passmass.1 \
		tknewsbiff.1 unbuffer.1 xkibitz.1
d60 1
a60 1
MAN1+=		expectk.1
d65 12
@

