Ticket #34140: py-pylibpcap_Portfile.diff

File py-pylibpcap_Portfile.diff, 1.5 KB (added by mfeiri, 12 years ago)
  • python/py-pylibpcap/Portfile

    old new  
    1 # $Id: Portfile 86748 2011-11-03 00:36:03Z jmr@macports.org $
     1# $Id: Portfile 726 2012-04-19 21:53:57Z mfeiri $
    22
    33PortSystem              1.0
    4 PortGroup               python24 1.0
     4PortGroup               python 1.0
    55
    66name                    py-pylibpcap
    7 version                 0.6.2
     7version                 0.6.4
    88categories              python net
    99license                 BSD
    10 platforms               darwin
     10platforms               darwin
    1111maintainers             pmq openmaintainer
    1212
    1313description             Python module for the libpcap packet capture library
     
    1919homepage                http://pylibpcap.sourceforge.net
    2020master_sites            sourceforge:pylibpcap
    2121
    22 distname                pylibpcap-${version}
    23 checksums               sha1 f47d6e5d72219e2162f1b16e59f3c45e496652d9 \
    24                         rmd160 dbda6fec0786630c3af65d540b57507f888d1d78
     22distname                pylibpcap-${version}
     23checksums               sha1 30b5d2e9dc8dcf6df067a216d9ecae109ff34f86 \
     24                        rmd160  27aea5a6a4c2317b77483c15482de68312bb3777
     25
     26python.versions 24 25 26 27
    2527
    2628depends_lib-append      port:libpcap port:swig-python
    2729
    2830post-destroot {
    29     set sharedir ${destroot}${prefix}/share/doc/${name}-${version}
     31    set sharedir ${destroot}${prefix}/share/doc/${subport}
    3032    xinstall -d ${sharedir}
    3133    xinstall -d ${sharedir}/examples
    3234