Ticket #45369: Portfile.diff
File Portfile.diff, 9.7 KB (added by Tom.Schoonjans@…, 10 years ago) |
---|
-
Portfile
old new 5 5 PortGroup github 1.0 6 6 7 7 name xraylib 8 version 3.0.0 9 revision 1 8 version 3.1.0 10 9 categories science 11 10 platforms darwin 12 11 license BSD … … 25 24 master_sites http://lvserver.ugent.be/xraylib/ \ 26 25 http://xraylib.s3.amazonaws.com/ 27 26 28 checksums rmd160 6c8c82c0afe3664adcd044a4371229a76bad5bf9\29 sha256 0cc506e15f2f3563384dcb97cb4f9399b13d90f074b54c8d25cd59b7804d863627 checksums rmd160 17b96096244b9033f45bb3b630b3cc505a67c99b \ 28 sha256 61a7c7fd0a911562151422bc6ca77df8beba37ec4e337765cf60dfbe1e04a1e3 30 29 31 30 configure.args --disable-idl \ 32 31 --disable-fortran2003 \ … … 34 33 --disable-python \ 35 34 --disable-java \ 36 35 --disable-lua \ 37 --disable-ruby 36 --disable-ruby \ 37 --disable-python-numpy 38 38 39 39 # to be fixed in later versions of xraylib... 40 40 use_parallel_build no 41 41 configure.ccache no 42 42 43 43 44 variant perl5_10 description {Perl 5.10 bindings} conflicts perl5_12 perl5_14 perl5_16 perl5_18 {44 variant perl5_10 description {Perl 5.10 bindings} conflicts perl5_12 perl5_14 perl5_16 perl5_18 perl5_20 { 45 45 configure.args-append --enable-perl --enable-perl-integration PERL=${prefix}/bin/perl5.10 46 46 configure.args-delete --disable-perl 47 47 depends_build-append port:swig-perl 48 48 depends_lib-append port:perl5.10 49 49 } 50 50 51 variant perl5_12 description {Perl 5.12 bindings} conflicts perl5_10 perl5_14 perl5_16 perl5_18 {51 variant perl5_12 description {Perl 5.12 bindings} conflicts perl5_10 perl5_14 perl5_16 perl5_18 perl5_20 { 52 52 configure.args-append --enable-perl --enable-perl-integration PERL=${prefix}/bin/perl5.12 53 53 configure.args-delete --disable-perl 54 54 depends_build-append port:swig-perl 55 55 depends_lib-append port:perl5.12 56 56 } 57 57 58 variant perl5_14 description {Perl 5.14 bindings} conflicts perl5_10 perl5_12 perl5_16 perl5_18 {58 variant perl5_14 description {Perl 5.14 bindings} conflicts perl5_10 perl5_12 perl5_16 perl5_18 perl5_20 { 59 59 configure.args-append --enable-perl --enable-perl-integration PERL=${prefix}/bin/perl5.14 60 60 configure.args-delete --disable-perl 61 61 depends_build-append port:swig-perl 62 62 depends_lib-append port:perl5.14 63 63 } 64 64 65 variant perl5_16 description {Perl 5.16 bindings} conflicts perl5_10 perl5_12 perl5_14 perl5_18 {65 variant perl5_16 description {Perl 5.16 bindings} conflicts perl5_10 perl5_12 perl5_14 perl5_18 perl5_20 { 66 66 configure.args-append --enable-perl --enable-perl-integration PERL=${prefix}/bin/perl5.16 67 67 configure.args-delete --disable-perl 68 68 depends_build-append port:swig-perl 69 69 depends_lib-append port:perl5.16 70 70 } 71 71 72 variant perl5_18 description {Perl 5.18 bindings} conflicts perl5_10 perl5_12 perl5_14 perl5_16 {72 variant perl5_18 description {Perl 5.18 bindings} conflicts perl5_10 perl5_12 perl5_14 perl5_16 perl5_20 { 73 73 configure.args-append --enable-perl --enable-perl-integration PERL=${prefix}/bin/perl5.18 74 74 configure.args-delete --disable-perl 75 75 depends_build-append port:swig-perl 76 76 depends_lib-append port:perl5.18 77 77 } 78 78 79 variant p ython26 description {Python 2.6 bindings} conflicts python27 python31 python32 python33 {80 configure.args-append --enable-p ython --enable-python-integration PYTHON=${prefix}/bin/python2.681 configure.args-delete --disable-p ython82 depends_build-append port:swig-p ython83 depends_lib-append port:p ython2684 } 85 86 variant python2 7 description {Python 2.7 bindings} conflicts python26 python31 python32 python33{87 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python2.788 configure.args-delete --disable-python 89 depends_build-append port:swig-python 90 depends_lib-append port:python2 791 } 92 93 variant python 31 description {Python 3.1 bindings} conflicts python27 python26 python32 python33{94 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python3.195 configure.args-delete --disable-python 96 depends_build-append port:swig-python 97 depends_lib-append port:python 3198 } 99 100 variant python3 2 description {Python 3.2 bindings} conflicts python27 python31 python26 python33{101 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python3.2102 configure.args-delete --disable-python 103 depends_build-append port:swig-python 104 depends_lib-append port:python3 2105 } 106 107 variant python3 3 description {Python 3.3 bindings} conflicts python27 python31 python26 python32{108 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python3.3109 configure.args-delete --disable-python 110 depends_build-append port:swig-python 111 depends_lib-append port:python3 379 variant perl5_20 description {Perl 5.20 bindings} conflicts perl5_10 perl5_12 perl5_14 perl5_16 perl5_18 { 80 configure.args-append --enable-perl --enable-perl-integration PERL=${prefix}/bin/perl5.20 81 configure.args-delete --disable-perl 82 depends_build-append port:swig-perl 83 depends_lib-append port:perl5.20 84 } 85 86 variant python26 description {Python 2.6 bindings} conflicts python27 python33 python34 { 87 configure.args-append --enable-python --enable-python-integration --enable-python-numpy PYTHON=${prefix}/bin/python2.6 88 configure.args-delete --disable-python --disable-python-numpy 89 depends_build-append port:swig-python port:py26-cython 90 depends_lib-append port:python26 port:py26-numpy 91 } 92 93 variant python27 description {Python 2.7 bindings} conflicts python26 python33 python34 { 94 configure.args-append --enable-python --enable-python-integration --enable-python-numpy PYTHON=${prefix}/bin/python2.7 95 configure.args-delete --disable-python --disable-python-numpy 96 depends_build-append port:swig-python port:py27-cython 97 depends_lib-append port:python27 port:py27-numpy 98 } 99 100 variant python33 description {Python 3.3 bindings} conflicts python27 python26 python34 { 101 configure.args-append --enable-python --enable-python-integration --enable-python-numpy PYTHON=${prefix}/bin/python3.3 102 configure.args-delete --disable-python --disable-python-numpy 103 depends_build-append port:swig-python port:py33-cython 104 depends_lib-append port:python33 port:py33-numpy 105 } 106 107 variant python34 description {Python 3.4 bindings} conflicts python27 python26 python33 { 108 configure.args-append --enable-python --enable-python-integration --enable-python-numpy PYTHON=${prefix}/bin/python3.4 109 configure.args-delete --disable-python --disable-python-numpy 110 depends_build-append port:swig-python port:py34-cython 111 depends_lib-append port:python34 port:py34-numpy 112 112 } 113 113 114 114 variant ruby18 description {Ruby 1.8.7 bindings} conflicts ruby19 ruby20 ruby21 { … … 150 150 depends_lib-append port:lua 151 151 } 152 152 153 variant gcc44 description {Build with gfortran from GCC 4.4} conflicts gcc45 gcc46 gcc47 gcc48 {153 variant gcc44 description {Build with gfortran from GCC 4.4} conflicts gcc45 gcc46 gcc47 gcc48 gcc49 { 154 154 configure.args-replace --disable-fortran2003 --enable-fortran2003 155 155 depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc 156 156 depends_build-append port:gcc44 157 157 configure.fc ${prefix}/bin/gfortran-mp-4.4 158 158 } 159 159 160 variant gcc45 description {Build with gfortran from GCC 4.5} conflicts gcc44 gcc46 gcc47 gcc48 {160 variant gcc45 description {Build with gfortran from GCC 4.5} conflicts gcc44 gcc46 gcc47 gcc48 gcc49 { 161 161 configure.args-replace --disable-fortran2003 --enable-fortran2003 162 162 depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc 163 163 depends_build-append port:gcc45 164 164 configure.fc ${prefix}/bin/gfortran-mp-4.5 165 165 } 166 166 167 variant gcc46 description {Build with gfortran from GCC 4.6} conflicts gcc44 gcc45 gcc47 gcc48 {167 variant gcc46 description {Build with gfortran from GCC 4.6} conflicts gcc44 gcc45 gcc47 gcc48 gcc49 { 168 168 configure.args-replace --disable-fortran2003 --enable-fortran2003 169 169 depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc 170 170 depends_build-append port:gcc46 171 171 configure.fc ${prefix}/bin/gfortran-mp-4.6 172 172 } 173 173 174 variant gcc47 description {Build with gfortran from GCC 4.7} conflicts gcc44 gcc45 gcc46 gcc48 {174 variant gcc47 description {Build with gfortran from GCC 4.7} conflicts gcc44 gcc45 gcc46 gcc48 gcc49 { 175 175 configure.args-replace --disable-fortran2003 --enable-fortran2003 176 176 depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc 177 177 depends_build-append port:gcc47 178 178 configure.fc ${prefix}/bin/gfortran-mp-4.7 179 179 } 180 180 181 variant gcc48 description {Build with gfortran from GCC 4.8} conflicts gcc44 gcc45 gcc46 gcc47 {181 variant gcc48 description {Build with gfortran from GCC 4.8} conflicts gcc44 gcc45 gcc46 gcc47 gcc49 { 182 182 configure.args-replace --disable-fortran2003 --enable-fortran2003 183 183 depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc 184 184 depends_build-append port:gcc48 185 185 configure.fc ${prefix}/bin/gfortran-mp-4.8 186 186 } 187 187 188 if {![variant_isset python26] && ![variant_isset python27] && ![variant_isset python31] && ![variant_isset python32] && ![variant_isset python33]} { 188 variant gcc49 description {Build with gfortran from GCC 4.9} conflicts gcc44 gcc45 gcc46 gcc47 gcc48 { 189 configure.args-replace --disable-fortran2003 --enable-fortran2003 190 depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc 191 depends_build-append port:gcc49 192 configure.fc ${prefix}/bin/gfortran-mp-4.9 193 } 194 195 if {![variant_isset python26] && ![variant_isset python27] && ![variant_isset python33] && ![variant_isset python34]} { 189 196 default_variants +python27 190 197 } 191 198