[77615] trunk/dports/devel/expect
markd at macports.org
markd at macports.org
Wed Apr 6 09:55:13 PDT 2011
Revision: 77615
http://trac.macports.org/changeset/77615
Author: markd at macports.org
Date: 2011-04-06 09:55:12 -0700 (Wed, 06 Apr 2011)
Log Message:
-----------
Update to 5.45. Use current (8.5.9) tcl headers.
Modified Paths:
--------------
trunk/dports/devel/expect/Portfile
Removed Paths:
-------------
trunk/dports/devel/expect/files/
Modified: trunk/dports/devel/expect/Portfile
===================================================================
--- trunk/dports/devel/expect/Portfile 2011-04-06 14:56:23 UTC (rev 77614)
+++ trunk/dports/devel/expect/Portfile 2011-04-06 16:55:12 UTC (rev 77615)
@@ -3,50 +3,45 @@
PortSystem 1.0
name expect
-version 5.43.0
-set shortversion 5.43
-revision 4
+version 5.45
platforms darwin
categories devel
-maintainers markd
+maintainers markd openmaintainer
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 \
+homepage http://expect.sourceforge.net/
+master_sites sourceforge:expect:exp \
sourceforge:tcl:tcl
+dist_subdir tcltk
+distname ${name}${version}
# 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
+set tclv 8.5.9
distfiles ${distname}.tar.gz:exp \
tcl${tclv}-src.tar.gz:tcl
-checksums ${distname}.tar.gz md5 43e1dc0e0bc9492cf2e1a6f59f276bc3 \
- tcl${tclv}-src.tar.gz md5 51c6bf74d3ffdb0bd866ecdac6ff6460
+checksums ${distname}.tar.gz md5 44e1a4f4c877e9ddc5a542dfa7ecc92b \
+ tcl${tclv}-src.tar.gz md5 8512d8db3233041dd68a81476906012a
depends_build port:tcl
-worksrcdir ${name}-${shortversion}
-patchfiles expect-5.43.0-tcl_8.5.5_fix-1.diff
-
+configure.cflags "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix"
configure.args --disable-shared \
--mandir=${prefix}/share/man \
- --with-tcl="${prefix}/lib" \
- --with-tclinclude="${workpath}/tcl${tclv}/generic/"
+ --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${version}.a ${destroot}${prefix}/lib/libexpect.a
-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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110406/f18e92a6/attachment.html>
More information about the macports-changes
mailing list