Ticket #29345: Portfile.diff
File Portfile.diff, 3.2 KB (added by howarth@…, 14 years ago) |
---|
-
Portfile
old new 6 6 7 7 name pymol 8 8 version 1.4 9 revision 19 revision 2 10 10 categories science 11 11 maintainers bromo.med.uc.edu:howarth 12 12 description Molecular graphics system … … 21 21 master_sites sourceforge 22 22 fetch.type svn 23 23 svn.url https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol 24 svn.revision 394 524 svn.revision 3947 25 25 worksrcdir pymol 26 26 27 27 depends_lib port:freetype port:libpng port:python26 port:py26-pmw port:py26-numeric port:mesa port:glew port:py26-tkinter … … 37 37 38 38 use_parallel_build no 39 39 40 variant gcc43 description conflicts gcc44 gcc45 description {build using macports-gcc-4.3} {40 variant gcc43 description conflicts gcc44 gcc45 gcc46 description {build using macports-gcc-4.3} { 41 41 depends_lib-append port:gcc43 42 # the current pymol makefile does not honour CC and CXX environment variables 43 build.args-delete CC="${configure.cc}" CXX="${configure.cxx}" 44 build.args-append CC="${prefix}/bin/gcc-mp-4.3" CXX="${prefix}/bin/g++-mp-4.3" 45 configure.compiler macports-gcc-4.3 42 python.add_archflags no 43 build.env CC="${prefix}/bin/gcc-mp-4.3" CXX="${prefix}/bin/g++-mp-4.3" 46 44 } 47 45 48 variant gcc44 description conflicts gcc43 gcc45 description {build using macports-gcc-4.4} {46 variant gcc44 description conflicts gcc43 gcc45 gcc46 description {build using macports-gcc-4.4} { 49 47 depends_lib-append port:gcc44 50 # the current pymol makefile does not honour CC and CXX environment variables 51 build.args-delete CC="${configure.cc}" CXX="${configure.cxx}" 52 build.args-append CC="${prefix}/bin/gcc-mp-4.4" CXX="${prefix}/bin/g++-mp-4.4" 53 configure.compiler macports-gcc-4.4 48 python.add_archflags no 49 build.env CC="${prefix}/bin/gcc-mp-4.4" CXX="${prefix}/bin/g++-mp-4.4" 54 50 } 55 51 56 variant gcc45 description conflicts gcc43 gcc44 description {build using macports-gcc-4.5} {52 variant gcc45 description conflicts gcc43 gcc44 gcc46 description {build using macports-gcc-4.5} { 57 53 depends_lib-append port:gcc45 58 # the current pymol makefile does not honour CC and CXX environment variables 59 build.args-delete CC="${configure.cc}" CXX="${configure.cxx}" 60 build.args-append CC="${prefix}/bin/gcc-mp-4.5" CXX="${prefix}/bin/g++-mp-4.5" 61 configure.compiler macports-gcc-4.5 54 python.add_archflags no 55 build.env CC="${prefix}/bin/gcc-mp-4.5" CXX="${prefix}/bin/g++-mp-4.5" 56 } 57 58 variant gcc46 description conflicts gcc43 gcc44 gcc45 description {build using macports-gcc-4.6} { 59 depends_lib-append port:gcc46 60 python.add_archflags no 61 build.env CC="${prefix}/bin/gcc-mp-4.6" CXX="${prefix}/bin/g++-mp-4.6" 62 62 } 63 63 64 64 post-destroot { 65 65 file copy ${worksrcpath}/setup/pymol_macports ${destroot}${prefix}/bin/pymol 66 66 file attributes ${destroot}${prefix}/bin/pymol -permissions a+x 67 ln -s ${python.pkgd}/pymol ${destroot}${python.pkgd}/pymol/pymol_path 67 68 foreach d {data modules examples test scripts} { 68 69 copy ${worksrcpath}/${d} ${destroot}${python.pkgd}/pymol 69 70 }