1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | name xraylib |
---|
6 | version 2.14.0 |
---|
7 | revision 1 |
---|
8 | categories science |
---|
9 | platforms darwin |
---|
10 | maintainers me.com:Tom.Schoonjans |
---|
11 | description A library for X-ray matter interaction cross sections |
---|
12 | long_description xraylib provides an API with over 5O functions\ |
---|
13 | designed to provide convenient access to databases\ |
---|
14 | with cross sections (photoelectric, Compton, Rayleigh, XRF etc),\ |
---|
15 | line energies, edge energies, fluorescence yields,\ |
---|
16 | scattering factors, refractive indices, Compton profiles etc\ |
---|
17 | Bindings exist for Perl, Python, Java, Fortran, IDL and .NET |
---|
18 | |
---|
19 | homepage http://github.com/tschoonj/xraylib |
---|
20 | master_sites http://github.com/tschoonj/xraylib/downloads |
---|
21 | checksums md5 37a9281bfb8ac0dbc3e0f352eaf35479 \ |
---|
22 | sha1 6fa2add4ffedcd94003bcff648ea6e657976d56e \ |
---|
23 | rmd160 c436cd31e38628a4290c3a9af7ddd89812eccb1c |
---|
24 | configure.args --disable-idl --disable-fortran2003 --disable-perl --disable-python --disable-java |
---|
25 | |
---|
26 | #to be fixed in later versions of xraylib... |
---|
27 | use_parallel_build no |
---|
28 | |
---|
29 | variant perl description {Perl bindings} { |
---|
30 | configure.args-append --enable-perl |
---|
31 | configure.args-delete --disable-perl |
---|
32 | depends_build-append port:swig-perl |
---|
33 | } |
---|
34 | variant python description {Python bindings} { |
---|
35 | configure.args-append --enable-python |
---|
36 | configure.args-delete --disable-python |
---|
37 | depends_build-append port:swig-python |
---|
38 | } |
---|
39 | variant java description {Java bindings} { |
---|
40 | configure.args-append --enable-java |
---|
41 | configure.args-delete --disable-java |
---|
42 | depends_build-append port:swig-java |
---|
43 | } |
---|
44 | variant gcc43 description {build with gfortran from gcc43} conflicts gcc44 gcc45 g95 { |
---|
45 | configure.args-append --enable-fortran2003 |
---|
46 | configure.args-delete --disable-fortran2003 |
---|
47 | depends_lib-append port:gcc43 |
---|
48 | configure.fc ${prefix}/bin/gfortran-mp-4.3 |
---|
49 | } |
---|
50 | variant gcc44 description {build with gfortran from gcc44} conflicts gcc43 gcc45 g95 { |
---|
51 | configure.args-append --enable-fortran2003 |
---|
52 | configure.args-delete --disable-fortran2003 |
---|
53 | depends_lib-append port:gcc44 |
---|
54 | configure.fc ${prefix}/bin/gfortran-mp-4.4 |
---|
55 | } |
---|
56 | variant gcc45 description {build with gfortran from gcc45} conflicts gcc43 gcc44 g95 { |
---|
57 | configure.args-append --enable-fortran2003 |
---|
58 | configure.args-delete --disable-fortran2003 |
---|
59 | depends_lib-append port:gcc45 |
---|
60 | configure.fc ${prefix}/bin/gfortran-mp-4.5 |
---|
61 | } |
---|
62 | variant g95 description {build with g95} conflicts gcc43 gcc44 gcc45 { |
---|
63 | configure.args-append --enable-fortran2003 |
---|
64 | configure.args-delete --disable-fortran2003 |
---|
65 | depends_lib-append port:g95 |
---|
66 | configure.fc ${prefix}/bin/g95 |
---|
67 | } |
---|
68 | default_variants +python |
---|