[125111] trunk/dports/lang/tclx/Portfile
khindenburg at macports.org
khindenburg at macports.org
Sat Sep 6 06:44:08 PDT 2014
Revision: 125111
https://trac.macports.org/changeset/125111
Author: khindenburg at macports.org
Date: 2014-09-06 06:44:08 -0700 (Sat, 06 Sep 2014)
Log Message:
-----------
tclx: update to 8.4.1 - use tcl8.6.2 source (not sure hard coding this is a good idea as I have tcl8.6.1 installed) - no ports that depend on this currently build - #44831 #33203 #38603
Modified Paths:
--------------
trunk/dports/lang/tclx/Portfile
Modified: trunk/dports/lang/tclx/Portfile
===================================================================
--- trunk/dports/lang/tclx/Portfile 2014-09-06 12:29:38 UTC (rev 125110)
+++ trunk/dports/lang/tclx/Portfile 2014-09-06 13:44:08 UTC (rev 125111)
@@ -3,44 +3,54 @@
PortSystem 1.0
name tclx
-version 8.4
-revision 1
+version 8.4.1
+set branch [join [lrange [split ${version} .] 0 1] .]
categories lang
license Permissive Tcl/Tk
-maintainers markd
-description API for parsing XML documents using Tcl
-long_description ${description}
+maintainers nomaintainer
+description Tcl with extended command set
+long_description Tclx extends Tcl by providing new operating system interface \
+ commands, extended file control, scanning and status commands \
+ and many others.
homepage http://tclx.sourceforge.net/
platforms darwin
distname ${name}${version}
+
+worksrcdir ${name}${branch}
+
+depends_lib port:tcl
+
+set tclv 8.6.2
+
master_sites sourceforge \
- macports:markd:tclpheaders
-distfiles ${distname}.tar.bz2 \
- tcl8.4.14-privateheaders.tar.bz2:tclpheaders
-checksums ${distname}.tar.bz2 md5 395c2fbe35e1723570b005161b9fc8f8 \
- tcl8.4.14-privateheaders.tar.bz2 md5 32d173ca361169ea3049c28c936854c8
-use_bzip2 yes
+ sourceforge:project/tcl/Tcl/${tclv}:tcl
+distfiles ${distname}.tar.bz2 \
+ tcl${tclv}-src.tar.gz:tcl
+checksums ${distname}.tar.bz2 \
+ rmd160 253c71aea7ad85ac364d9bda03556628d2e545c6 \
+ sha256 a9b41f606ec6c1268b9c78512e6e1cb533bd9ae3e786e650d111fc16ffe758ec \
+ tcl${tclv}-src.tar.gz \
+ rmd160 574bffdf3e390cf6460ab4a9d4b59db0e58f2998 \
+ sha256 86f7ae5f581dd0904d04415637ab3aef5a50986c1b6d04c340e2b1b0258da9c4
-depends_lib port:tcl \
- port:tk
+use_bzip2 yes
+extract.only ${distname}.tar.bz2
-configure.cflags-append "-I${prefix}/include"
+post-extract {
+ system -W ${distpath} "tar xvfz tcl${tclv}-src.tar.gz -C ${workpath}"
+}
+configure.cflags-append "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix"
+
configure.args --enable-shared \
--with-help=Help \
--with-tcl=${prefix}/lib \
- --with-tk=${prefix}/lib
+ --with-tclinclude=${workpath}/tcl${tclv}/generic/
destroot.target install-binaries install-libraries
-post-extract {
-# Private headers from Tcl 8.4.12
- file copy -force ${workpath}/tcl8.4.14-privateheaders/generic/tclInt.h \
- ${worksrcpath}/generic
- file copy -force ${workpath}/tcl8.4.14-privateheaders/generic/tclIntDecls.h \
- ${worksrcpath}/generic
- file copy -force ${workpath}/tcl8.4.14-privateheaders/generic/tclIntPlatDecls.h \
- ${worksrcpath}/generic
- file copy -force ${workpath}/tcl8.4.14-privateheaders/unix/tclUnixPort.h \
- ${worksrcpath}/unix
-}
+variant universal {}
+
+livecheck.type regex
+livecheck.url https://sourceforge.net/projects/tclx/files/TclX/
+livecheck.regex "title=\"(\\d+(?:\\.\\d+)*)\" class=\"folder"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140906/f6a8e894/attachment-0001.html>
More information about the macports-changes
mailing list