# -*- 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

PortSystem          1.0

name                daq
version             2.0.7
revision            1
categories          net
license             GPL-2
maintainers         {jann @roederja} openmaintainer
description         A Data Acquisition library, for packet I/O
long_description    DAQ is an abstraction layer for PCAP. It is part of snort.
homepage            https://www.snort.org/
master_sites        ${homepage}downloads/snort/

platforms           macosx
depends_lib         port:pcre \
                    port:libdnet \
                    port:libpcap

# stealth update
dist_subdir         ${name}/${version}_1

checksums           rmd160  f51e2e94f714aea6b8b04d08f7c3311c3d90bd4b \
                    sha256  d1f6709bc5dbddee3fdf170cdc1e49fb926e2031d4869ecf367a8c47efc87279 \
                    size    515154

patchfiles          patch-sfbpf-Makefile.in.diff

livecheck.type      regex
livecheck.url       ${homepage}downloads
livecheck.regex     >${name}-(\[0-9.\]+)${extract.suffix}<
