Ticket #50370: Portfile-pymol.diff
File Portfile-pymol.diff, 3.4 KB (added by dstrubbe (David Strubbe), 9 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 PortGroup python 1.0 6 6 PortGroup active_variants 1.1 7 PortGroup compilers 1.0 7 8 8 9 name pymol 9 10 version 1.7.7.2 … … 10 11 revision 1 11 12 categories science chemistry 12 13 license PSF 13 maintainers gmail.com:howarth.at.macports 14 maintainers gmail.com:howarth.at.macports openmaintainer 14 15 description Molecular graphics system 15 16 long_description PyMOL is a molecular graphics system with an embedded Python interpreter \ 16 17 designed for real-time visualization and rapid generation of high-quality \ … … 26 27 svn.revision 4141 27 28 worksrcdir pymol 28 29 30 compilers.choose cc cxx 31 compilers.setup 32 29 33 python.default_version 27 30 34 python.link_binaries no 31 35 … … 38 42 port:py${python.version}-numpy \ 39 43 port:py${python.version}-pmw \ 40 44 port:py${python.version}-scipy \ 41 port:py${python.version}-tkinter 45 port:py${python.version}-tkinter \ 46 port:tcl \ 47 port:tk 42 48 depends_run port:xdpyinfo 43 49 44 50 # py-scipy is not universal … … 61 67 reinplace "s|@@PYTHON_PKGDIR@@|${python.pkgd}|g" ${worksrcpath}/setup/pymol_macports 62 68 reinplace "s|@@PYTHON_BINARY@@|${python.bin}|g" ${worksrcpath}/setup/pymol_macports 63 69 reinplace "s|\"-O3\",|\"-O3\", \"-g\",|g" ${worksrcpath}/setup.py 70 reinplace "s|cxx + \' \' + cxxflags|\'${configure.cxx} \' + cxxflags|g" ${worksrcpath}/monkeypatch_distutils.py 64 71 } 65 72 66 73 use_parallel_build yes 67 74 68 variant gcc43 description conflicts gcc44 gcc45 gcc46 gcc47 gcc48 gcc49 gcc5 description {build using macports-gcc-4.3} {69 python.add_archflags no70 configure.compiler macports-gcc-4.371 }72 73 variant gcc44 description conflicts gcc43 gcc45 gcc46 gcc47 gcc48 gcc49 gcc5 description {build using macports-gcc-4.4} {74 python.add_archflags no75 configure.compiler macports-gcc-4.476 }77 78 variant gcc45 description conflicts gcc43 gcc44 gcc46 gcc47 gcc48 gcc49 gcc5 description {build using macports-gcc-4.5} {79 python.add_archflags no80 configure.compiler macports-gcc-4.581 }82 83 variant gcc46 description conflicts gcc43 gcc44 gcc45 gcc47 gcc48 gcc49 gcc5 description {build using macports-gcc-4.6} {84 python.add_archflags no85 configure.compiler macports-gcc-4.686 }87 88 variant gcc47 description conflicts gcc43 gcc44 gcc45 gcc46 gcc48 gcc49 gcc5 description {build using macports-gcc-4.7} {89 python.add_archflags no90 configure.compiler macports-gcc-4.791 }92 93 variant gcc48 description conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc49 gcc5 description {build using macports-gcc-4.8} {94 python.add_archflags no95 configure.compiler macports-gcc-4.896 }97 98 variant gcc49 description conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc48 gcc5 description {build using macports-gcc-4.9} {99 python.add_archflags no100 configure.compiler macports-gcc-4.9101 }102 103 variant gcc5 description conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc48 gcc49 description {build using macports-gcc-5} {104 python.add_archflags no105 configure.compiler macports-gcc-5106 }107 108 75 build {} 109 76 110 77 pre-destroot {