# $Id: Portfile 65303 2010-03-25 01:22:12Z ryandesign@macports.org $ PortSystem 1.0 PortGroup python25 1.0 name py25-pcapy version 0.10.5 categories-append net maintainers nomaintainer description python interface to libpcap long_description Pcapy is a Python extension module that interfaces with \ the libpcap packet capture library. Pcapy enables python \ scripts to capture packets on the network. platforms darwin homepage http://oss.coresecurity.com/projects/pcapy.html master_sites http://oss.coresecurity.com/repo/ distname pcapy-${version} checksums md5 1dcff6af494f3d6763f457aa86aa0853 \ sha1 e7e803b423f2c2e3401ee616cddfd6ab237fc8d8 \ rmd160 fef424f4b912ba73e95e192355a0ad2e527492ff depends_lib-append port:libpcap build.env CPPFLAGS="-I${prefix}/include -L${prefix}/lib" \ CFLAGS=-I${prefix}/include \ LDFLAGS=-L${prefix}/lib post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} eval file rename [glob ${destroot}${prefix}/share/doc/pcapy/*] \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} ChangeLog PKG-INFO \ ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.regex {pcapy-([0-9.]+)\.tar}