Ticket #38516: Portfile.diff
File Portfile.diff, 3.6 KB (added by howarth@…, 11 years ago) |
---|
-
Portfile
old new 6 6 PortGroup active_variants 1.1 7 7 8 8 name pymol 9 version 1.5 10 revision 8 9 version 1.6.0 11 10 categories science 11 license GPL 12 12 maintainers bromo.med.uc.edu:howarth 13 13 description Molecular graphics system 14 14 long_description PyMOL is a molecular graphics system with an embedded Python interpreter \ … … 21 21 22 22 master_sites sourceforge 23 23 fetch.type svn 24 svn.url https:// pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol25 svn.revision 40 1324 svn.url https://svn.code.sf.net/p/pymol/code/trunk/pymol 25 svn.revision 4039 26 26 worksrcdir pymol 27 27 28 28 depends_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 … … 31 31 # py27-scipy is not universal 32 32 universal_variant no 33 33 34 patchfiles setup_py.diff pymol_shell.diff pmg_tk_platform.patch apbs-psize.patch 34 patchfiles setup_py.diff pymol_shell.diff pmg_tk_platform.patch apbs-psize.patch apbs_tkinter.patch pymol-clang.diff 35 35 36 36 require_active_variants tcl "" corefoundation 37 37 require_active_variants tk "" quartz … … 44 44 45 45 use_parallel_build yes 46 46 47 variant gcc43 description conflicts gcc44 gcc45 gcc46 gcc47 description {build using macports-gcc-4.3} {47 variant gcc43 description conflicts gcc44 gcc45 gcc46 gcc47 gcc48 description {build using macports-gcc-4.3} { 48 48 depends_lib-append port:gcc43 49 49 python.add_archflags no 50 50 configure.compiler macports-gcc-4.3 51 51 } 52 52 53 variant gcc44 description conflicts gcc43 gcc45 gcc46 gcc47 description {build using macports-gcc-4.4} {53 variant gcc44 description conflicts gcc43 gcc45 gcc46 gcc47 gcc48 description {build using macports-gcc-4.4} { 54 54 depends_lib-append port:gcc44 55 55 python.add_archflags no 56 56 configure.compiler macports-gcc-4.4 57 57 } 58 58 59 variant gcc45 description conflicts gcc43 gcc44 gcc46 gcc47 description {build using macports-gcc-4.5} {59 variant gcc45 description conflicts gcc43 gcc44 gcc46 gcc47 gcc48 description {build using macports-gcc-4.5} { 60 60 depends_lib-append port:gcc45 61 61 python.add_archflags no 62 62 configure.compiler macports-gcc-4.5 63 63 } 64 64 65 variant gcc46 description conflicts gcc43 gcc44 gcc45 gcc47 description {build using macports-gcc-4.6} {65 variant gcc46 description conflicts gcc43 gcc44 gcc45 gcc47 gcc48 description {build using macports-gcc-4.6} { 66 66 depends_lib-append port:gcc46 67 67 python.add_archflags no 68 68 configure.compiler macports-gcc-4.6 69 69 } 70 70 71 variant gcc47 description conflicts gcc43 gcc44 gcc45 gcc46 description {build using macports-gcc-4.7} {71 variant gcc47 description conflicts gcc43 gcc44 gcc45 gcc46 gcc48 description {build using macports-gcc-4.7} { 72 72 depends_lib-append port:gcc47 73 73 python.add_archflags no 74 74 configure.compiler macports-gcc-4.7 75 75 } 76 76 77 variant 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 77 83 build { 78 84 } 79 85 … … 84 90 post-destroot { 85 91 file copy ${worksrcpath}/setup/pymol_macports ${destroot}${prefix}/bin/pymol 86 92 file attributes ${destroot}${prefix}/bin/pymol -permissions a+x 87 ln -s ${python.pkgd}/pymol ${destroot}${python.pkgd}/pymol/pymol_path88 93 foreach d {data modules examples test scripts} { 89 94 copy ${worksrcpath}/${d} ${destroot}${python.pkgd}/pymol 90 95 }