source: trunk/dports/python/py25-pcapy/Portfile @ 65303

Last change on this file since 65303 was 65303, checked in by ryandesign@…, 10 years ago

py*-pcapy: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 65303 2010-03-25 01:22:12Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python25 1.0
5
6name                py25-pcapy
7version             0.10.5
8categories-append   net
9maintainers         nomaintainer
10
11description         python interface to libpcap
12
13long_description    Pcapy is a Python extension module that interfaces with \
14                    the libpcap packet capture library. Pcapy enables python \
15                    scripts to capture packets on the network.
16
17platforms           darwin
18
19homepage            http://oss.coresecurity.com/projects/pcapy.html
20master_sites        http://oss.coresecurity.com/repo/
21distname            pcapy-${version}
22
23checksums           md5     1dcff6af494f3d6763f457aa86aa0853 \
24                    sha1    e7e803b423f2c2e3401ee616cddfd6ab237fc8d8 \
25                    rmd160  fef424f4b912ba73e95e192355a0ad2e527492ff
26
27depends_lib-append  port:libpcap
28
29build.env           CPPFLAGS="-I${prefix}/include -L${prefix}/lib" \
30                    CFLAGS=-I${prefix}/include \
31                    LDFLAGS=-L${prefix}/lib
32
33post-destroot {
34    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
35    eval file rename [glob ${destroot}${prefix}/share/doc/pcapy/*] \
36        ${destroot}${prefix}/share/doc/${name}
37    xinstall -m 644 -W ${worksrcpath} ChangeLog PKG-INFO \
38        ${destroot}${prefix}/share/doc/${name}
39}
40
41livecheck.type      regex
42livecheck.regex     {pcapy-([0-9.]+)\.tar}
Note: See TracBrowser for help on using the repository browser.