# $Id: Portfile 92414 2012-04-28 04:44:47Z aronnax@macports.org $

PortSystem    1.0

name          nds2-client
version       0.9.0c
categories    science
platforms     darwin
maintainers   ram aronnax

description   Network Data Server Client
long_description \
  Client tool for accessing streamed LIGO data using the Network \
  Data Server version 2.

homepage      https://www.lsc-group.phys.uwm.edu/daswg/download/software/source
master_sites  ${homepage}

checksums     rmd160 5b0274692706e4de408024f6a813f19bd4dacd70 \
              sha256 c7c598e5aaa935feb57c20c4a86f4a472116c6e145952d1f9c4797cee66e0613

depends_lib   port:cyrus-sasl2

configure.args --disable-silent-rules \
               --without-matlab \
               --without-octave \
               --with-sasl=${prefix} \
               --libdir=${prefix}/lib

use_parallel_build yes

# Developer says that the letter in the version string (0.9.0c) is an
# anomaly that will not be repeated in future releases.  Because of this, we
# temporarily disable livecheck.
#livecheck.type   regex
#livecheck.url    ${master_sites}
#livecheck.regex  {nds2-client-(\d+(?:\.\d+)*).tar.gz}
livecheck.type  none
