<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/87d0ee55e19903df6278f23eed2926a598512e18">https://github.com/macports/macports-ports/commit/87d0ee55e19903df6278f23eed2926a598512e18</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 87d0ee55e19903df6278f23eed2926a598512e18
</span>Author: Marcus Calhoun-Lopez <marcuscalhounlopez@gmail.com>
AuthorDate: Fri Sep 29 03:16:00 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> qt56: refactor for consistency with other Qt ports
</span>---
aqua/qt55/Portfile | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/Portfile b/aqua/qt55/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bbb24e2..838e469 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt55/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1226,18 +1226,6 @@ foreach {module module_info} [array get modules] {
</span> }
# special case
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${subport} eq "${name}-qtwebkit-examples" && ![variant_isset examples] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # create a dummy file so the port can be successfully activated
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set docfile [open ${destroot}${prefix}/share/doc/${subport}/README.txt "w"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${docfile} "Without the examples variant, no examples are installed"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${docfile} "${long_description}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- close ${docfile}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # special case
</span> if { ${module} eq "qtsensors" && [variant_isset examples] } {
if { [variant_isset debug] } {
set debug "_debug"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1260,6 +1248,18 @@ foreach {module module_info} [array get modules] {
</span> # https://codereview.qt-project.org/#/c/172619/
patchfiles-append patch-qtconn-for-10.12.diff
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtwebkit-examples" && ![variant_isset examples] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # create a dummy file so the port can be successfully activated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docfile [open ${destroot}${prefix}/share/doc/${subport}/README.txt "w"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "Without the examples variant, no examples are installed"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "${long_description}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close ${docfile}
</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>