Ticket #33289: Portfile.diff
File Portfile.diff, 2.4 KB (added by howarth@…, 13 years ago) |
---|
-
Portfile
old new 5 5 PortGroup python26 1.0 6 6 7 7 name pymol 8 version 1.4 9 revision 4 8 version 1.5 10 9 categories science 11 10 maintainers bromo.med.uc.edu:howarth 12 11 description Molecular graphics system … … 21 20 master_sites sourceforge 22 21 fetch.type svn 23 22 svn.url https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol 24 svn.revision 39 6223 svn.revision 3983 25 24 worksrcdir pymol 26 25 27 26 depends_lib port:freetype port:libpng port:python26 port:py26-pmw port:py26-numpy port:py26-scipy port:mesa port:glew port:py26-tkinter 28 27 depends_run port:xdpyinfo 29 28 30 patchfiles setup_py.diff pymol_shell.diff 29 patchfiles setup_py.diff pymol_shell.diff pmg_tk_platform.patch apbs-psize.patch 31 30 32 31 post-patch { 33 32 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py … … 37 36 38 37 use_parallel_build yes 39 38 40 platform darwin 11 {41 python.add_archflags no42 build.env CC="/usr/bin/clang" CXX="/usr/bin/clang++"43 }44 45 39 variant gcc43 description conflicts gcc44 gcc45 gcc46 description {build using macports-gcc-4.3} { 46 40 depends_lib-append port:gcc43 47 41 python.add_archflags no 48 build.env CC="${prefix}/bin/gcc-mp-4.3" CXX="${prefix}/bin/g++-mp-4.3"42 configure.compiler macports-gcc-4.3 49 43 } 50 44 51 45 variant gcc44 description conflicts gcc43 gcc45 gcc46 description {build using macports-gcc-4.4} { 52 46 depends_lib-append port:gcc44 53 47 python.add_archflags no 54 build.env CC="${prefix}/bin/gcc-mp-4.4" CXX="${prefix}/bin/g++-mp-4.4"48 configure.compiler macports-gcc-4.4 55 49 } 56 50 57 51 variant gcc45 description conflicts gcc43 gcc44 gcc46 description {build using macports-gcc-4.5} { 58 52 depends_lib-append port:gcc45 59 53 python.add_archflags no 60 build.env CC="${prefix}/bin/gcc-mp-4.5" CXX="${prefix}/bin/g++-mp-4.5"54 configure.compiler macports-gcc-4.5 61 55 } 62 56 63 57 variant gcc46 description conflicts gcc43 gcc44 gcc45 description {build using macports-gcc-4.6} { 64 58 depends_lib-append port:gcc46 65 59 python.add_archflags no 66 build.env CC="${prefix}/bin/gcc-mp-4.6" CXX="${prefix}/bin/g++-mp-4.6" 60 configure.compiler macports-gcc-4.6 61 } 62 63 pre-build { 64 build.env CC="${configure.cc}" CXX="${configure.cxx}" 65 } 66 67 build { 67 68 } 68 69 69 70 post-destroot {