[77601] trunk/dports/lang/itcl/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Apr 5 18:26:12 PDT 2011
Revision: 77601
http://trac.macports.org/changeset/77601
Author: ryandesign at macports.org
Date: 2011-04-05 18:26:12 -0700 (Tue, 05 Apr 2011)
Log Message:
-----------
itcl: update to 3.4b1, thanks to markd; see #27449
Modified Paths:
--------------
trunk/dports/lang/itcl/Portfile
Modified: trunk/dports/lang/itcl/Portfile
===================================================================
--- trunk/dports/lang/itcl/Portfile 2011-04-06 01:24:24 UTC (rev 77600)
+++ trunk/dports/lang/itcl/Portfile 2011-04-06 01:26:12 UTC (rev 77601)
@@ -3,8 +3,7 @@
PortSystem 1.0
name itcl
-version 3.3
-revision 2
+version 3.4b1
categories lang
maintainers nomaintainer
description Object oriented extension to Tcl.
@@ -13,32 +12,33 @@
platforms darwin
master_sites sourceforge:incrtcl:itcl \
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:itcl \
tcl${tclv}-src.tar.gz:tcl
-checksums ${name}${version}.tar.gz md5 d958b3d1c52fa5336b5aacc1251b5ce3 \
- tcl${tclv}-src.tar.gz md5 51c6bf74d3ffdb0bd866ecdac6ff6460
+checksums ${distname}.tar.gz md5 e4c97750c08ab47e960b91911fdd0132 \
+ tcl${tclv}-src.tar.gz md5 8512d8db3233041dd68a81476906012a
depends_build port:tcl port:tk
build.args CPPFLAGS=-I${prefix}/include
-worksrcdir ${name}${version}
+worksrcdir ${name}3.4
configure.env TCLROOT=${prefix}
-configure.cflags "-I${workpath}/tcl${tclv}/generic"
-configure.ldflags-append "-tcl8.4"
+configure.cflags "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix"
+configure.ldflags-append "-tcl8.5"
configure.args --with-tcl=${prefix}/lib
configure.universal_args-delete --disable-dependency-tracking
post-patch {
- reinplace "s|@itcl_LIB_FILE@|${prefix}/lib/libitcl3.3.dylib|g" \
+ reinplace "s|@itcl_LIB_FILE@|${prefix}/lib/libitcl3.4.dylib|g" \
${worksrcpath}/itclConfig.sh.in
- reinplace "s|@PACKAGE_VERSION@|3.3|g" \
+ reinplace "s|@PACKAGE_VERSION@|3.4|g" \
${worksrcpath}/itclConfig.sh.in
reinplace "s|@itcl_BUILD_LIB_SPEC@|-L${prefix}/lib -litcl|g" \
${worksrcpath}/itclConfig.sh.in
@@ -49,18 +49,18 @@
}
post-build {
- system "ranlib ${worksrcpath}/libitclstub3.3.a"
+ system "ranlib ${worksrcpath}/libitclstub3.4.a"
}
destroot {
set _d ${destroot}${prefix}
set _w ${worksrcpath}
- file mkdir -p ${_d}/lib/itcl3.3
- xinstall -m 755 ${_w}/itclConfig.sh ${_d}/lib/itcl3.3
- file copy -force ${_w}/pkgIndex.tcl ${_d}/lib/itcl3.3
- file copy -force ${_w}/library/itcl.tcl ${_d}/lib/itcl3.3
- file copy -force ${_w}/libitcl3.3.dylib ${_d}/lib
- file copy -force ${_w}/libitclstub3.3.a ${_d}/lib
+ file mkdir -p ${_d}/lib/itcl3.4
+ xinstall -m 755 ${_w}/itclConfig.sh ${_d}/lib/itcl3.4
+ file copy -force ${_w}/pkgIndex.tcl ${_d}/lib/itcl3.4
+ file copy -force ${_w}/library/itcl.tcl ${_d}/lib/itcl3.4
+ file copy -force ${_w}/libitcl3.4.dylib ${_d}/lib
+ file copy -force ${_w}/libitclstub3.4.a ${_d}/lib
file mkdir -p ${_d}/include
foreach x {itcl.h itclDecls.h itclInt.h itclIntDecls.h } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110405/3493c240/attachment.html>
More information about the macports-changes
mailing list