source: trunk/dports/python/py-pylibpcap/Portfile

Last change on this file was 126587, checked in by larryv@…, 3 years ago

py{24,25,26}-pylibpcap: Replace with py27-pylibpcap

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 126587 2014-10-12 06:36:48Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               python 1.0
5
6name                    py-pylibpcap
7version                 0.6.4
8categories-append       net
9license                 BSD
10platforms               darwin
11maintainers             nomaintainer
12
13description             Python module for the libpcap packet capture library
14long_description        \
15    Pylibpcap is a Python extension module that interfaces with the libpcap \
16    packet capture library. Pylibpcap enables python scripts to capture \
17    packets on the network.
18
19homepage                http://pylibpcap.sourceforge.net
20master_sites            sourceforge:pylibpcap
21
22distname                pylibpcap-${version}
23checksums               sha1 30b5d2e9dc8dcf6df067a216d9ecae109ff34f86 \
24                        rmd160  27aea5a6a4c2317b77483c15482de68312bb3777
25
26python.versions 27
27
28if {${name} ne ${subport}} {
29    depends_lib-append  port:libpcap port:swig-python
30
31    post-destroot {
32        set sharedir ${destroot}${prefix}/share/doc/${subport}
33        xinstall -d ${sharedir}
34        xinstall -d ${sharedir}/examples
35   
36        xinstall -m 644 -W ${worksrcpath} COPYING PKG-INFO README ${sharedir}
37        xinstall -m 755 -W ${worksrcpath}/examples findalldevs.py sniff.py ${sharedir}/examples
38    }
39}
Note: See TracBrowser for help on using the repository browser.