Ticket #42895: Portfile

File Portfile, 1.2 KB (added by davidcadrian@…, 10 years ago)

zmap portfile

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$
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                zmap
8version             v1.2.0
9fetch.type          git
10git.url             https://github.com/zmap/zmap.git
11git.branch          v1.2.0
12
13categories          net
14platforms           darwin
15license             apache-2
16maintainers         gmail.com:pat.pannuto \
17                    openmaintainer
18description         Internet scanner
19long_description    ZMap is a fast network scanner designed for Internet-wide network surveys.
20homepage            https://zmap.io/
21master_sites        https://github.com/zmap/zmap
22
23depends_build       port:cmake \
24                    port:byacc \
25                    port:flex \
26                    port:gengetopt
27
28depends_lib         port:gmp \
29                    port:libdnet \
30
31variant redis description {Add Redis support} {
32    depends_lib-append port:redis
33    depends_lib-append port:hiredis
34    configure.args-append -DWITH_REDIS=ON
35}
36
37variant json description {Add JSON support} {
38    depends_lib-append port:json-c
39    configure.args-append -DWITH_JSON=ON
40}