# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 151664 2016-08-19 14:29:55Z mf2k@macports.org $ PortSystem 1.0 PortGroup github 1.0 github.setup robertdavidgraham masscan 1.0.3 categories net security platforms darwin maintainers nomaintainer license GPL-3 description Mass IP port scanner long_description This is the fastest Internet port scanner. It can \ scan the entire Internet in under 6 minutes, \ transmitting 10 million packets per second. \ It produces results similar to nmap, the most \ famous port scanner. Internally, it operates \ more like scanrand, unicornscan, and ZMap, \ using asynchronous transmission. The major \ difference is that it is faster than these \ other scanners. In addition, it is more \ flexible, allowing arbitrary address ranges \ and port ranges. # Remove these lines when updating to the next version. master_sites https://github.com/robertdavidgraham/masscan/archive/ distname ${version} worksrcdir ${name}-${version} # end of lines to remove checksums rmd160 ad733d1a7caa772c33712be204a23d9eef792e68 \ sha256 331edd529df1904bcbcfb43029ced7e2dafe1744841e74cd9fc9f440b8301085 depends_lib port:libpcap patchfiles patch-Makefile.diff use_configure no build.args CC=${configure.cc} \ CFLAGS="${configure.cflags} [get_canonical_archflags cc]" destroot.env PREFIX=${prefix} post-destroot { xinstall -m 644 ${worksrcpath}/doc/masscan.8 ${destroot}${prefix}/share/man/man8/ } variant universal {} test.run yes test.target regress