# -*- 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
PortGroup compiler_blacklist_versions 1.0
maintainers {ligo.org:ed.maros @emaros}
description Suite of LDAS tools
long_description ${description}
homepage https://wiki.ligo.org/DASWG/LDASTools
master_sites http://software.ligo.org/lscsoft/source/
checksums rmd160 575d7c502f5f9555538da2b8c832f04af59ffda2 \
sha256 4a0dd81baa9df2cd2d1691a4101ac4bf9a81dcbbd2d6f30e33a2c8ec0a7fe138
depends_build port:pkgconfig
depends_lib port:ldas-tools-al \
path:lib/libssl.dylib:openssl \
configure.args --disable-warnings-as-errors \
--with-optimization=high \
if {${configure.cxx_stdlib} eq "libstdc++" } {
configure.args-append --disable-cxx11
# requires clang from Xcode5 or higher to build
compiler.blacklist-append {clang < 500.2.75} llvm-gcc-4.2 gcc-4.2
if {${os.platform} eq "darwin" && ${os.major} < 11} {
ui_error "${name} only runs on Mac OS X 10.7 or greater."
return -code error "incompatible Mac OS X version"
#------------------------------------------------------------------------
livecheck.url ${master_sites}
livecheck.regex {ldas-tools-framecpp-(\d+(?:\.\d+)*).tar.gz}
#========================================================================
# Create subports for each supported Python version
#========================================================================
set python.branch [string range ${python.version} 0 end-1].[string index ${python.version} end]