Ticket #13399: Portfile

File Portfile, 1.8 KB (added by BjarneDMat, 16 years ago)

new ettercap-ng Portfile

Line 
1# $Id: Portfile 20339 2006-11-02 00:52:17Z blair@macports.org $
2
3PortSystem 1.0
4name             ettercap-ng
5version          0.7.3
6categories       net security
7maintainers      ultrix@gmail.com
8description      multipurpose sniffer/interceptor/logger for switched LAN
9long_description \
10    Ettercap is a multi-functional packet sniffer/interceptor/logger \
11    that works on switched LANs. It allows the active and passive \
12    dissection of numerous protocols, including ciphered ones, such as \
13    SSH1, and includes features for network and host analysis. Four \
14    modes are available: IP Based, MAC Address Based, ARP Based, and \
15    PublicARP Based.
16homepage         http://ettercap.sourceforge.net/
17platforms        darwin freebsd
18
19master_sites     sourceforge:ettercap
20distname         ettercap-NG-${version}
21checksums        md5 28fb15cd024162c55249888fe1b97820
22
23patchfiles       patch-src-Makefile.in \
24                 patch-configure \
25                 patch-src-interfaces-curses-widgets-wdg.h
26
27depends_lib      port:openssl \
28                 port:libpcap \
29                 port:libnet11 \
30                 lib:libpcre.0: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}
52