# $Id$ PortSystem 1.0 PortGroup compiler_blacklist_versions 1.0 name ldas-tools-ldasgen version 2.5.0 categories science platforms darwin maintainers ligo.org:ed.maros 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/ checksums rmd160 96d30566e32cb0db1f0a2d2f7b88060533950793 \ sha256 2eedeea1be81c4fec29c501da3c18db52bb930663bd923b5735c5e64c720eb1d depends_lib port:ldas-tools-al configure.args --disable-silent-rules \ --with-optimization=high \ --disable-tcl \ --disable-python \ --without-doxygen \ --without-dot \ --disable-latex if {${os.major} < 13} { 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 use_parallel_build yes #variant docs description {build documentation} { # configure.args-delete --disable-latex \ # --disable-dot \ # --disable-ldas-documentation \ # configure.args-append --docdir=${prefix}/share/doc/ldas-tools #} #------------------------------------------------------------------------ # Python variants #------------------------------------------------------------------------ set pythons_suffixes {27 34} set pythons_ports {} foreach s ${pythons_suffixes} { lappend pythons_ports python${s} } foreach s ${pythons_suffixes} { set p python${s} set v [string index ${s} 0].[string index ${s} 1] set i [lsearch -exact ${pythons_ports} ${p}] set c [lreplace ${pythons_ports} ${i} ${i}] set d ${frameworks_dir}/Python.framework/Versions/${v}/lib/python${v} eval [subst { variant ${p} description "Enable SWIG Python interface for Python ${v}" conflicts ${c} { depends_build-append port:swig-python depends_lib-append port:${p} port:py${s}-numpy configure.args-strsed s/--disable-python/--enable-python/ destroot.args-append pythondir="${d}" pyexecdir="${d}" } }] } livecheck.type regex livecheck.url ${master_sites} livecheck.regex {ldas-tools-filters-(\d+(?:\.\d+)*).tar.gz}