diff --git a/dports/math/gnudatalanguage/Portfile b/dports/math/gnudatalanguage/Portfile
index 499be51..cdb6ffe 100644
a
|
b
|
PortGroup mpi 1.0 |
8 | 8 | |
9 | 9 | name gnudatalanguage |
10 | 10 | version 0.9.5 |
11 | | revision 1 |
| 11 | revision 2 |
12 | 12 | epoch 1 |
13 | 13 | |
14 | 14 | compilers.choose cc cxx |
… |
… |
post-destroot { |
121 | 121 | xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog HACKING NEWS MAP_INSTALL TODO \ |
122 | 122 | ${destroot}${prefix}/share/doc/${name} |
123 | 123 | file copy ${worksrcpath}/testsuite ${destroot}${prefix}/share/${name}/ |
124 | | if {[variant_isset python25] || [variant_isset python26] || [variant_isset python27]} { |
| 124 | if {[variant_isset python27]} { |
125 | 125 | xinstall -m 644 ${worksrcpath}/PYTHON.txt ${destroot}${prefix}/share/doc/${name} |
126 | 126 | file copy ${worksrcpath}/src/py ${destroot}${prefix}/share/${name}/ |
127 | 127 | } |
… |
… |
variant wxWidgets description {deprecated compatibility variant} { |
154 | 154 | # #configure.env-append LDFLAGS=\"-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib\" |
155 | 155 | } |
156 | 156 | |
157 | | if {[variant_isset python25] || [variant_isset python26] || [variant_isset python27]} { |
| 157 | if {[variant_isset python27]} { |
158 | 158 | configure.args-delete -DPYTHON=OFF |
159 | 159 | configure.args-append -DPYTHON=ON |
160 | 160 | } |
161 | 161 | |
162 | | variant python requires python26 description {Legacy compatibility variant} {} |
| 162 | # TODO: Remove after 2016-01-04. |
| 163 | variant python25 requires python27 description {Legacy variant} {} |
| 164 | variant python26 requires python27 description {Legacy variant} {} |
163 | 165 | |
164 | | variant python25 conflicts python26 python27 description {build with support for calling Python (2.5) from GDL (using numpy)} { |
165 | | depends_lib-append port:py25-numpy |
166 | | configure.args-append -DPYTHONDIR=${frameworks_dir}/Python.framework/Versions/2.5 \ |
167 | | -DPYTHONVERSION=2.5 |
168 | | } |
169 | | |
170 | | variant python26 conflicts python25 python27 description {build with support for calling Python (2.6) from GDL (using numpy)} { |
171 | | depends_lib-append port:py26-numpy |
172 | | configure.args-append -DPYTHONDIR=${frameworks_dir}/Python.framework/Versions/2.6 \ |
173 | | -DPYTHONVERSION=2.6 |
174 | | } |
175 | | |
176 | | variant python27 conflicts python25 python26 description {build with support for calling Python (2.7) from GDL (using numpy)} { |
| 166 | variant python27 description {build with support for calling Python (2.7) from GDL (using numpy)} { |
177 | 167 | depends_lib-append port:py27-numpy |
178 | 168 | configure.args-append -DPYTHONDIR=${frameworks_dir}/Python.framework/Versions/2.7 \ |
179 | 169 | -DPYTHONVERSION=2.7 |