# -*- 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
categories science python
maintainers {ram @skymoo} {aronnax @lpsinger}
# The GPL and OpenSSL licenses conflict with each other, and our build
# dependency on Python results in an indirect dependency on OpenSSL.
# However, there is no real conflict in the case of LALSuite because Python
# is used (1) as an interpreter to run part of the build and (2) as a
# separately installed interpreter that is invoked when the user runs some of
license_noconflict openssl
description LSC Algorithm Library Applications
LALApps is a set of codes for gravitational wave data analysis, \
against the LSC Algorithm Library.
homepage https://wiki.ligo.org/DASWG/LALSuite
master_sites http://software.ligo.org/lscsoft/source/lalsuite/
checksums rmd160 6f6f445f3501871dbdf3beb2250fd1e50eaa26b9 \
sha256 2b997406b7bca358295e6d060919346fd5281ec0217a357c91849012bc2c9973
set pythonversion [string range ${v} 0 end-1].[string index ${v} end]
"${frameworks_dir}/Python.framework/Versions/${pythonversion}"
set pythondir "${pythonhome}/lib/python${pythonversion}/site-packages"
depends_build port:pkgconfig
# Choose a compiler that supports OpenMP.
compiler.whitelist macports-clang-3.9 macports-clang-3.8 macports-clang-3.7 macports-clang-4.0
compiler.fallback macports-clang-3.9
regsub {.*-(\d)\.(\d)} ${configure.cc} {clang\1\2} clangver
depends_lib port:openmpi-${clangver} \
port:lalframe port:py27-lalframe \
port:lalmetaio port:py27-lalmetaio \
port:lalxml port:py27-lalxml \
port:lalsimulation port:py27-lalsimulation \
port:lalburst port:py27-lalburst \
port:lalinspiral port:py27-lalinspiral \