<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/1788a53cfaaff6506cfdeea15cb14d2a143df912">https://github.com/macports/macports-ports/commit/1788a53cfaaff6506cfdeea15cb14d2a143df912</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1788a53cfaaff6506cfdeea15cb14d2a143df912
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sun Apr 21 06:04:42 2019 +0100

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

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/wireshark22/Portfile b/net/wireshark22/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 59b9119..22b6fc6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/wireshark22/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/wireshark22/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup           cmake 1.0
</span> 
 name                wireshark22
 version             2.2.10
<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          net
 license             {GPL-2 GPL-3}
 maintainers         darkart.com:opendarwin.org
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -78,26 +78,7 @@ variant qt4 conflicts no_gui qt5 gtk2 gtk3 description {Build wireshark with a q
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant qt5 conflicts no_gui qt4 gtk2 gtk3 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;'>-    #     ln -s ${prefix}/bin/dumpcap ${destroot}/${prefix}/bin/wireshark.app/Contents/MacOS/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    #     file mkdir ${destroot}/${prefix}/bin/wireshark.app/Contents/PlugIns
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    #     ln -s ${prefix}/lib/wireshark/plugins/${version} ${destroot}/${prefix}/bin/wireshark.app/Contents/PlugIns/wireshark
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    #     file copy ${worksrcpath}/packaging/macosx/Resources ${destroot}/${prefix}/bin/wireshark.app/Contents/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    #     file delete ${destroot}/${prefix}/bin/wireshark.app/Contents/Info.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    #     file copy ${worksrcpath}/packaging/macosx/Info.plist ${destroot}/${prefix}/bin/wireshark.app/Contents/
</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;'>-    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 qt4 gtk2 gtk3 description {Build wireshark with a qt5 GUI} { }
</span> 
 variant gtk2 conflicts no_gui qt4 qt5 gtk3 description {Build wireshark with a gtk2 GUI} {
     configure.args-replace  -DBUILD_wireshark_gtk=OFF -DBUILD_wireshark_gtk=ON
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -191,6 +172,26 @@ if {![variant_isset qt4] && ![variant_isset qt5] && ![variant_isset gtk2] && ![v
</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;'>+    #     ln -s ${prefix}/bin/dumpcap ${destroot}/${prefix}/bin/wireshark.app/Contents/MacOS/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    #     file mkdir ${destroot}/${prefix}/bin/wireshark.app/Contents/PlugIns
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    #     ln -s ${prefix}/lib/wireshark/plugins/${version} ${destroot}/${prefix}/bin/wireshark.app/Contents/PlugIns/wireshark
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    #     file copy ${worksrcpath}/packaging/macosx/Resources ${destroot}/${prefix}/bin/wireshark.app/Contents/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    #     file delete ${destroot}/${prefix}/bin/wireshark.app/Contents/Info.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    #     file copy ${worksrcpath}/packaging/macosx/Info.plist ${destroot}/${prefix}/bin/wireshark.app/Contents/
</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;'>+    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> post-destroot {
     xinstall -d ${destroot}${prefix}/include/wireshark/epan/crypt/
     xinstall -d ${destroot}${prefix}/include/wireshark/epan/dfilter/
</pre><pre style='margin:0'>

</pre>