[60050] trunk/dports/net

jmr at macports.org jmr at macports.org
Thu Oct 29 23:31:52 PDT 2009


Revision: 60050
          http://trac.macports.org/changeset/60050
Author:   jmr at macports.org
Date:     2009-10-29 23:31:49 -0700 (Thu, 29 Oct 2009)
Log Message:
-----------
New port: wireshark-devel (#21510)

Added Paths:
-----------
    trunk/dports/net/wireshark-devel/
    trunk/dports/net/wireshark-devel/Portfile

Added: trunk/dports/net/wireshark-devel/Portfile
===================================================================
--- trunk/dports/net/wireshark-devel/Portfile	                        (rev 0)
+++ trunk/dports/net/wireshark-devel/Portfile	2009-10-30 06:31:49 UTC (rev 60050)
@@ -0,0 +1,109 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+
+name            wireshark-devel
+version         1.3.0
+categories      net
+maintainers     gmail.com:hsivank
+description     Graphical network analyzer and capture tool
+homepage        http://wireshark.org/
+platforms       darwin
+distname        wireshark-${version}
+
+long_description A network analyzer that lets you capture and \
+                 interactively browse Ethernet frames. \
+                 Packet data can be read from a file, or live from a local \
+                 network interface.
+
+master_sites    http://www.wireshark.org/download/src/ \
+                http://www.wireshark.org/download/src/all-versions/
+
+use_bzip2       yes
+
+checksums           md5     326d1879df40301fc630cb3df53ef121 \
+                    sha1    075262f87a28e2520cd1ce55b0fb7176f4ac0610 \
+                    rmd160  5b456447ea0f2b3dd64393e8679f3b12cdedca40
+
+conflicts       wireshark
+
+depends_lib     port:c-ares \
+                port:glib2 \
+                port:gtk2 \
+                port:openssl \
+                port:libpcap \
+                port:zlib \
+                port:xorg-inputproto
+
+configure.args  --enable-gtk2 \
+                --disable-usr-local \
+                --without-adns \
+                --with-c-ares=${prefix} \
+                --without-pcre \
+                --disable-ipv6 \
+                --with-pcap=${prefix} \
+                --with-ssl=${prefix} \
+                --with-zlib=${prefix} \
+                --mandir=\\\${prefix}/share/man \
+                --infodir=\\\${prefix}/share/info \
+                --without-portaudio \
+                --disable-warnings-as-errors \
+                --enable-new-packet-list
+
+configure.ldflags-append "-Wl,-search_paths_first"
+
+# port:libpcap is !universal_variant
+universal_variant   no
+
+variant adns description {use adns library for async. dns resolution instead of the default c-ares library} {
+        configure.args-delete   --without-adns \
+                                --with-c-ares=${prefix}
+        configure.args-append   --with-adns=${prefix} \
+                                --without-c-ares
+        depends_lib-delete      port:c-ares
+        depends_lib-append      port:adns
+}
+
+variant gnutls {
+        configure.args-append   --with-libgnutls-prefix=${prefix}
+        depends_lib-append      port:gnutls
+}
+
+variant libgcrypt {
+        configure.args-append   --with-libgcrypt-prefix=${prefix}
+        depends_lib-append      port:libgcrypt
+}
+
+variant ipv6 {
+        configure.args-append   --enable-ipv6
+        configure.args-delete   --disable-ipv6
+}
+
+variant lua {
+        configure.args-append   --with-lua=${prefix}
+        depends_lib-append      port:lua
+}
+
+variant pcre {
+        configure.args-append   --with-pcre=${prefix}
+        configure.args-delete   --without-pcre
+        depends_lib-append      port:pcre
+}
+
+variant rtp description {add rtp support with portaudio} {
+        configure.args-append   --with-portaudio=${prefix}
+        configure.args-delete   --without-portaudio
+        depends_lib-append      port:portaudio
+}
+
+variant no_ssl {
+        configure.args-append --without-ssl
+        depends_lib-delete      port:openssl
+}
+
+variant no_gui description {Disable GTK GUI} {
+        depends_lib-delete      port:gtk2
+        configure.args-delete   --disable-gtk2
+        configure.args-append   --disable-wireshark
+}


Property changes on: trunk/dports/net/wireshark-devel/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091029/07470099/attachment.html>


More information about the macports-changes mailing list