source: trunk/dports/net/ettercap-ng/Portfile @ 56848

Last change on this file since 56848 was 56848, checked in by toby@…, 8 years ago

ettercap-ng: use port:pcre dep, otherwise it picks up pcre in /usr

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 56848 2009-09-02 18:26:29Z toby@macports.org $
2
3PortSystem 1.0
4name             ettercap-ng
5version          0.7.3
6revision         1
7categories       net security
8maintainers      gmail.com:ultrix
9description      multipurpose sniffer/interceptor/logger for switched LAN
10long_description \
11    Ettercap is a multi-functional packet sniffer/interceptor/logger \
12    that works on switched LANs. It allows the active and passive \
13    dissection of numerous protocols, including ciphered ones, such as \
14    SSH1, and includes features for network and host analysis. Four \
15    modes are available: IP Based, MAC Address Based, ARP Based, and \
16    PublicARP Based.
17homepage         http://ettercap.sourceforge.net/
18platforms        darwin freebsd
19
20master_sites     sourceforge:ettercap
21distname         ettercap-NG-${version}
22checksums        md5 28fb15cd024162c55249888fe1b97820
23
24patchfiles       patch-src-Makefile.in patch-configure \
25                 patch-src-interfaces-curses-widgets-wdg.h
26
27depends_lib      port:openssl \
28                 port:libpcap \
29                 port:libnet11 \
30                 port:pcre
31
32configure.args   --disable-gtk \
33                 --disable-plugins \
34                 --with-openssl=${prefix} \
35                 --with-libpcap=${prefix} \
36                 --with-libnet=${prefix} \
37                 --with-libpcre=${prefix} \
38                 --mandir=\\\${prefix}/share/man \
39                 --infodir=\\\${prefix}/share/info
40
41variant gtk {
42    depends_lib-append    lib:libglib.2:glib2 \
43                          lib:libgtk.2:gtk2
44    configure.args-delete --disable-gtk
45    configure.args-append --enable-gtk
46}
47
48variant plugins {
49    configure.args-delete --disable-plugins
50    configure.args-append --enable-plugins
51}
Note: See TracBrowser for help on using the repository browser.