Ticket #36219: Portfile.diff
File Portfile.diff, 4.1 KB (added by Tom.Schoonjans@…, 12 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name xraylib 7 version 2.1 5.07 version 2.16.0 8 8 categories science 9 9 platforms darwin 10 10 maintainers me.com:Tom.Schoonjans … … 16 16 sections (photoelectric, Compton, Rayleigh, XRF etc.), \ 17 17 line energies, edge energies, fluorescence yields, \ 18 18 scattering factors, refractive indices, Compton profiles \ 19 etc. Bindings exist for Perl, Python, Java, Fortran, IDL \20 and .NET.19 etc. Bindings exist for Perl, Python, Java, Fortran, IDL, \ 20 Lua and .NET. 21 21 22 22 homepage http://github.com/tschoonj/xraylib 23 23 master_sites https://github.com/tschoonj/xraylib/downloads/ 24 24 25 checksums sha1 3edabe586d8f9b2cd53cd6dab1290b3135c058b5\26 rmd160 1ea6febca23410506cc1569c069bf80e0615cbd525 checksums rmd160 3b9a0db5fe2ae285cd364478c9e8c3d76e855069 \ 26 sha256 91ccbd25338c00027d58ee13239375926a0e106d9b883d1c927e846e035e276c 27 27 28 28 configure.args --disable-idl \ 29 29 --disable-fortran2003 \ 30 30 --disable-perl \ 31 31 --disable-python \ 32 --disable-java 32 --disable-java \ 33 --disable-lua 33 34 34 35 # to be fixed in later versions of xraylib... 35 36 use_parallel_build no 37 configure.ccache no 36 38 37 39 variant perl description {Perl bindings} { 38 40 configure.args-append --enable-perl … … 41 43 } 42 44 43 45 variant python description {Python bindings} { 44 configure.args-append --enable-python 46 configure.args-append --enable-python --enable-python-integration 45 47 configure.args-delete --disable-python 46 48 depends_build-append port:swig-python 47 49 } … … 52 54 depends_build-append port:swig-java 53 55 } 54 56 55 variant gcc43 description {build with gfortran from gcc43} conflicts gcc44 gcc45 g95{56 configure.args-append --enable- fortran200357 configure.args-delete --disable- fortran200358 depends_ lib-append port:gcc4359 configure.fc ${prefix}/bin/gfortran-mp-4.357 variant lua description (Lua bindings) { 58 configure.args-append --enable-lua 59 configure.args-delete --disable-lua 60 depends_build-append port:swig-lua 61 depends_lib-append port:lua 60 62 } 61 63 62 variant gcc44 description {build with gfortran from gcc44} conflicts gcc4 3 gcc45 g95{64 variant gcc44 description {build with gfortran from gcc44} conflicts gcc45 g95 gcc46 gcc47 { 63 65 configure.args-append --enable-fortran2003 64 66 configure.args-delete --disable-fortran2003 65 67 depends_lib-append port:gcc44 66 68 configure.fc ${prefix}/bin/gfortran-mp-4.4 67 69 } 68 70 69 variant gcc45 description {build with gfortran from gcc45} conflicts gcc4 3 gcc44 g95{71 variant gcc45 description {build with gfortran from gcc45} conflicts gcc44 g95 gcc46 gcc47 { 70 72 configure.args-append --enable-fortran2003 71 73 configure.args-delete --disable-fortran2003 72 74 depends_lib-append port:gcc45 73 75 configure.fc ${prefix}/bin/gfortran-mp-4.5 74 76 } 75 77 76 variant g95 description {build with g95} conflicts gcc4 3 gcc44 gcc45{78 variant g95 description {build with g95} conflicts gcc44 gcc45 gcc46 gcc47 { 77 79 configure.args-append --enable-fortran2003 78 80 configure.args-delete --disable-fortran2003 79 81 depends_lib-append port:g95 80 82 configure.fc ${prefix}/bin/g95 81 83 } 82 84 85 variant gcc46 description {build with gfortran from gcc46} conflicts gcc44 g95 gcc45 gcc47 { 86 configure.args-append --enable-fortran2003 87 configure.args-delete --disable-fortran2003 88 depends_lib-append port:gcc46 89 configure.fc ${prefix}/bin/gfortran-mp-4.6 90 } 91 92 variant gcc47 description {build with gfortran from gcc47} conflicts gcc44 g95 gcc45 gcc46 { 93 configure.args-append --enable-fortran2003 94 configure.args-delete --disable-fortran2003 95 depends_lib-append port:gcc47 96 configure.fc ${prefix}/bin/gfortran-mp-4.7 97 } 98 83 99 default_variants +python