source: trunk/dports/net/ethereal/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name            ethereal
5version         0.99.0
6revision        2
7categories      net
8maintainers     darkart.com:opendarwin.org
9description     (NB: wireshark is the maintained version) Graphical network analyzer and capture tool
10homepage        http://ethereal.com/
11platforms       darwin
12
13long_description (NB: wireshark is the new name for ethereal, and is being maintained) \
14                A network analyzer that lets you capture and \
15                interactively browse Ethernet frames. \
16                Packet data can be read from a file, or live from a local \
17                network interface.
18
19master_sites    http://www.ethereal.com/distribution/   \
20                ftp://ftp.ethereal.com/pub/ethereal/all-versions/ \
21                ftp://ftp.planetmirror.com/pub/ethereal/all-versions/ \
22                ftp://ftp.mirrors.wiretapped.net/pub/security/packet-capture/ethereal/all-versions/ \
23                ftp://gd.tuwien.ac.at/infosys/security/ethereal/all-versions/ \
24                ftp://ftp.sunet.se/pub/network/monitoring/ethereal/all-versions/ \
25                ftp://ftp.ayamura.org/pub/ethereal/all-versions/ \
26                ftp://ftp.azc.uam.mx/mirrors/ethereal/all-versions/
27
28checksums       md5     f9905b9d347acdc05af664a7553f7f76 \
29                sha1    466299ac49f21904ed91b93e81667f226637e868 \
30                rmd160  f86e21ae60d53e1ed60b61e58c2941ecfd4d8696
31
32use_bzip2       yes
33
34depends_lib     port:glib2 \
35                port:gtk2 \
36                port:openssl \
37                port:libpcap \
38                port:zlib
39
40patchfiles      patch-epan-filesystem.c
41
42configure.args  --enable-gtk2 \
43                --with-net-snmp=no --with-ucd-snmp=no \
44                --disable-usr-local \
45                --without-adns \
46                --without-pcre \
47                --enable-ipv6 \
48                --with-pcap=${prefix} \
49                --with-ssl=${prefix} \
50                --with-zlib=${prefix} \
51                --mandir=\\\${prefix}/share/man \
52                --infodir=\\\${prefix}/share/info
53
54configure.ldflags-append        "-Wl,-search_paths_first"
55
56pre-fetch {
57        ui_msg "\nWireshark (net/wireshark) is the new version of ethereal, you probably want to move to that\n\nIf you must use ethereal, edit the Portfile and comment out the 'pre-fetch {}' lines\n"
58        return -code error "\n\n${name} is superseded by wireshark (net/wireshark), use that port instead\n"
59}
60
61variant adns {
62        configure.args-append   --with-adns=${prefix}
63        configure.args-delete   --without-adns
64        depends_lib-append      port:adns
65}
66
67variant net_snmp {
68        configure.args-append   --with-net-snmp=${prefix}/bin/net-snmp-config
69        configure.args-delete   --with-net-snmp=no
70        depends_lib-append      port:net-snmp
71}
72
73variant pcre {
74        configure.args-append   --with-pcre=${prefix}
75        configure.args-delete   --without-pcre
76        depends_lib-append      lib:libpcre:pcre
77}
78
79variant no_ssl {
80        configure.args-append --without-ssl
81        depends_lib-delete      port:openssl
82}
83
84variant no_x11  {
85        depends_lib-delete      port:gtk2
86        configure.args-delete   --disable-gtk2
87        configure.args-append   --disable-ethereal
88}
89
90#
91##EOF
Note: See TracBrowser for help on using the repository browser.