[24723] trunk/dports/devel/expect/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue May 1 11:58:53 PDT 2007


Revision: 24723
          http://trac.macosforge.org/projects/macports/changeset/24723
Author:   markd at macports.org
Date:     2007-05-01 11:58:52 -0700 (Tue, 01 May 2007)

Log Message:
-----------
Copy examples directory, update the tcl version used for headers, take maintainership.

Modified Paths:
--------------
    trunk/dports/devel/expect/Portfile

Modified: trunk/dports/devel/expect/Portfile
===================================================================
--- trunk/dports/devel/expect/Portfile	2007-05-01 18:23:51 UTC (rev 24722)
+++ trunk/dports/devel/expect/Portfile	2007-05-01 18:58:52 UTC (rev 24723)
@@ -5,11 +5,11 @@
 name			expect
 version			5.43.0
 set shortversion	5.43
-revision		2
+revision		3
 platforms		darwin 
 categories		devel
-maintainers		nomaintainer at macports.org
-description		an automating and testing tool
+maintainers		markd at macports.org
+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. \
@@ -18,12 +18,17 @@
 homepage		http://expect.nist.gov/
 master_sites		http://expect.nist.gov/src/:exp \
 			http://expect.nist.gov/old/:exp \
-			http://www.opendarwin.org/~markd/:tclpheaders
+			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 \
-			tcl8.4.12-privateheaders-full.tar.gz:tclpheaders
+				tcl${tclv}-src.tar.gz:tcl
 checksums		${distname}.tar.gz md5 43e1dc0e0bc9492cf2e1a6f59f276bc3 \
-			tcl8.4.12-privateheaders-full.tar.gz md5 ec9b85fad111b51b746fe45a2dc1e8fb
+				tcl${tclv}-src.tar.gz md5 51c6bf74d3ffdb0bd866ecdac6ff6460
 
 depends_build		port:tcl
 
@@ -32,7 +37,7 @@
 configure.args		--disable-shared \
 			--mandir=${prefix}/share/man \
 			--with-tcl="${prefix}/lib" \
-			--with-tclinclude="${workpath}/tcl8.4.12-privateheaders-full" 
+			--with-tclinclude="${workpath}/tcl${tclv}/generic/"
 
 test.run		yes
 test.target		test
@@ -41,5 +46,12 @@
 
 post-destroot		{ cd ${destroot}${prefix}/lib
 			  system "ln -s libexpect${shortversion}.a 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}
 			}
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070501/08a57396/attachment.html


More information about the macports-changes mailing list