# -*- 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 # $Id: Portfile 153087 2016-09-24 02:54:43Z khindenburg@macports.org $ PortSystem 1.0 PortGroup cmake 1.0 PortGroup compiler_blacklist_versions 1.0 name xrootd version 4.4.0 categories science maintainers hep.phy.cam.ac.uk:jonesc openmaintainer description generic suite for fast, low-latency and scalable data access long_description XRootD software framework is a fully generic suite for fast, \ low-latency and scalable data access. license LGPL-3+ platforms darwin homepage http://xrootd.org/ master_sites ${homepage}download/v${version} checksums rmd160 3f5f470440bcb516459a8ac8236f48f193018693 \ sha256 f066e7488390c0bc50938d23f6582fb154466204209ca92681f0aa06340e77c8 depends_lib port:python27 \ port:swig \ port:zlib default_variants +ssl +readline +kerberos cmake.out_of_source yes # not sure what exactly is required and why compiler.blacklist-append *gcc* {clang < 500} configure.args-append -DENABLE_CRYPTO=False \ -DENABLE_READLINE=False \ -DENABLE_KRB5=False \ -DENABLE_FUSE=False \ -DCMAKE_INSTALL_MANDIR="share/man" variant readline description {Build with Readline Support} { configure.args-delete -DENABLE_READLINE=False configure.args-append -DENABLE_READLINE=True -DREADLINE_ROOT_DIR="${prefix}" depends_lib-append port:readline } variant ssl description {Build with OpenSSL Support} { configure.args-delete -DENABLE_CRYPTO=False configure.args-append -DENABLE_CRYPTO=True -DOPENSSL_ROOT_DIR="${prefix}" depends_lib-append path:lib/libssl.dylib:openssl } variant kerberos description {Build with Kerberos 5 Support} { configure.args-delete -DENABLE_KRB5=False configure.args-append -DENABLE_KRB5=True -DKERBEROS5_ROOT_DIR="${prefix}" depends_lib-append port:kerberos5 } livecheck.type regex livecheck.url ${homepage} livecheck.regex {Release announcement - (\d+\.\d+\.\d+)}