# -*- 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
PortGroup               github 1.0

github.setup            jpr5 ngrep 1.48.3 v
github.tarball_from     archive
revision                0
categories              net
maintainers             nomaintainer
license                 BSD

description             Network grep
long_description \
        ngrep strives to provide most of GNU grep's common features, applying \
        them to the network layer. \
        ngrep a pcap-aware tool that will allow you to specify extended \
        regular expressions to match against data payloads of packets. It \
        currently recognizes TCP, UDP, and ICMP across Ethernet, PPP, SLIP, \
        FDDI, Token Ring and null interfaces, and understands BPF filter \
        logic in the same fashion as more common packet sniffing tools, \
        like tcpdump and snoop.

checksums               rmd160  6f757a69e407334ae63bb76e34bad77ae64eda34 \
                        sha256  7c69777c21cc491368b2f1fe057d1d44febcf42413a885b59badeade5264a066 \
                        size    297804

destroot.target         install

configure.args          --enable-ipv6 \
                        --enable-pcre2 \
                        --enable-tcpkill \
                        --prefix=${prefix}

depends_lib-append      port:libpcap \
                        port:pcre2 \
                        port:libnet
