# $Id: Portfile 107197 2013-06-21 06:16:08Z ram@macports.org $

PortSystem    1.0

name          ldas-tools
version       1.19.29
categories    science
platforms     darwin
maintainers   ram

description   Suite of LDAS tools
long_description ${description}

homepage      http://www.ldas-sw.ligo.caltech.edu
master_sites  http://www.ldas-sw.ligo.caltech.edu/packages

checksums     rmd160 3c7570cff5dd400feb4e2912d254ff87c00b4ee8 \
              sha256 582c47ada2b47c60129268352f7f17d6884d06ae9508e36aca17a9c5079eaec9

configure.args --disable-silent-rules \
               --disable-auto-ldcg-inclusion \
               --without-ospace \
               --without-stlport \
               --with-optimization=high \
               --enable-inlining \
               --without-obdc \
               --disable-metadata-api \
               --disable-tcl \
               --disable-python \
               --without-doxygen \
               --without-dot \
               --disable-perl \
               --disable-latex \
               --disable-ldas-documentation

depends_lib    port:openssl \
               port:zlib \
               port:bzip2 \
               port:flex

use_parallel_build no

#variant docs description {build documentation} {
#  configure.args-delete --disable-latex \
#                        --disable-ldas-documentation
#  configure.args-append --docdir=${prefix}/share/doc/ldas-tools
#}

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