# $Id: Portfile 61676 2009-12-18 17:38:30Z ecronin@macports.org $

PortSystem 1.0
name             libpcapnav
version          0.8
categories       net security
maintainers      ecronin openmaintainer
description      A tcpdump tracefile navigation library
long_description \
    libpcapnav is a libpcap wrapper library that allows navigation to \
    arbitrary locations in a tcpdump trace file between reads. The API \
    is intentionally much like that of the pcap library. You can navigate \
    in trace files both in time and space: you can jump to a packet which \
    is at appr. 2/3 of the trace, or you can jump as closely as possible \
    to a packet with a given timestamp, and then read packets from there. \
    In addition, the API provides convenience functions for manipulating \
    timeval structures
homepage         http://netdude.sourceforge.net/
platforms        darwin
master_sites     sourceforge:netdude
checksums        md5     005a0a2d6f1164f1212a7c10ab950b36 \
                 sha1    9f585e8589f289d157732b040f2a213e8b6b239b \
                 rmd160  f2e48b18d6520935c854a94c26aa3cd95bddb0c6
depends_lib      lib:libpcap:libpcap
depends_build    port:gtk-doc

configure.args   --with-pcap-headers=${prefix}/include/pcap \
                 --with-pcap-lib=${prefix}/lib
