Ticket #36219: Portfile.diff

File Portfile.diff, 4.1 KB (added by Tom.Schoonjans@…, 12 years ago)
  • Portfile

    old new  
    44PortSystem          1.0
    55
    66name                xraylib
    7 version             2.15.0
     7version             2.16.0
    88categories          science
    99platforms           darwin
    1010maintainers         me.com:Tom.Schoonjans
     
    1616                    sections (photoelectric, Compton, Rayleigh, XRF etc.), \
    1717                    line energies, edge energies, fluorescence yields, \
    1818                    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.
    2121
    2222homepage            http://github.com/tschoonj/xraylib
    2323master_sites        https://github.com/tschoonj/xraylib/downloads/
    2424
    25 checksums           sha1   3edabe586d8f9b2cd53cd6dab1290b3135c058b5 \
    26                     rmd160 1ea6febca23410506cc1569c069bf80e0615cbd5
     25checksums           rmd160  3b9a0db5fe2ae285cd364478c9e8c3d76e855069 \
     26                    sha256 91ccbd25338c00027d58ee13239375926a0e106d9b883d1c927e846e035e276c
    2727
    2828configure.args      --disable-idl \
    2929                    --disable-fortran2003 \
    3030                    --disable-perl \
    3131                    --disable-python \
    32                     --disable-java
     32                    --disable-java \
     33                    --disable-lua
    3334
    3435# to be fixed in later versions of xraylib...
    3536use_parallel_build  no
     37configure.ccache    no
    3638
    3739variant perl description {Perl bindings} {
    3840    configure.args-append --enable-perl
     
    4143}
    4244
    4345variant python description {Python bindings} {
    44     configure.args-append --enable-python
     46    configure.args-append --enable-python --enable-python-integration
    4547    configure.args-delete --disable-python
    4648    depends_build-append port:swig-python
    4749}
     
    5254    depends_build-append port:swig-java
    5355}
    5456
    55 variant gcc43 description {build with gfortran from gcc43} conflicts gcc44 gcc45 g95 {
    56     configure.args-append --enable-fortran2003
    57     configure.args-delete --disable-fortran2003
    58     depends_lib-append port:gcc43
    59     configure.fc ${prefix}/bin/gfortran-mp-4.3
     57variant 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
    6062}
    6163
    62 variant gcc44 description {build with gfortran from gcc44} conflicts gcc43 gcc45 g95 {
     64variant gcc44 description {build with gfortran from gcc44} conflicts gcc45 g95 gcc46 gcc47 {
    6365    configure.args-append --enable-fortran2003
    6466    configure.args-delete --disable-fortran2003
    6567    depends_lib-append port:gcc44
    6668    configure.fc ${prefix}/bin/gfortran-mp-4.4
    6769}
    6870
    69 variant gcc45 description {build with gfortran from gcc45} conflicts gcc43 gcc44 g95 {
     71variant gcc45 description {build with gfortran from gcc45} conflicts gcc44 g95 gcc46 gcc47 {
    7072    configure.args-append --enable-fortran2003
    7173    configure.args-delete --disable-fortran2003
    7274    depends_lib-append port:gcc45
    7375    configure.fc ${prefix}/bin/gfortran-mp-4.5
    7476}
    7577
    76 variant g95 description {build with g95} conflicts gcc43 gcc44 gcc45 {
     78variant g95 description {build with g95} conflicts gcc44 gcc45 gcc46 gcc47 {
    7779    configure.args-append --enable-fortran2003
    7880    configure.args-delete --disable-fortran2003
    7981    depends_lib-append port:g95
    8082    configure.fc ${prefix}/bin/g95
    8183}
    8284
     85variant 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
     92variant 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
    8399default_variants    +python