# $Id: Portfile 85664 2011-10-15 15:49:16Z ecronin@macports.org $

PortSystem 1.0

name             libnetdude
version          0.12
categories       net security
license          MIT
maintainers      ecronin openmaintainer
description      a library for manipulating libpcap/tcpdump trace files
long_description \
    libnetdude provides data types and APIs for the most common \
    situations when dealing with libpcap trace files: trace files of \
    arbitrary size, packets, network protocols, packet iterators, \
    packet filters, just to name a few.
homepage         http://netdude.sourceforge.net/
master_sites     sourceforge:project/netdude/libnetdude/${version}
platforms        darwin

checksums        rmd160  4010f0447bd153be2628e0d5796561ff8add222e \
                 sha256  5fe748368e047ec0d6506b581d9ab3295a6f1b20133081715bfec5e27991e979

depends_lib      port:libpcapnav port:glib1 port:file port:zlib
depends_run      port:tcpdump
depends_build    port:gtk-doc

configure.args   --with-pcapnav-config=${prefix}/bin/pcapnav-config \
                 --with-tcpdump=${prefix}/sbin/tcpdump

livecheck.name   netdude
livecheck.type   sourceforge
livecheck.regex  /${name}-(\[0-9.\]+)${extract.suffix}
