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 | |
parent | 123a9758dea3344cadc6a2eb0fb6e2e6e7a4693c (diff) | |
download | ports-fd2305c76a9d4227448c3f45d91ac6e7c7a411d2.tar.gz ports-fd2305c76a9d4227448c3f45d91ac6e7c7a411d2.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/expect-devel/Makefile | 69 | ||||
-rw-r--r-- | lang/expect-devel/distinfo | 3 | ||||
-rw-r--r-- | lang/expect-devel/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | lang/expect-devel/pkg-descr | 9 | ||||
-rw-r--r-- | lang/expect-devel/pkg-plist | 30 |
6 files changed, 123 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index 3d61183ca43d..171d9020cb89 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -52,6 +52,7 @@ SUBDIR += etoile-io SUBDIR += execline SUBDIR += expect + SUBDIR += expect-devel SUBDIR += ezm3 SUBDIR += f2c SUBDIR += f77 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> diff --git a/lang/expect-devel/distinfo b/lang/expect-devel/distinfo new file mode 100644 index 000000000000..cb3de8d4b4ff --- /dev/null +++ b/lang/expect-devel/distinfo @@ -0,0 +1,3 @@ +MD5 (expect-cvs-20071014.tar.gz) = c53402e0c9abeebe2bb0f1336db7cb93 +SHA256 (expect-cvs-20071014.tar.gz) = e24cbff6501cac36a1e5d351567bcfb8d32844edb91cc415d2ec72dfa14e7197 +SIZE (expect-cvs-20071014.tar.gz) = 653274 diff --git a/lang/expect-devel/files/patch-Makefile.in b/lang/expect-devel/files/patch-Makefile.in new file mode 100644 index 000000000000..5c45304d8ae1 --- /dev/null +++ b/lang/expect-devel/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2007-10-17 12:55:10.000000000 +0200 ++++ Makefile.in 2007-10-17 12:56:07.000000000 +0200 +@@ -241,7 +241,7 @@ + @mkdir -p $(INSTALL_ROOT)$(prefix)/bin + -for i in $(SCRIPT_LIST) ; do \ + if [ -f $$i ] ; then \ +- $(INSTALL_PROGRAM) $$i $(INSTALL_ROOT)$(prefix)/bin/$$i ; \ ++ $(INSTALL_SCRIPT) $$i $(INSTALL_ROOT)$(prefix)/bin/$$i ; \ + rm -f $$i ; \ + else true; fi ; \ + done diff --git a/lang/expect-devel/pkg-descr b/lang/expect-devel/pkg-descr new file mode 100644 index 000000000000..8db43699f455 --- /dev/null +++ b/lang/expect-devel/pkg-descr @@ -0,0 +1,9 @@ +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 diff --git a/lang/expect-devel/pkg-plist b/lang/expect-devel/pkg-plist new file mode 100644 index 000000000000..61d557e24081 --- /dev/null +++ b/lang/expect-devel/pkg-plist @@ -0,0 +1,30 @@ +bin/autoexpect +bin/autopasswd +bin/cryptdir +bin/decryptdir +bin/dislocate +bin/expect +%%XFILES%%bin/expectk +bin/ftp-rfc +bin/kibitz +bin/lpunlock +bin/mkpasswd +bin/multixterm +bin/passmass +bin/rftp +bin/rlogin-cwd +bin/timed-read +bin/timed-run +bin/tknewsbiff +bin/tkpasswd +bin/unbuffer +bin/weather +bin/xkibitz +bin/xpstat +include/expect.h +include/expect_comm.h +include/expect_tcl.h +include/tcldbg.h +lib/expect%%EXPECT_VER%%/pkgIndex.tcl +lib/expect%%EXPECT_VER%%/libexpect%%EXPECT_VER%%.so +@dirrm lib/expect%%EXPECT_VER%% |