Ticket #40471: Portfile.diff
File Portfile.diff, 2.4 KB (added by howarth@…, 11 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name ccpnmr 7 version 2.3. 07 version 2.3.1r2 8 8 set branch [join [lrange [split $version .] 0 1] .] 9 9 categories science python 10 10 maintainers bromo.med.uc.edu:howarth … … 19 19 homepage http://www.ccpn.ac.uk/ccpn/software/ccpnmr-suite 20 20 master_sites http://www2.ccpn.ac.uk/download/ccpnmr/ 21 21 distname analysis${version} 22 checksums rmd160 1124fa7d38fb6e709bbd078b630f6619bc433bd9 \23 sha256 b36ed5b773ca6b0d7a09ff705cf98256cbc093f57d51f6945ac021c5d2a380f122 checksums rmd160 f695780f5bce5f0c1e84080b8364b5bfaba2a0e9 \ 23 sha256 a9e47a24d84f7b8261c6c23a8607af5a6ba2f2db9e161a7f873794c1ba8663ef 24 24 worksrcdir ${name} 25 25 depends_lib port:py27-scipy port:mesa port:freeglut port:tk port:py27-tkinter 26 26 patchfiles ccpnmr.patch … … 77 77 system "${python.bin} -O ${python.libdir}/compileall.py -d ${python.pkgd}/${name}/${name}${branch} ${destroot}${python.pkgd}/${name}/${name}${branch}" 78 78 } 79 79 80 variant gcc45 conflicts gcc46 gcc47 description {Build with GCC 4.5} {80 variant gcc45 conflicts gcc46 gcc47 gcc48 gcc49 description {Build with GCC 4.5} { 81 81 configure.compiler macports-gcc-4.5 82 82 set lib ${prefix}/lib/gcc45 83 83 } 84 variant gcc46 conflicts gcc45 gcc47 description {Build with GCC 4.6} {84 variant gcc46 conflicts gcc45 gcc47 gcc48 gcc49 description {Build with GCC 4.6} { 85 85 configure.compiler macports-gcc-4.6 86 86 set lib ${prefix}/lib/gcc46 87 87 } 88 variant gcc47 conflicts gcc45 gcc46 description {Build with GCC 4.7} {88 variant gcc47 conflicts gcc45 gcc46 gcc48 gcc49 description {Build with GCC 4.7} { 89 89 configure.compiler macports-gcc-4.7 90 90 set lib ${prefix}/lib/gcc47 91 91 } 92 variant gcc48 conflicts gcc45 gcc46 gcc47 gcc49 description {Build with GCC 4.7} { 93 configure.compiler macports-gcc-4.8 94 set lib ${prefix}/lib/gcc48 95 } 96 variant gcc49 conflicts gcc45 gcc46 gcc47 gcc48 description {Build with GCC 4.7} { 97 configure.compiler macports-gcc-4.9 98 set lib ${prefix}/lib/gcc49 99 } 92 100 93 if {![variant_isset gcc45] && ![variant_isset gcc46] } {94 default_variants +gcc4 7101 if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc49]} { 102 default_variants +gcc48 95 103 }