Ticket #25498: Porfile.diff
File Porfile.diff, 2.8 KB (added by howarth@…, 14 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name pymol 7 version 1. 2r28 revision 27 version 1.3 8 revision 1 9 9 categories science 10 10 maintainers bromo.med.uc.edu:howarth 11 11 description Molecular graphics system … … 20 20 master_sites sourceforge 21 21 fetch.type svn 22 22 svn.url https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol 23 svn.revision 3 86623 svn.revision 3911 24 24 worksrcdir pymol 25 25 26 26 depends_lib port:glut port:freetype port:libpng port:python26 port:py26-pmw port:py26-numeric port:mesa 27 27 depends_run port:xdpyinfo 28 28 29 patchfiles pymol-build.patch 29 patchfiles pymol-build.patch pymol-build.patch2 30 30 use_configure no 31 31 32 32 post-patch { … … 40 40 41 41 post-configure { 42 42 copy ${worksrcpath}/setup/Rules.osx-fink ${worksrcpath}/Rules.delsci 43 if { [variant_isset gcc43] || [variant_isset gcc44] } {43 if { [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45] } { 44 44 reinplace "s| -no-cpp-precomp||g" ${worksrcpath}/Rules.delsci 45 45 reinplace "s|^BUILD = |BUILD = -lstdc++ |" ${worksrcpath}/Rules.delsci 46 46 } … … 52 52 CC="${configure.cc}" CXX="${configure.cxx}" 53 53 } 54 54 55 variant gcc43 description conflicts gcc44 description {build using macports-gcc-4.3} {55 variant gcc43 description conflicts gcc44 gcc45 description {build using macports-gcc-4.3} { 56 56 depends_lib-append port:gcc43 57 57 # the current pymol makefile does not honour CC and CXX environment variables 58 58 build.args-delete CC="${configure.cc}" CXX="${configure.cxx}" … … 60 60 configure.compiler macports-gcc-4.3 61 61 } 62 62 63 variant gcc44 description conflicts gcc43 description {build using macports-gcc-4.4} {63 variant gcc44 description conflicts gcc43 gcc45 description {build using macports-gcc-4.4} { 64 64 depends_lib-append port:gcc44 65 65 # the current pymol makefile does not honour CC and CXX environment variables 66 66 build.args-delete CC="${configure.cc}" CXX="${configure.cxx}" … … 68 68 configure.compiler macports-gcc-4.4 69 69 } 70 70 71 variant gcc44 description conflicts gcc43 gcc44 description {build using macports-gcc-4.5} { 72 depends_lib-append port:gcc45 73 # the current pymol makefile does not honour CC and CXX environment variables 74 build.args-delete CC="${configure.cc}" CXX="${configure.cxx}" 75 build.args-append CC="${prefix}/bin/gcc-mp-4.5" CXX="${prefix}/bin/g++-mp-4.5" 76 configure.compiler macports-gcc-4.5 77 } 78 71 79 destroot { 72 80 file mkdir ${destroot}${prefix}/lib/pymol/bin 73 81 copy ${worksrcpath}/setup/pymol.com.osx-fink ${destroot}${prefix}/lib/pymol/bin/pymol