New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82541


Ignore:
Timestamp:
08/15/11 06:34:14 (4 years ago)
Author:
mmoll@…
Message:

unify py*-MMTK

Location:
trunk/dports/python
Files:
2 deleted
1 edited
1 moved

Legend:

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

    r79654 r82541  
    22 
    33PortSystem 1.0 
    4 PortGroup python27 1.0 
     4PortGroup python 1.0 
    55 
    66set realname        MMTK 
     
    88version             2.7.4 
    99revision            1 
     10python.versions     25 26 27 
     11python.default_version 27 
    1012categories          python science 
    1113maintainers         mmoll openmaintainer 
    1214description         The Molecular Modelling Toolkit is a library for molecular \ 
    13                                         simulations with a focus on biomolecular systems. 
     15                    simulations with a focus on biomolecular systems. 
    1416long_description    $description 
    15 homepage            http://sourcesup.cru.fr/projects/mmtk/ 
     17homepage            http://dirac.cnrs-orleans.fr/MMTK/ 
    1618platforms           darwin 
    1719distname            ${realname}-${version} 
     
    2022                    sha1    31a4b3d7469e82fc24c363d7cd1b20d425976294 \ 
    2123                    rmd160  0259d428336f5717307468f8e4ebd57351bacc19 
    22 depends_build           port:py27-distribute 
    23 depends_lib         port:py27-scientific 
    24 build.env           CPPFLAGS="-I${prefix}/include -I${prefix}/include/python2.7" 
     24                     
     25if {$subport != $name} { 
     26    depends_build       port:py${python.version}-distribute 
     27    depends_lib         port:py${python.version}-scientific 
     28    build.env-append    CPPFLAGS="-I${prefix}/include -I${prefix}/include/python${python.branch}" 
     29} 
    2530 
    2631livecheck.type      none 
Note: See TracChangeset for help on using the changeset viewer.