<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0419a5400af309b42bb3e06b73e809e4f6608664">https://github.com/macports/macports-ports/commit/0419a5400af309b42bb3e06b73e809e4f6608664</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0419a5400af309b42bb3e06b73e809e4f6608664
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Tue Feb 5 04:11:34 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> tcldoc: use TCL from MacPorts
</span>---
lang/tcldoc/Portfile | 12 +++++++++++-
lang/tcldoc/files/patch-macports_tclsh.diff | 8 ++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/tcldoc/Portfile b/lang/tcldoc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6f4ff83..ed17b28 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/tcldoc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/tcldoc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span>
name tcldoc
version 0.3
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories lang
maintainers nomaintainer
# License is given as "GPL blah"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,6 +21,16 @@ checksums rmd160 a9429e982323891433fbe40a9b44860badf053c6 \
</span> sha256 0e9ee47ae1482962e2760c3d47c06820d7e0dc264e853c523ddcb744045fc5c5 \
size 30743
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:tcl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# use TCL from MacPorts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-macports_tclsh.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS_PREFIX__|${prefix}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/tcldoc.tcl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_configure no
build.target all tcldoc
destroot {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/tcldoc/files/patch-macports_tclsh.diff b/lang/tcldoc/files/patch-macports_tclsh.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..e55ab1d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/tcldoc/files/patch-macports_tclsh.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tcldoc.tcl.orig 2004-11-05 10:36:48.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tcldoc.tcl 2019-02-05 03:50:04.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#!/usr/bin/tclsh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#!__MACPORTS_PREFIX__/bin/tclsh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # $Id: tcldoc.tcl,v 1.2 2004/11/05 17:36:48 tang Exp $
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #//#
</span></pre><pre style='margin:0'>
</pre>