# $Id: Portfile 143379 2015-12-11 21:33:32Z dluke@macports.org $ PortSystem 1.0 name nmap version 7.01 categories net maintainers darkart.com:opendarwin.org geeklair.net:dluke description Port scanning utility for large networks license {GPL-2 OpenSSLException} homepage http://nmap.org/ platforms darwin freebsd long_description Nmap is a utility for port scanning large networks, although \ it works fine for single hosts. The guiding philosophy for \ the creation of nmap was TMTOWTDI (There's More Than One Way \ To Do It). This is the Perl slogan, but it is equally \ applicable to scanners. Sometimes you need speed, other \ times you may need stealth. In some cases, bypassing \ firewalls may be required. Not to mention the fact that you \ may want to scan different protocols (UDP, TCP, ICMP, etc.). \ You just can't do all this with one scanning mode. And you \ don't want to have 10 different scanners around, all with \ different interfaces and capabilities. master_sites http://download.insecure.org/nmap/dist/ \ ftp://nuxi.ucdavis.edu/pub/misc/ checksums md5 7fa4edc592184c7addc14f5acb3fe6f7 \ sha1 c1a44558c72aed3c78d63d54b5b008db69f0aaac \ rmd160 4f79df88e836adb260966ddf1d322b18e16251a2 \ sha256 cf1fcd2643ba2ef52f47acb3c18e52fa12a4ae4b722804da0e54560704627705 depends_lib port:libpcap \ path:lib/libssl.dylib:openssl \ port:pcre \ port:zlib \ port:apr \ port:subversion use_bzip2 yes configure.args --without-zenmap --without-ndiff \ --mandir=\\\${prefix}/share/man \ --infodir=\\\${prefix}/share/info \ --with-openssl=${prefix} \ --with-libpcre=${prefix} \ --with-liblua=included # nmap's configure script in nselib-bin does not respect --with-liblua=included # as with many ports, configure fails if nawk is installed, force use of system awk configure.env ac_cv_header_lua_h=no ac_cv_prog_AWK=awk use_parallel_build no configure.ccache no variant no_ssl description {build without ssl support} { configure.args-delete --with-openssl=${prefix} depends_lib-delete path:lib/libssl.dylib:openssl } variant no_pcre description {build without pcre support} { configure.args-delete --with-pcre=${prefix} depends_lib-delete port:pcre } variant zenmap description {build zenmap in addition to nmap} { configure.args-delete --without-zenmap configure.python ${prefix}/bin/python2.7 depends_lib-append port:py27-pygtk }