RCS file: /Volumes/src/cvs/od/projects/darwinports/dports/net/ethereal/Portfile,v
retrieving revision 1.25
diff -u -r1.25 Portfile
|
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | name ethereal |
5 | | version 0.10.4 |
| 5 | version 0.10.5 |
6 | 6 | categories net |
7 | 7 | maintainers opendarwin.org@darkart.com toby@opendarwin.org |
8 | 8 | description Graphical network analyzer and capture tool |
… |
… |
|
22 | 22 | ftp://ftp.ayamura.org/pub/ethereal/all-versions/ \ |
23 | 23 | ftp://ftp.azc.uam.mx/mirrors/ethereal/all-versions/ |
24 | 24 | |
25 | | checksums md5 d889d4e6e26047afc5a2b74770c8ac88 |
| 25 | checksums md5 26d5672935ac8bd0793fcd2ad0b4833f |
26 | 26 | |
27 | 27 | use_bzip2 yes |
28 | 28 | |
29 | | depends_lib lib:libglib.2:glib2 lib:libgtk.2:gtk2 \ |
30 | | lib:XXX:libpcap |
| 29 | depends_lib lib:libglib.2:glib2 \ |
| 30 | lib:libgtk.2:gtk2 \ |
| 31 | lib:XXX:openssl \ |
| 32 | lib:XXX:libpcap \ |
| 33 | lib:XXX:zlib |
31 | 34 | |
32 | 35 | configure.args --without-plugins --enable-gtk2 \ |
33 | 36 | --with-net-snmp=no --with-ucd-snmp=no \ |
| 37 | --disable-usr-local \ |
34 | 38 | --without-adns \ |
35 | 39 | --without-pcre \ |
| 40 | --disable-ipv6 \ |
| 41 | --with-pcap=${prefix} \ |
| 42 | --with-ssl=${prefix} \ |
| 43 | --with-zlib=${prefix} \ |
36 | 44 | --mandir=\\\${prefix}/share/man \ |
37 | 45 | --infodir=\\\${prefix}/share/info |
38 | 46 | |
39 | | variant no-x11 { |
40 | | configure.args-append --disable-ethereal |
41 | | depends_lib-delete lib:libgtk.2:gtk2 |
| 47 | configure.env LDFLAGS="-Wl,-search_paths_first" |
| 48 | |
| 49 | patchfiles patch-configure |
| 50 | |
| 51 | variant adns { |
| 52 | configure.args-append --with-adns=${prefix} |
| 53 | configure.args-delete --without-adns |
| 54 | depends_lib-append lib:XXX:adns |
42 | 55 | } |
43 | 56 | |
44 | | variant pcre { |
45 | | configure.args-append --with-pcre=${prefix} |
46 | | configure.args-delete --without-pcre |
47 | | depends_lib-append lib:libpcre:pcre |
| 57 | variant ipv6 { |
| 58 | configure.args-append --enable-ipv6 |
| 59 | configure.args-delete --disable-ipv6 |
48 | 60 | } |
49 | 61 | |
50 | 62 | variant net-snmp { |
… |
… |
|
53 | 65 | depends_lib-append lib:XXX:net-snmp |
54 | 66 | } |
55 | 67 | |
56 | | variant adns { |
57 | | configure.args-append --with-adns=${prefix} |
58 | | configure.args-delete --without-adns |
59 | | depends_lib-append lib:XXX:adns |
| 68 | variant pcre { |
| 69 | configure.args-append --with-pcre=${prefix} |
| 70 | configure.args-delete --without-pcre |
| 71 | depends_lib-append lib:libpcre:pcre |
| 72 | } |
| 73 | |
| 74 | variant no-ssl { |
| 75 | configure.args-append --without-ssl |
| 76 | depends_lib-delete lib:XXX:openssl |
60 | 77 | } |
| 78 | |
| 79 | variant no-x11 { |
| 80 | configure.args-append --disable-ethereal |
| 81 | depends_lib-delete lib:libgtk.2:gtk2 |
| 82 | } |
| 83 | |
61 | 84 | # |
62 | 85 | ##EOF |