source: trunk/dports/net/masscan/Portfile

Last change on this file was 151664, checked in by mf2k@…, 11 months ago

masscan: Move a few lines to logical positions. Minor description tweak.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- 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
2# $Id: Portfile 151664 2016-08-19 14:29:55Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        robertdavidgraham masscan 1.0.3
8categories          net security
9platforms           darwin
10maintainers         nomaintainer
11license             GPL-3
12
13description         Mass IP port scanner
14
15long_description    This is the fastest Internet port scanner. It can \
16                    scan the entire Internet in under 6 minutes, \
17                    transmitting 10 million packets per second. \
18                    It produces results similar to nmap, the most \
19                    famous port scanner. Internally, it operates \
20                    more like scanrand, unicornscan, and ZMap, \
21                    using asynchronous transmission. The major \
22                    difference is that it is faster than these \
23                    other scanners. In addition, it is more \
24                    flexible, allowing arbitrary address ranges \
25                    and port ranges.
26
27# Remove these lines when updating to the next version.
28master_sites        https://github.com/robertdavidgraham/masscan/archive/
29distname            ${version}
30worksrcdir          ${name}-${version}
31# end of lines to remove
32
33checksums           rmd160  ad733d1a7caa772c33712be204a23d9eef792e68 \
34                    sha256  331edd529df1904bcbcfb43029ced7e2dafe1744841e74cd9fc9f440b8301085
35
36depends_lib         port:libpcap
37
38patchfiles          patch-Makefile.diff
39
40use_configure       no
41
42build.args          CC=${configure.cc} \
43                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]"
44
45destroot.env        PREFIX=${prefix}
46post-destroot {
47    xinstall -m 644 ${worksrcpath}/doc/masscan.8 ${destroot}${prefix}/share/man/man8/
48}
49
50variant universal {}
51
52test.run            yes
53test.target         regress
Note: See TracBrowser for help on using the repository browser.