# $Id$ PortSystem 1.0 PortGroup python24 1.0 name py-pcapy version 0.10.4 revision 1 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 6b3f5823cdc4f878968eea722d9bb557 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} }