Ticket #50780: Portfile.diff

File Portfile.diff, 1.6 KB (added by howarth.at.macports@…, 8 years ago)

update changes from r4151 to r4152 for more upstream fixes.

  • Portfile

    old new  
    77PortGroup           compilers 1.0
    88
    99name                pymol
    10 version             1.7.7.2
     10version             1.8.1.0
    1111revision            1
    1212categories          science chemistry
    1313license             PSF
     
    2424master_sites        sourceforge
    2525fetch.type          svn
    2626svn.url             https://svn.code.sf.net/p/pymol/code/trunk/pymol
    27 svn.revision        4141
     27svn.revision        4152
    2828worksrcdir          pymol
    2929
    3030compilers.choose    cc cxx
    3131compilers.setup
    3232
    33 python.default_version 27
     33variant python27 conflicts python34 python35 description {Use Python 2.7} {}
     34variant python34 conflicts python27 python35 description {Use Python 3.4} {}
     35variant python35 conflicts python27 python34 description {Use Python 3.5} {}
     36if {[variant_isset python34]} {
     37    python.default_version 34
     38} elseif {[variant_isset python35]} {
     39    python.default_version 35
     40} else {
     41    default_variants +python27
     42    python.default_version 27
     43}
    3444python.link_binaries no
    3545
    3646depends_lib-append  port:freeglut \
     
    5060# py-scipy is not universal
    5161universal_variant   no
    5262
    53 patchfiles          setup_py.diff \
    54                     pymol_shell.diff \
     63patchfiles          pymol_shell.diff \
    5564                    pmg_tk_platform.patch \
    5665                    apbs-psize.patch
    5766
     
    7584build {}
    7685
    7786pre-destroot {
    78     destroot.env CC="${configure.cc}" CXX="${configure.cxx}"
     87    destroot.env CC="${configure.cc}" CXX="${configure.cxx}" PREFIX_PATH="${prefix}"
    7988}
    8089
    8190post-destroot {