<pre style='margin:0'>
Kurt Hindenburg (kurthindenburg) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/dbf2ee00e057dfaa748743b803ac73021e93452e">https://github.com/macports/macports-ports/commit/dbf2ee00e057dfaa748743b803ac73021e93452e</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new dbf2ee0 itcl: add modeline + whitespace changes + fix livecheck
</span>dbf2ee0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit dbf2ee00e057dfaa748743b803ac73021e93452e
</span>Author: Kurt Hindenburg <khindenburg@macports.org>
AuthorDate: Wed Dec 21 21:45:45 2016 -0500
<span style='display:block; white-space:pre;color:#404040;'> itcl: add modeline + whitespace changes + fix livecheck
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> remove outdated $Id$
</span><span style='display:block; white-space:pre;color:#404040;'> fix livecheck for version 3
</span>---
lang/itcl/Portfile | 105 +++++++++++++++++++++++++++++------------------------
1 file changed, 57 insertions(+), 48 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/itcl/Portfile b/lang/itcl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 447db51..b3f4f67 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/itcl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/itcl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,74 +1,83 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span>
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name itcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.4b1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories lang
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license Tcl/Tk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description Object oriented extension to Tcl.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description ${description}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://incrtcl.sourceforge.net/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites sourceforge:incrtcl:itcl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sourceforge:tcl:tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir tcltk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${name}${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name itcl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.4b1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories lang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Tcl/Tk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Object oriented extension to Tcl.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://incrtcl.sourceforge.net/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites sourceforge:incrtcl:itcl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sourceforge:tcl:tcl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+dist_subdir tcltk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${name}${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Set tclv and md5 checksum to the current MacPorts Tcl port version, though port doesn't
# break if they aren't in sync.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set tclv 8.5.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set tclv 8.5.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles ${distname}.tar.gz:itcl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tcl${tclv}-src.tar.gz:tcl
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles ${distname}.tar.gz:itcl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- tcl${tclv}-src.tar.gz:tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums ${distname}.tar.gz md5 e4c97750c08ab47e960b91911fdd0132 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- tcl${tclv}-src.tar.gz md5 8512d8db3233041dd68a81476906012a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:tcl port:tk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args CPPFLAGS=-I${prefix}/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir ${name}3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums ${distname}.tar.gz md5 e4c97750c08ab47e960b91911fdd0132 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tcl${tclv}-src.tar.gz md5 8512d8db3233041dd68a81476906012a
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env TCLROOT=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags-append "-tcl8.5"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:tcl port:tk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args CPPFLAGS=-I${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir ${name}3.4
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --with-tcl=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.env TCLROOT=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cflags "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ldflags-append "-tcl8.5"
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.universal_args-delete --disable-dependency-tracking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --with-tcl=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.universal_args-delete --disable-dependency-tracking
</span>
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@itcl_LIB_FILE@|${prefix}/lib/libitcl3.4.dylib|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@itcl_LIB_FILE@|${prefix}/lib/libitcl3.4.dylib|g" \
</span> ${worksrcpath}/itclConfig.sh.in
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@PACKAGE_VERSION@|3.4|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PACKAGE_VERSION@|3.4|g" \
</span> ${worksrcpath}/itclConfig.sh.in
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@itcl_BUILD_LIB_SPEC@|-L${prefix}/lib -litcl|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@itcl_BUILD_LIB_SPEC@|-L${prefix}/lib -litcl|g" \
</span> ${worksrcpath}/itclConfig.sh.in
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@itcl_LIB_SPEC@|-L${prefix}/lib -litcl|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@itcl_LIB_SPEC@|-L${prefix}/lib -litcl|g" \
</span> ${worksrcpath}/itclConfig.sh.in
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|\"@PKG_LIB_FILE@\"|.. @PKG_LIB_FILE@|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/pkgIndex.tcl.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\"@PKG_LIB_FILE@\"|.. @PKG_LIB_FILE@|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/pkgIndex.tcl.in
</span> }
post-build {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "ranlib ${worksrcpath}/libitclstub3.4.a"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "ranlib ${worksrcpath}/libitclstub3.4.a"
</span> }
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set _d ${destroot}${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set _w ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file mkdir ${_d}/lib/itcl3.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${_w}/itclConfig.sh ${_d}/lib/itcl3.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy -force ${_w}/pkgIndex.tcl ${_d}/lib/itcl3.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy -force ${_w}/library/itcl.tcl ${_d}/lib/itcl3.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy -force ${_w}/libitcl3.4.dylib ${_d}/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy -force ${_w}/libitclstub3.4.a ${_d}/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file mkdir ${_d}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set _d ${destroot}${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set _w ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${_d}/lib/itcl3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${_w}/itclConfig.sh ${_d}/lib/itcl3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy -force ${_w}/pkgIndex.tcl ${_d}/lib/itcl3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy -force ${_w}/library/itcl.tcl ${_d}/lib/itcl3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy -force ${_w}/libitcl3.4.dylib ${_d}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy -force ${_w}/libitclstub3.4.a ${_d}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${_d}/include
</span> foreach x {itcl.h itclDecls.h itclInt.h itclIntDecls.h } {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy -force ${_w}/generic/$x ${_d}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy -force ${_w}/generic/$x ${_d}/include
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach x [glob ${_w}/doc/*.n] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy -force $x ${_d}/share/man/mann
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach x [glob ${_w}/doc/*.n] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy -force $x ${_d}/share/man/mann
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url https://sourceforge.net/projects/incrtcl/rss
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex ${name}(3\[0-9.\]+)${extract.suffix}
</span></pre><pre style='margin:0'>
</pre>