# -*- 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

name          ldas-tools-utilities
version       2.5.1
categories    science
maintainers   nomaintainer

description   Utilities built upon various ldas-tools components.
long_description {*}${description}

homepage      https://wiki.ligo.org/DASWG/LDASTools
master_sites  https://software.igwn.org/lscsoft/source/

checksums     rmd160 e81be56d8d8e079ded4547f0dbe6bafe1cecac93 \
              sha256 cd19fcb17927173133d81777aa598c928f2854c998e82653fbc4922e72df771d

depends_build  port:pkgconfig
depends_lib    port:ldas-tools-frameAPI \
               port:ldas-tools-diskcacheAPI

configure.args --disable-warnings-as-errors \
               --disable-silent-rules \
               --with-optimization=high \
               --disable-tcl \
               --disable-python \
               --without-doxygen \
               --without-dot \
               --disable-latex

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

use_parallel_build yes

livecheck.type   regex
livecheck.url    ${master_sites}
livecheck.regex  {ldas-tools-utilities-(\d+(?:\.\d+)*).tar.gz}
