# -*- 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 LDAS Tools Abstraction library
long_description ${description}
homepage https://wiki.ligo.org/DASWG/LDASTools
master_sites http://software.ligo.org/lscsoft/source/
checksums rmd160 182f0fc8715508fa44e3564f3b3bbed008d78bfe \
sha256 72fcc57378b45f96ecb573656e36e4ac45b52b847811c83c872dce1ea0f0fb8d
depends_build port:pkgconfig
depends_lib path:lib/libssl.dylib:openssl \
configure.args PYTHON=false \
--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"
# ldas-tools-al now contains files that used to be provided by ldas-tools
if {![catch {set installed [lindex [registry_active ldas-tools] 0]}]} {
set _version [lindex $installed 1]
if {[vercmp $_version 2.5.0] < 0} {
# ldas-tools used to install some files now provided by ldas-tools in versions < 2.5.0
registry_deactivate_composite ldas-tools "" [list ports_nodepcheck 1]