[39476] trunk/dports/net/wireshark/Portfile
ricci at macports.org
ricci at macports.org
Thu Aug 21 10:52:30 PDT 2008
Revision: 39476
http://trac.macosforge.org/projects/macports/changeset/39476
Author: ricci at macports.org
Date: 2008-08-21 10:52:30 -0700 (Thu, 21 Aug 2008)
Log Message:
-----------
Add support for RTP via portaudio.
Resolves ticket #16361 (different solution used than what is in the patch on the ticket)
Modified Paths:
--------------
trunk/dports/net/wireshark/Portfile
Modified: trunk/dports/net/wireshark/Portfile
===================================================================
--- trunk/dports/net/wireshark/Portfile 2008-08-21 17:43:30 UTC (rev 39475)
+++ trunk/dports/net/wireshark/Portfile 2008-08-21 17:52:30 UTC (rev 39476)
@@ -1,7 +1,6 @@
# $Id$
PortSystem 1.0
-
name wireshark
version 1.0.2
revision 0
@@ -20,8 +19,8 @@
http://www.wireshark.org/download/src/all-versions/
checksums md5 77114890256222605a699d7123d86a7d \
- sha1 6d5736096efde3507a900942bfb21c492a42a057 \
- rmd160 bd42952c87c412b4395485cbaaf8698d26e03137
+ sha1 6d5736096efde3507a900942bfb21c492a42a057 \
+ rmd160 bd42952c87c412b4395485cbaaf8698d26e03137
use_bzip2 yes
@@ -29,8 +28,7 @@
port:gtk2 \
port:openssl \
port:libpcap \
- port:zlib \
- port:portaudio
+ port:zlib
configure.args --enable-gtk2 \
--with-net-snmp=no --with-ucd-snmp=no \
@@ -67,45 +65,50 @@
configure.env-append MACOSX_DEPLOYMENT_TARGET=10.5
}
-variant adns description {Use Asynchronous DNS} {
+variant adns {
configure.args-append --with-adns=${prefix}
configure.args-delete --without-adns
depends_lib-append port:adns
}
-variant gnutls description {Use GNUTLS} {
+variant gnutls {
configure.args-append --with-libgnutls-prefix=${prefix}
depends_lib-append port:gnutls
}
-variant libgcrypt description {Use gcrypt} {
+variant libgcrypt {
configure.args-append --with-libgcrypt-prefix=${prefix}
depends_lib-append port:libgcrypt
}
-variant ipv6 description {Enable IPv6 Support} {
+variant ipv6 {
configure.args-append --enable-ipv6
configure.args-delete --disable-ipv6
}
-variant net_snmp description {Use Net-SNMP} {
+variant net_snmp {
configure.args-append --with-net-snmp=${prefix}/bin/net-snmp-config
configure.args-delete --with-net-snmp=no
depends_lib-append port:net-snmp
}
-variant pcre description {Use PCRE} {
+variant pcre {
configure.args-append --with-pcre=${prefix}
configure.args-delete --without-pcre
depends_lib-append lib:libpcre:pcre
}
-variant no_ssl description {Disable SSL Support} {
+variant rtp description {add rtp support with portaudio} {
+ configure.args-append --with-portaudio=${prefix}
+ depends_lib-append port:portaudio
+}
+
+variant no_ssl {
configure.args-append --without-ssl
depends_lib-delete port:openssl
}
-variant no_x11 description {Disable X11 Support} {
+variant no_x11 {
depends_lib-delete port:gtk2
configure.args-delete --disable-gtk2
configure.args-append --disable-wireshark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080821/f949dd56/attachment.html
More information about the macports-changes
mailing list