[25475] trunk/dports/lang/itcl/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue May 22 09:10:58 PDT 2007


Revision: 25475
          http://trac.macosforge.org/projects/macports/changeset/25475
Author:   markd at macports.org
Date:     2007-05-22 09:10:57 -0700 (Tue, 22 May 2007)

Log Message:
-----------
Get tcl headers by downloading the full tcl from sourceforge instead of a custom tarball on the defunct opendarwin site.

Modified Paths:
--------------
    trunk/dports/lang/itcl/Portfile

Modified: trunk/dports/lang/itcl/Portfile
===================================================================
--- trunk/dports/lang/itcl/Portfile	2007-05-22 15:12:17 UTC (rev 25474)
+++ trunk/dports/lang/itcl/Portfile	2007-05-22 16:10:57 UTC (rev 25475)
@@ -9,22 +9,29 @@
 description		\[incr Tcl\] A.K.A. \"itcl\".  Object oriented extension to Tcl.
 platforms		darwin
 master_sites		sourceforge:incrtcl:itcl \
-			http://www.opendarwin.org/~markd/:tclpheaders
+			sourceforge:tcl:tcl
 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
+
 distfiles		${distname}.tar.gz:itcl \
-			tcl8.4.12-privateheaders-full.tar.gz:tclpheaders
+				tcl${tclv}-src.tar.gz:tcl
 checksums		${name}${version}.tar.gz md5 d958b3d1c52fa5336b5aacc1251b5ce3 \
-			tcl8.4.12-privateheaders-full.tar.gz md5 ec9b85fad111b51b746fe45a2dc1e8fb
+				tcl${tclv}-src.tar.gz md5 51c6bf74d3ffdb0bd866ecdac6ff6460
 depends_build           port:tcl port:tk
 build.args		CPPFLAGS=-I${prefix}/include
 worksrcdir              ${name}${version}
 
 set tclconfig ${prefix}/lib
-configure.args		--with-tcl=${tclconfig} --with-tk=${prefix}/lib
+
 configure.env		TCLROOT=${prefix} \
-			CFLAGS=-I${workpath}/tcl8.4.12-privateheaders-full/generic \
+			CFLAGS=-I${workpath}/tcl${tclv}/generic \
 			LDFLAGS="-L${prefix}/lib -tcl8.4"
 
+configure.args		--with-tcl=${tclconfig} --with-tk=${prefix}/lib
+
 platform darwin 7 {
 	global tclconfig
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070522/10b9f68b/attachment.html


More information about the macports-changes mailing list