# $Id: Portfile 62991 2010-01-22 17:58:07Z jmr@macports.org $

PortSystem 1.0

name                libpcap
version             1.0.0
revision            1
categories          net
maintainers         darkart.com:opendarwin.org
description         Packet Capture library
long_description    The Packet Capture library provides a high level \
                    interface to packet capture systems.  All packets \
                    on the network, even those destined for other hosts, \
                    are accessible through this mechanism.
homepage            http://www.tcpdump.org/
platforms           darwin
master_sites        ${homepage}release/ \
                    macports
checksums           md5     9ad1358c5dec48456405eac197a46d3d \
                    sha1    9893654027ae11033d785045ff35583da43fe8fa \
                    rmd160  20857fe6af5dc70fffb19da46e0fee908f55b3ea

configure.args      --enable-ipv6

patchfiles          patch-scanner.l.diff    \
                    patch-Makefile.in       \
                    patch-pcap-bpf.c.diff

use_parallel_build  yes
build.target-append shared

destroot.target-append  install-shared

platform darwin 8 {
    patchfiles-delete patch-pcap-bpf.c.diff
}

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# vi: set fenc=utf-8 filetype=tcl et sw=4 ts=4 sts=4: #
