1 | # $Id: |
---|
2 | PortSystem 1.0 |
---|
3 | PortGroup python25 1.0 |
---|
4 | |
---|
5 | # FIXME try with Python 2.5 |
---|
6 | name py25-libpcap |
---|
7 | version 0.6.2 |
---|
8 | categories python net |
---|
9 | platforms darwin |
---|
10 | maintainers pmq openmaintainer |
---|
11 | |
---|
12 | description Python module for the libpcap packet capture library |
---|
13 | long_description \ |
---|
14 | Pylibpcap is a Python extension module that interfaces with the libpcap \ |
---|
15 | packet capture library. Pylibpcap enables python scripts to capture \ |
---|
16 | packets on the network. |
---|
17 | |
---|
18 | homepage http://pylibpcap.sourceforge.net |
---|
19 | master_sites sourceforge:pylibpcap |
---|
20 | |
---|
21 | distname pylibpcap-${version} |
---|
22 | checksums sha1 f47d6e5d72219e2162f1b16e59f3c45e496652d9 \ |
---|
23 | rmd160 dbda6fec0786630c3af65d540b57507f888d1d78 |
---|
24 | |
---|
25 | depends_lib port:libpcap port:swig |
---|
26 | |
---|
27 | post-destroot { |
---|
28 | set sharedir ${destroot}${prefix}/share/doc/${name}-${version} |
---|
29 | xinstall -d ${sharedir} |
---|
30 | xinstall -d ${sharedir}/examples |
---|
31 | |
---|
32 | xinstall -m 644 -W ${worksrcpath} COPYING PKG-INFO README ${sharedir} |
---|
33 | xinstall -m 755 -W ${worksrcpath}/examples findalldevs.py sniff.py ${sharedir}/examples |
---|
34 | } |
---|