Ticket #45369: Portfile.diff

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

    old new  
    55PortGroup           github 1.0
    66
    77name                xraylib
    8 version             3.0.0
    9 revision            1
     8version             3.1.0
    109categories          science
    1110platforms           darwin
    1211license             BSD
     
    2524master_sites        http://lvserver.ugent.be/xraylib/ \
    2625                    http://xraylib.s3.amazonaws.com/
    2726
    28 checksums           rmd160  6c8c82c0afe3664adcd044a4371229a76bad5bf9 \
    29                     sha256  0cc506e15f2f3563384dcb97cb4f9399b13d90f074b54c8d25cd59b7804d8636
     27checksums           rmd160  17b96096244b9033f45bb3b630b3cc505a67c99b \
     28                    sha256  61a7c7fd0a911562151422bc6ca77df8beba37ec4e337765cf60dfbe1e04a1e3
    3029
    3130configure.args      --disable-idl \
    3231                    --disable-fortran2003 \
     
    3433                    --disable-python \
    3534                    --disable-java \
    3635                    --disable-lua \
    37                     --disable-ruby
     36                    --disable-ruby \
     37                    --disable-python-numpy
    3838
    3939# to be fixed in later versions of xraylib...
    4040use_parallel_build  no
    4141configure.ccache    no
    4242
    4343
    44 variant perl5_10 description {Perl 5.10 bindings} conflicts perl5_12 perl5_14 perl5_16 perl5_18 {
     44variant perl5_10 description {Perl 5.10 bindings} conflicts perl5_12 perl5_14 perl5_16 perl5_18 perl5_20 {
    4545    configure.args-append --enable-perl --enable-perl-integration PERL=${prefix}/bin/perl5.10
    4646    configure.args-delete --disable-perl
    4747    depends_build-append port:swig-perl
    4848    depends_lib-append port:perl5.10
    4949}
    5050
    51 variant perl5_12 description {Perl 5.12 bindings} conflicts perl5_10 perl5_14 perl5_16 perl5_18 {
     51variant perl5_12 description {Perl 5.12 bindings} conflicts perl5_10 perl5_14 perl5_16 perl5_18 perl5_20 {
    5252    configure.args-append --enable-perl --enable-perl-integration PERL=${prefix}/bin/perl5.12
    5353    configure.args-delete --disable-perl
    5454    depends_build-append port:swig-perl
    5555    depends_lib-append port:perl5.12
    5656}
    5757
    58 variant perl5_14 description {Perl 5.14 bindings} conflicts perl5_10 perl5_12 perl5_16 perl5_18 {
     58variant perl5_14 description {Perl 5.14 bindings} conflicts perl5_10 perl5_12 perl5_16 perl5_18 perl5_20 {
    5959    configure.args-append --enable-perl --enable-perl-integration PERL=${prefix}/bin/perl5.14
    6060    configure.args-delete --disable-perl
    6161    depends_build-append port:swig-perl
    6262    depends_lib-append port:perl5.14
    6363}
    6464
    65 variant perl5_16 description {Perl 5.16 bindings} conflicts perl5_10 perl5_12 perl5_14 perl5_18 {
     65variant perl5_16 description {Perl 5.16 bindings} conflicts perl5_10 perl5_12 perl5_14 perl5_18 perl5_20 {
    6666    configure.args-append --enable-perl --enable-perl-integration PERL=${prefix}/bin/perl5.16
    6767    configure.args-delete --disable-perl
    6868    depends_build-append port:swig-perl
    6969    depends_lib-append port:perl5.16
    7070}
    7171
    72 variant perl5_18 description {Perl 5.18 bindings} conflicts perl5_10 perl5_12 perl5_14 perl5_16 {
     72variant perl5_18 description {Perl 5.18 bindings} conflicts perl5_10 perl5_12 perl5_14 perl5_16 perl5_20 {
    7373    configure.args-append --enable-perl --enable-perl-integration PERL=${prefix}/bin/perl5.18
    7474    configure.args-delete --disable-perl
    7575    depends_build-append port:swig-perl
    7676    depends_lib-append port:perl5.18
    7777}
    7878
    79 variant python26 description {Python 2.6 bindings} conflicts python27 python31 python32 python33 {
    80     configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python2.6
    81     configure.args-delete --disable-python
    82     depends_build-append port:swig-python
    83     depends_lib-append port:python26
    84 }
    85 
    86 variant python27 description {Python 2.7 bindings} conflicts python26 python31 python32 python33 {
    87     configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python2.7
    88     configure.args-delete --disable-python
    89     depends_build-append port:swig-python
    90     depends_lib-append port:python27
    91 }
    92 
    93 variant python31 description {Python 3.1 bindings} conflicts python27 python26 python32 python33 {
    94     configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python3.1
    95     configure.args-delete --disable-python
    96     depends_build-append port:swig-python
    97     depends_lib-append port:python31
    98 }
    99 
    100 variant python32 description {Python 3.2 bindings} conflicts python27 python31 python26 python33 {
    101     configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python3.2
    102     configure.args-delete --disable-python
    103     depends_build-append port:swig-python
    104     depends_lib-append port:python32
    105 }
    106 
    107 variant python33 description {Python 3.3 bindings} conflicts python27 python31 python26 python32 {
    108     configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python3.3
    109     configure.args-delete --disable-python
    110     depends_build-append port:swig-python
    111     depends_lib-append port:python33
     79variant 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
     86variant 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
     93variant 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
     100variant 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
     107variant 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
    112112}
    113113
    114114variant ruby18 description {Ruby 1.8.7 bindings} conflicts ruby19 ruby20 ruby21 {
     
    150150    depends_lib-append port:lua
    151151}
    152152
    153 variant gcc44 description {Build with gfortran from GCC 4.4} conflicts gcc45 gcc46 gcc47 gcc48 {
     153variant gcc44 description {Build with gfortran from GCC 4.4} conflicts gcc45 gcc46 gcc47 gcc48 gcc49 {
    154154    configure.args-replace --disable-fortran2003 --enable-fortran2003
    155155    depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc
    156156    depends_build-append port:gcc44
    157157    configure.fc ${prefix}/bin/gfortran-mp-4.4
    158158}
    159159
    160 variant gcc45 description {Build with gfortran from GCC 4.5} conflicts gcc44 gcc46 gcc47 gcc48 {
     160variant gcc45 description {Build with gfortran from GCC 4.5} conflicts gcc44 gcc46 gcc47 gcc48 gcc49 {
    161161    configure.args-replace --disable-fortran2003 --enable-fortran2003
    162162    depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc
    163163    depends_build-append port:gcc45
    164164    configure.fc ${prefix}/bin/gfortran-mp-4.5
    165165}
    166166
    167 variant gcc46 description {Build with gfortran from GCC 4.6} conflicts gcc44 gcc45 gcc47 gcc48 {
     167variant gcc46 description {Build with gfortran from GCC 4.6} conflicts gcc44 gcc45 gcc47 gcc48 gcc49 {
    168168    configure.args-replace --disable-fortran2003 --enable-fortran2003
    169169    depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc
    170170    depends_build-append port:gcc46
    171171    configure.fc ${prefix}/bin/gfortran-mp-4.6
    172172}
    173173
    174 variant gcc47 description {Build with gfortran from GCC 4.7} conflicts gcc44 gcc45 gcc46 gcc48 {
     174variant gcc47 description {Build with gfortran from GCC 4.7} conflicts gcc44 gcc45 gcc46 gcc48 gcc49 {
    175175    configure.args-replace --disable-fortran2003 --enable-fortran2003
    176176    depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc
    177177    depends_build-append port:gcc47
    178178    configure.fc ${prefix}/bin/gfortran-mp-4.7
    179179}
    180180
    181 variant gcc48 description {Build with gfortran from GCC 4.8} conflicts gcc44 gcc45 gcc46 gcc47 {
     181variant gcc48 description {Build with gfortran from GCC 4.8} conflicts gcc44 gcc45 gcc46 gcc47 gcc49 {
    182182    configure.args-replace --disable-fortran2003 --enable-fortran2003
    183183    depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc
    184184    depends_build-append port:gcc48
    185185    configure.fc ${prefix}/bin/gfortran-mp-4.8
    186186}
    187187
    188 if {![variant_isset python26] && ![variant_isset python27] && ![variant_isset python31] && ![variant_isset python32] && ![variant_isset python33]} {
     188variant 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
     195if {![variant_isset python26] && ![variant_isset python27] &&  ![variant_isset python33] && ![variant_isset python34]} {
    189196    default_variants    +python27
    190197}
    191198