# -*- 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 PortSystem 1.0 PortGroup compilers 1.0 name lalapps version 6.26.0 revision 1 categories science python platforms darwin maintainers nomaintainer license GPL-2+ # 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 # our scripts. license_noconflict openssl description LSC Algorithm Library Applications long_description \ LALApps is a set of codes for gravitational wave data analysis, \ against the LSC Algorithm Library. homepage https://wiki.ligo.org/Computing/DASWG/LALSuite master_sites https://software.igwn.org/lscsoft/source/lalsuite/ use_xz yes checksums rmd160 0f6f40d072e54a06c68658e0bc241d83a0a047cd \ sha256 656e9f6386ecfa639fcba81f937c756838a95f3a33439445a61262084a7ab27b \ size 11077712 set v 38 set pythonversion [string index ${v} 0].[string range ${v} 1 end] set pythonhome \ "${frameworks_dir}/Python.framework/Versions/${pythonversion}" set pythondir "${pythonhome}/lib/python${pythonversion}/site-packages" conflicts lalxml \ py${v}-lalxml \ lalstochastic \ py${v}-lalstochastic \ laldetchar \ py${v}-laldetchar depends_build port:pkgconfig # port:help2man # Choose a compiler that supports OpenMP. compiler.whitelist macports-clang-6.0 macports-clang-5.0 macports-clang-7.0 compiler.fallback macports-clang-6.0 regsub {.*-(\d)\.(\d)} ${configure.cc} {clang\1\2} clangver depends_lib port:openmpi-${clangver} \ port:gsl \ port:libomp \ port:fftw-3 \ port:fftw-3-single \ port:libframe \ port:metaio \ port:lal port:py${v}-lal \ port:lalframe port:py${v}-lalframe \ port:lalmetaio port:py${v}-lalmetaio \ port:lalsimulation port:py${v}-lalsimulation \ port:lalburst port:py${v}-lalburst \ port:lalinspiral port:py${v}-lalinspiral \ port:lalpulsar port:py${v}-lalpulsar \ port:lalinference port:py${v}-lalinference \ port:py${v}-lscsoft-glue \ port:python${v} \ port:py${v}-numpy \ port:py${v}-h5py configure.args --mandir=${prefix}/share/man \ --disable-silent-rules \ --disable-gcc-flags \ --disable-debug \ --enable-openmp \ --enable-mpi \ --disable-help2man \ PYTHON=${pythonhome}/bin/python${pythonversion} \ MPICC=mpicc-openmpi-${clangver} \ MPICXX=mpicxx-openmpi-${clangver} test.run yes test.target check destroot.args-append pythondir="${pythondir}" \ pyexecdir="${pythondir}" \ pkgpythondir="${pythondir}/${name}" \ pkgpyexecdir="${pythondir}/${name}" livecheck.type regex livecheck.url ${master_sites} livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}