Ticket #33963: Portfile.diff
File Portfile.diff, 2.5 KB (added by howarth@…, 13 years ago) |
---|
-
Portfile
old new 6 6 7 7 name pymol 8 8 version 1.5 9 revision 1 9 10 categories science 10 11 maintainers bromo.med.uc.edu:howarth 11 12 description Molecular graphics system … … 20 21 master_sites sourceforge 21 22 fetch.type svn 22 23 svn.url https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol 23 svn.revision 39 8324 svn.revision 3996 24 25 worksrcdir pymol 25 26 26 27 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 … … 36 37 37 38 use_parallel_build yes 38 39 39 variant gcc43 description conflicts gcc44 gcc45 gcc46 description {build using macports-gcc-4.3} {40 variant gcc43 description conflicts gcc44 gcc45 gcc46 gcc47 description {build using macports-gcc-4.3} { 40 41 depends_lib-append port:gcc43 41 42 python.add_archflags no 42 43 configure.compiler macports-gcc-4.3 43 44 } 44 45 45 variant gcc44 description conflicts gcc43 gcc45 gcc46 description {build using macports-gcc-4.4} {46 variant gcc44 description conflicts gcc43 gcc45 gcc46 gcc47 description {build using macports-gcc-4.4} { 46 47 depends_lib-append port:gcc44 47 48 python.add_archflags no 48 49 configure.compiler macports-gcc-4.4 49 50 } 50 51 51 variant gcc45 description conflicts gcc43 gcc44 gcc46 description {build using macports-gcc-4.5} {52 variant gcc45 description conflicts gcc43 gcc44 gcc46 gcc47 description {build using macports-gcc-4.5} { 52 53 depends_lib-append port:gcc45 53 54 python.add_archflags no 54 55 configure.compiler macports-gcc-4.5 55 56 } 56 57 57 variant gcc46 description conflicts gcc43 gcc44 gcc45 description {build using macports-gcc-4.6} {58 variant gcc46 description conflicts gcc43 gcc44 gcc45 gcc47 description {build using macports-gcc-4.6} { 58 59 depends_lib-append port:gcc46 59 60 python.add_archflags no 60 61 configure.compiler macports-gcc-4.6 61 62 } 62 63 63 pre-build { 64 build.env CC="${configure.cc}" CXX="${configure.cxx}" 64 variant gcc47 description conflicts gcc43 gcc44 gcc45 gcc46 description {build using macports-gcc-4.7} { 65 depends_lib-append port:gcc47 66 python.add_archflags no 67 configure.compiler macports-gcc-4.7 65 68 } 66 69 67 70 build { 68 71 } 69 72 73 pre-destroot { 74 destroot.env CC="${configure.cc}" CXX="${configure.cxx}" 75 } 76 70 77 post-destroot { 71 78 file copy ${worksrcpath}/setup/pymol_macports ${destroot}${prefix}/bin/pymol 72 79 file attributes ${destroot}${prefix}/bin/pymol -permissions a+x