<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/52d63c0d74622e1564ac52401e8c6c47912b2538">https://github.com/macports/macports-ports/commit/52d63c0d74622e1564ac52401e8c6c47912b2538</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 52d63c0d74622e1564ac52401e8c6c47912b2538
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sun Apr 21 06:02:49 2019 +0100

<span style='display:block; white-space:pre;color:#404040;'>    wireshark3: Use qt5 PG to set dependencies
</span>---
 net/wireshark3/Portfile | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/wireshark3/Portfile b/net/wireshark3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d801ac1..6242a30 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/wireshark3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/wireshark3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup           cmake 1.0
</span> 
 name                wireshark3
 version             3.0.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> categories          net
 license             {GPL-2 GPL-3}
 maintainers         {darkart.com:opendarwin.org @ghosthound}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,17 +61,7 @@ configure.args-append \
</span>                     -DENABLE_ZLIB=OFF \
                     -DBUILD_wireshark=OFF
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant qt5 conflicts no_gui description {Build wireshark with a qt5 GUI} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    PortGroup               qt5 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.args-replace  -DENABLE_APPLICATION_BUNDLE=OFF -DENABLE_APPLICATION_BUNDLE=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.args-replace  -DBUILD_wireshark=OFF -DBUILD_wireshark=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.args-append   -DENABLE_QT5=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_lib-append      port:qt5-qtmacextras port:qt5-qtmultimedia port:qt5-qtsvg port:qt5-qttranslations
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        move ${destroot}/${prefix}/bin/Wireshark.app ${destroot}${applications_dir}/Wireshark.app
</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:#e0ffe0;'>+variant qt5 conflicts no_gui description {Build wireshark with a qt5 GUI} { }
</span> 
 variant no_gui conflicts qt5 description {do not build the wireshark GUI} {
     ## initial settings (above) handle this
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -144,6 +135,17 @@ if {![variant_isset qt5] && ![variant_isset no_gui]} {
</span>     default_variants-append +qt5
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset qt5]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    PortGroup                qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    qt5.depends_component    qtmacextras qtmultimedia qtsvg qttranslations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-replace  -DENABLE_APPLICATION_BUNDLE=OFF -DENABLE_APPLICATION_BUNDLE=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-replace  -DBUILD_wireshark=OFF -DBUILD_wireshark=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append   -DENABLE_QT5=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        move ${destroot}/${prefix}/bin/Wireshark.app ${destroot}${applications_dir}/Wireshark.app
</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;'>+
</span> ## if no python3* variant is specified, add +python37 
 ## XYZZY: it would be better to detect which python3* is already installed and use that...
 if {![variant_isset python34] && ![variant_isset python35] && \
</pre><pre style='margin:0'>

</pre>