Ticket #42895: Portfile.zmap-3.0.0-RC2

File Portfile.zmap-3.0.0-RC2, 1.4 KB (added by artkiver (グレェ), 18 months ago)

Portfile for ZMap 3.0.0 RC2 with included improvements per the ticket.

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
3PortSystem          1.0
4PortGroup           cmake 1.0
5PortGroup           github 1.0
6
7name                zmap
8github.setup        zmap zmap 3.0.0-RC2 v
9
10categories          net
11platforms           darwin
12license             apache-2
13maintainers         {@artkiver gmail.com:artkiver} openmaintainer
14
15description         ZMap is a fast network scanner
16long_description    designed for Internet-wide network surveys capable of \
17                    scanning the entire IPv4 address space in 5 minutes from \
18                    a 10GbE connection.
19homepage            https://zmap.io/
20master_sites        https://github.com/zmap/zmap
21
22checksums           rmd160 9ef9b3293de156a76e9e13652cfc46b4321c9b85 \
23                    sha256 0e256d3b62c4ec2f51367c6036aefd99eef6ce6b0b6bcda858223c5a29fda77a \
24                    size 156242
25
26depends_build       port:byacc \
27                    port:flex \
28                    port:gengetopt
29
30depends_lib         port:gmp \
31                    port:libdnet \
32
33variant redis description {Add Redis support} {
34    depends_lib-append port:redis
35    depends_lib-append port:hiredis
36    configure.args-append -DWITH_REDIS=ON
37}
38
39variant json description {Add JSON support} {
40    depends_lib-append port:json-c
41    configure.args-append -DWITH_JSON=ON
42}