# $Id: Portfile 33043 2008-01-17 05:13:10Z ryandesign@macports.org $ PortSystem 1.0 name expect version 5.43.0 set shortversion 5.43 revision 3 platforms darwin categories devel maintainers markd description An automating and testing tool long_description Expect is a tool for automating interactive applications \ such as telnet, ftp, passwd, fsck, rlogin, tip, etc. \ Expect is also useful for testing these same applications. \ And by adding Tk, you can also wrap interactive \ applications in X11 GUIs. homepage http://expect.nist.gov/ master_sites http://expect.nist.gov/src/:exp \ http://expect.nist.gov/old/:exp \ sourceforge:tcl:tcl # Set tclv and md5 checksum to the current MacPorts Tcl port version, though port doesn't # break if they aren't in sync. set tclv 8.4.14 distfiles ${distname}.tar.gz:exp \ tcl${tclv}-src.tar.gz:tcl checksums ${distname}.tar.gz md5 43e1dc0e0bc9492cf2e1a6f59f276bc3 \ tcl${tclv}-src.tar.gz md5 51c6bf74d3ffdb0bd866ecdac6ff6460 depends_build port:tcl worksrcdir ${name}-${shortversion} configure.args --disable-shared \ --mandir=${prefix}/share/man \ --with-tcl="${prefix}/lib" \ --with-tclinclude="${workpath}/tcl${tclv}/generic/" test.run yes test.target test destroot.destdir INSTALL_ROOT=${destroot} post-destroot { ln -s libexpect${shortversion}.a ${destroot}${prefix}/lib/libexpect.a file mkdir ${destroot}${prefix}/share/doc/${name}/examples eval xinstall -m 644 [glob ${worksrcpath}/example/*] \ ${destroot}${prefix}/share/doc/${name}/examples xinstall -m 644 -W ${worksrcpath} ChangeLog FAQ INSTALL NEWS README \ ${destroot}${prefix}/share/doc/${name} }