New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82442


Ignore:
Timestamp:
08/13/11 16:11:46 (4 years ago)
Author:
ram@…
Message:

python/py*-m2crypto: unify

Location:
trunk/dports/python
Files:
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-m2crypto/Portfile

    r80026 r82442  
    22 
    33PortSystem         1.0 
    4 PortGroup          python24 1.0 
     4PortGroup          python 1.0 
    55 
    66name               py-m2crypto 
    77version            0.21.1 
    88categories-append  crypto devel 
    9 maintainers        nomaintainer 
     9maintainers        ram openmaintainer 
    1010description        M2Crypto is a crypto and SSL toolkit for Python. 
    1111long_description   ${description} 
     
    1717distname           M2Crypto-${version} 
    1818 
     19python.versions    24 25 26 27 
     20 
    1921checksums          md5 f93d8462ff7646397a9f77a2fe602d17 \ 
    2022                   sha1 3c7135b952092e4f2eee7a94c5153319cccba94e \ 
     
    2224 
    2325depends_lib-append port:swig-python \ 
    24                    port:openssl \ 
    25                    port:py-setuptools 
     26                   port:openssl 
     27 
     28if {${subport} == "py24-m2crypto"} { 
     29    depends_lib-append port:py-setuptools 
     30} elseif {$subport != $name} { 
     31    depends_lib-append port:py${python.version}-distribute 
     32} 
    2633 
    2734post-patch { 
     
    3239 
    3340post-destroot { 
    34   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 
     41  if {${name} != ${subport}} { 
     42  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} 
    3543  eval file copy [glob ${worksrcpath}/doc/*] \ 
    36     ${destroot}${prefix}/share/doc/${name} 
     44    ${destroot}${prefix}/share/doc/${subport} 
     45  } 
    3746} 
    3847 
Note: See TracChangeset for help on using the changeset viewer.