# -*- 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 PortGroup cmake 1.1 PortGroup boost 1.0 name nds2-client version 0.16.7 revision 1 categories science platforms darwin license GPL-2 maintainers nomaintainer description Network Data Server Client long_description Client tool for accessing streamed LIGO data using the Network \ Data Server version 2. homepage https://wiki.ligo.org/Computing/NDSClient master_sites https://software.igwn.org/lscsoft/source/ use_bzip2 yes checksums rmd160 3c5ea66f482eade3cd5d1a49f11a193705701424 \ sha256 3d800c91aa7de328baf356d4a9e49a8eb53c0c7f5bbfa9423d2cd717a476c306 \ size 556064 depends_build-append \ path:bin/doxygen:doxygen \ path:bin/dot:graphviz \ port:pkgconfig \ boost.depends_type build if {![variant_isset sasl]} { default_variants +gssapi } compiler.cxx_standard 2011 configure.args -DPYTHON=false \ -DPYTHON_EXECUTABLE=false \ -DWITH_SASL=no \ -DWITH_GSSAPI=no \ -DCMAKE_INSTALL_SYSCONFDIR=${prefix}/etc \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_EXPORT_COMPILE_COMMANDS=1 variant sasl description "Use cyrus-sasl2 for authentication" conflicts gssapi { configure.args-replace -DWITH_SASL=no -DWITH_SASL=${prefix} depends_lib-append port:cyrus-sasl2 } variant gssapi description "Use kerberos5 gssapi for authentication" conflicts sasl { configure.args-replace -DWITH_GSSAPI=no -DWITH_GSSAPI=${prefix} depends_lib-append port:kerberos5 } test.run yes test.cmd ${prefix}/bin/ctest test.target -R '.*' livecheck.type regex livecheck.url ${master_sites} livecheck.regex {nds2-client-(\d+(?:\.\d+)*).tar.bz2}