# $Id: Portfile,v 1.3 2005/12/06 01:59:32 matt Exp $
PortSystem              1.0
PortGroup               python24 1.0

name                    py-pylibpcap
version                 0.5.1
revision		1
distname		pylibpcap-${version}
categories              python net
maintainers             chris.owen@consault.com
description             A python module for the libpcap packet capture library.
long_description        \
Pylibpcap is a Python extension module that interfaces with the libpcap \
        packet capture library.  Pylibpcap enables python scripts to capture \
        packets on the network.
homepage                http://pylibpcap.sourceforge.net/
master_sites            sourceforge:pylibpcap
checksums		\
	md5		85adbefd87be3a3a32bed899974fe3dc \
	sha1		c8e85258b3b3f79d629531856cfb3242c07f5796 \
	rmd160		f1e2309fbaf0878e6b4fb87b626686377c6c105a

depends_lib		port:libpcap port:swig

post-destroot {
        xinstall -m 644 -W ${worksrcpath} COPYING PKG-INFO README \
                ${destroot}${prefix}/share/doc/${name}
        xinstall -m 644 -W ${worksrcpath}/examples findalldevs.py sniff.py \
                ${destroot}${prefix}/share/doc/${name}/examples
}
