commit 69c48d66e7cd5e6337fc65a3742ad19b15e8ac11
Author: Peter Williams <peter@newton.cx>
Date: Fri Mar 9 14:32:05 2012 -0800
Portfile: update for 4.2.3.20120309, add gcc46 variant
diff --git a/ports/science/miriad/Portfile b/ports/science/miriad/Portfile
index fa10bf0..c1121d2 100644
a
|
b
|
PortGroup xcodeversion 1.0 |
11 | 11 | name miriad |
12 | 12 | conflicts pgplot |
13 | 13 | set relver 4.2.3 |
14 | | set tardate 20111010 |
| 14 | set tardate 20120309 |
15 | 15 | version ${relver}.${tardate} |
16 | 16 | platforms darwin |
17 | 17 | categories science |
… |
… |
license unknown |
32 | 32 | # Files |
33 | 33 | |
34 | 34 | master_sites http://astro.berkeley.edu/~pkwill/miriad-macport/ |
35 | | checksums rmd160 9de12a01dfded42da817bf02d8ef8243ad81214e \ |
36 | | sha256 25d7c253ea54a74b2beaeff477ede4d9c8c862a32a73050635403e534f2112f6 |
| 35 | checksums rmd160 4a077d0533c59b587dbacb646d5fb8c48bbe7225 \ |
| 36 | sha256 c327b53b49700a24e5294e9299ebd75c54598bec1a4ef56309898b7182403c07 |
37 | 37 | |
38 | 38 | # Telescope/buffer size selection. |
39 | 39 | |
… |
… |
if {[variant_isset carma]} { |
58 | 58 | # to build with better-optimizing proprietary compilers, which we allow |
59 | 59 | # via the gcc_select mechanism. |
60 | 60 | |
61 | | variant gcc44 conflicts gcc45 gcc_select description {Build with gcc 4.4} { |
| 61 | variant gcc44 conflicts gcc45 gcc46 gcc_select description {Build with gcc/gfortran 4.4} { |
62 | 62 | configure.compiler macports-gcc-4.4 |
63 | 63 | depends_lib-append port:gcc44 |
64 | 64 | } |
65 | 65 | |
66 | | variant gcc45 conflicts gcc44 gcc_select description {Build with gcc 4.5} { |
| 66 | variant gcc45 conflicts gcc44 gcc46 gcc_select description {Build with gcc/gfortran 4.5} { |
67 | 67 | configure.compiler macports-gcc-4.5 |
68 | 68 | depends_lib-append port:gcc45 |
69 | 69 | } |
70 | 70 | |
71 | | variant gcc_select conflicts gcc45 gcc44 description {Build with compilers chosen via gcc_select -- experts only} { |
| 71 | variant gcc46 conflicts gcc44 gcc45 gcc_select description {Build with gcc/gfortran 4.6} { |
| 72 | configure.compiler macports-gcc-4.6 |
| 73 | depends_lib-append port:gcc46 |
| 74 | } |
| 75 | |
| 76 | variant gcc_select conflicts gcc44 gcc45 gcc46 description {Build with compilers chosen via gcc_select -- experts only} { |
72 | 77 | # Setting the compiler to vanilla "gcc" prevents MacPorts from |
73 | 78 | # trying to get fancy with the flags, which probably won't work |
74 | 79 | # with the user's special compiler. |
… |
… |
variant gcc_select conflicts gcc45 gcc44 description {Build with compilers chose |
82 | 87 | depends_lib-append port:gcc_select |
83 | 88 | } |
84 | 89 | |
85 | | if {![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc_select]} { |
| 90 | if {![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc_select]} { |
86 | 91 | default_variants +gcc45 |
87 | 92 | } |
88 | 93 | |
… |
… |
variant debug description {Build with debugging support -- tasks will be very sl |
144 | 149 | configure.optflags -g -O0 |
145 | 150 | configure.args-append --enable-warnings |
146 | 151 | } |
147 | | |
148 | | variant docs description {Build documentation PDFs -- depends on many ports} { |
149 | | depends_build-append port:texlive port:latex2html port:transfig port:gnuplot |
150 | | configure.args-delete --disable-docs |
151 | | configure.args-append --enable-docs |
152 | | } |