source: trunk/dports/net/nmap/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.0 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name            nmap
6version         4.76
7categories      net
8maintainers     darkart.com:opendarwin.org geeklair.net:dluke
9description     Port scanning utility for large networks
10homepage        http://nmap.org/
11platforms       darwin freebsd
12
13long_description Nmap is a utility for port scanning large networks, although \
14                 it works fine for single hosts. The guiding philosophy for \
15                 the creation of nmap was TMTOWTDI (There's More Than One Way \
16                 To Do It). This is the Perl slogan, but it is equally \
17                 applicable to scanners. Sometimes you need speed, other \
18                 times you may need stealth. In some cases, bypassing \
19                 firewalls may be required. Not to mention the fact that you \
20                 may want to scan different protocols (UDP, TCP, ICMP, etc.). \
21                 You just can't do all this with one scanning mode. And you \
22                 don't want to have 10 different scanners around, all with \
23                 different interfaces and capabilities.
24
25master_sites    http://download.insecure.org/nmap/dist/ \
26                ftp://nuxi.ucdavis.edu/pub/misc/
27
28checksums       md5     278dd2e849cc3dbb947df961a1aaffd0 \
29                sha1    a71141738b4512b6d5b35ef94258e525df30a586 \
30                rmd160  ec93522e05e7233e8950b28ab12b45355e63c0c7
31
32depends_lib     port:libpcap \
33                port:openssl \
34                port:pcre \
35                port:zlib
36
37use_bzip2       yes
38
39configure.args  --without-zenmap\
40                --mandir=\\\${prefix}/share/man \
41                --infodir=\\\${prefix}/share/info \
42                --with-openssl=${prefix} \
43                --with-libpcre=${prefix} \
44                --with-liblua=included
45
46# nmap's configure script in nselib-bin does not respect --with-liblua=included
47configure.env ac_cv_header_lua_h=no
48
49use_parallel_build      no
50configure.ccache        no
51
52variant no_ssl  description {build without ssl support} {
53                        configure.args-delete --with-openssl=${prefix}
54                        depends_lib-delete port:openssl
55                }
56
57variant no_pcre description {build without pcre support} {
58                        configure.args-delete --with-pcre=${prefix}
59                        depends_lib-delete port:pcre
60                }
61
62variant zenmap description {build zenmap in addition to nmap} {
63                        configure.args-delete --without-zenmap
64                        depends_lib-append port:py25-gtk port:py25-sqlite3
65                }
Note: See TracBrowser for help on using the repository browser.