Ticket #38516: Portfile.diff

File Portfile.diff, 3.6 KB (added by howarth@…, 11 years ago)

Portfile.diff to update to pymol 1.6.0 with previous changes

  • Portfile

    old new  
    66PortGroup           active_variants 1.1
    77
    88name                pymol
    9 version             1.5
    10 revision            8
     9version             1.6.0
    1110categories          science
     11license             GPL
    1212maintainers         bromo.med.uc.edu:howarth
    1313description         Molecular graphics system
    1414long_description    PyMOL is a molecular graphics system with an embedded Python interpreter \
     
    2121
    2222master_sites        sourceforge
    2323fetch.type          svn
    24 svn.url             https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol
    25 svn.revision        4013
     24svn.url             https://svn.code.sf.net/p/pymol/code/trunk/pymol
     25svn.revision        4039
    2626worksrcdir          pymol
    2727
    2828depends_lib         port:freetype port:libpng port:python26 port:py26-pmw port:py26-numpy port:py26-scipy port:mesa port:glew port:py26-tkinter port:freeglut
     
    3131# py27-scipy is not universal
    3232universal_variant   no
    3333
    34 patchfiles          setup_py.diff pymol_shell.diff pmg_tk_platform.patch apbs-psize.patch
     34patchfiles          setup_py.diff pymol_shell.diff pmg_tk_platform.patch apbs-psize.patch apbs_tkinter.patch pymol-clang.diff
    3535
    3636require_active_variants tcl "" corefoundation
    3737require_active_variants tk "" quartz
     
    4444
    4545use_parallel_build yes
    4646
    47 variant gcc43 description conflicts gcc44 gcc45 gcc46 gcc47 description {build using macports-gcc-4.3} {
     47variant gcc43 description conflicts gcc44 gcc45 gcc46 gcc47 gcc48 description {build using macports-gcc-4.3} {
    4848    depends_lib-append  port:gcc43
    4949    python.add_archflags   no
    5050    configure.compiler  macports-gcc-4.3
    5151}
    5252
    53 variant gcc44 description conflicts gcc43 gcc45 gcc46 gcc47 description {build using macports-gcc-4.4} {
     53variant gcc44 description conflicts gcc43 gcc45 gcc46 gcc47 gcc48 description {build using macports-gcc-4.4} {
    5454    depends_lib-append  port:gcc44
    5555    python.add_archflags   no
    5656    configure.compiler  macports-gcc-4.4
    5757}
    5858
    59 variant gcc45 description conflicts gcc43 gcc44 gcc46 gcc47 description {build using macports-gcc-4.5} {
     59variant gcc45 description conflicts gcc43 gcc44 gcc46 gcc47 gcc48 description {build using macports-gcc-4.5} {
    6060    depends_lib-append  port:gcc45
    6161    python.add_archflags   no
    6262    configure.compiler  macports-gcc-4.5
    6363}
    6464
    65 variant gcc46 description conflicts gcc43 gcc44 gcc45 gcc47 description {build using macports-gcc-4.6} {
     65variant gcc46 description conflicts gcc43 gcc44 gcc45 gcc47 gcc48 description {build using macports-gcc-4.6} {
    6666    depends_lib-append  port:gcc46
    6767    python.add_archflags   no
    6868    configure.compiler  macports-gcc-4.6
    6969}
    7070
    71 variant gcc47 description conflicts gcc43 gcc44 gcc45 gcc46 description {build using macports-gcc-4.7} {
     71variant gcc47 description conflicts gcc43 gcc44 gcc45 gcc46 gcc48 description {build using macports-gcc-4.7} {
    7272    depends_lib-append  port:gcc47
    7373    python.add_archflags   no
    7474    configure.compiler  macports-gcc-4.7
    7575}
    7676
     77variant gcc48 description conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {build using macports-gcc-4.8} {
     78    depends_lib-append  port:gcc48
     79    python.add_archflags   no
     80    configure.compiler  macports-gcc-4.8
     81}
     82
    7783build {
    7884}
    7985
     
    8490post-destroot {
    8591     file copy ${worksrcpath}/setup/pymol_macports ${destroot}${prefix}/bin/pymol
    8692     file attributes ${destroot}${prefix}/bin/pymol -permissions a+x
    87      ln -s ${python.pkgd}/pymol ${destroot}${python.pkgd}/pymol/pymol_path
    8893     foreach d {data modules examples test scripts} {
    8994        copy ${worksrcpath}/${d} ${destroot}${python.pkgd}/pymol
    9095    }