# -*- 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 Filters library used by ldas-tools
long_description ${description}
homepage https://wiki.ligo.org/DASWG/LDASTools
master_sites http://software.ligo.org/lscsoft/source/
patchfiles patch-config-autotools-make-python.mk.diff \
patch-swig-common-include-fix.diff \
patch-src-Makefile.in.diff
checksums rmd160 d8ca30fc0d10b05015591a87951ee7e0333218e0 \
sha256 c7d58952e213a024dd6ac33dd907862b2c96baa7a4fb2ac4bb47ceef6bc45d50
depends_build port:pkgconfig
depends_lib port:ldas-tools-ldasgen \
port:ldas-tools-filters \
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-frameAPI-(\d+(?:\.\d+)*).tar.gz}
#========================================================================
# Create subports for each supported Python version