# $Id$ PortSystem 1.0 PortGroup active_variants 1.1 name lalinference version 1.5.0 categories science platforms darwin maintainers ram aronnax license GPL-2+ description LSC Algorithm Library - Inference long_description \ LIGO Scientific Collaboration Algorithm Library - Inference containing \ routines for Bayesian inference data analysis. homepage https://www.lsc-group.phys.uwm.edu/daswg/projects/lalsuite.html master_sites http://software.ligo.org/lscsoft/source/lalsuite checksums rmd160 2bc151b46cd3e50514fc2c66f5e94baaa3f0114b \ sha256 b597d882375012078021f7964d0d0611ddeb95b7118eb34aaf37ea14b36e930a depends_build-append port:pkgconfig \ port:python27 depends_run port:py27-healpy depends_lib port:gsl \ port:metaio \ port:libxml2 \ port:lal \ port:lalframe \ port:lalmetaio \ port:lalxml \ port:lalsimulation \ port:lalinspiral \ port:lalpulsar \ port:healpix-c \ port:ligo-lvalert configure.python ${prefix}/bin/python2.7 configure.args --mandir=${prefix}/share/man \ --disable-silent-rules \ --disable-gcc-flags \ --disable-debug use_parallel_build yes set pythondir "${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages" destroot.args-append \ pythondir="${pythondir}" \ pyexecdir="${pythondir}" \ pkgpythondir="${pythondir}/${name}" \ pkgpyexecdir="${pythondir}/${name}" pre-activate { # lalinference now contains files that used to be provided by lalapps if {![catch {set installed [lindex [registry_active lalapps] 0]}]} { set _version [lindex $installed 1] if {[vercmp $_version 6.14.0] < 0} { # lalpps used to install some files now provided by lalinference in versions < 6.14.0 registry_deactivate_composite lalapps "" [list ports_nodepcheck 1] } } } # lalxml is currently enabled by default but may change in the future #variant lalxml description {Build with LALXML support} { # require_active_variants lalpulsar lalxml # depends_lib-append port:libxml2 \ # port:lalxml # configure.args-append --enable-lalxml #} variant swig_python description {Build python SWIG bindings} { require_active_variants lal swig_python require_active_variants lalframe swig_python require_active_variants lalmetaio swig_python require_active_variants lalsimulation swig_python require_active_variants lalinspiral swig_python require_active_variants lalpulsar swig_python depends_build-append port:swig-python depends_lib-append port:py27-numpy configure.args-append --enable-swig-python } default_variants +swig_python livecheck.type regex livecheck.url ${master_sites} livecheck.regex {lalinference-(\d+(?:\.\d+)*).tar.gz}