source: trunk/dports/science/xrootd/Portfile

Last change on this file was 153087, checked in by khindenburg@…, 12 months ago

xrootd: update to 4.4.0 maintainer #52330

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- 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
2# $Id: Portfile 153087 2016-09-24 02:54:43Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6PortGroup           compiler_blacklist_versions 1.0
7
8name                xrootd
9version             4.4.0
10
11categories          science
12maintainers         hep.phy.cam.ac.uk:jonesc openmaintainer
13
14description         generic suite for fast, low-latency and scalable data access
15
16long_description    XRootD software framework is a fully generic suite for fast, \
17                    low-latency and scalable data access.
18
19license             LGPL-3+
20platforms           darwin
21
22homepage            http://xrootd.org/
23master_sites        ${homepage}download/v${version}
24
25checksums           rmd160  3f5f470440bcb516459a8ac8236f48f193018693 \
26                    sha256  f066e7488390c0bc50938d23f6582fb154466204209ca92681f0aa06340e77c8
27
28depends_lib         port:python27 \
29                    port:swig \
30                    port:zlib
31
32default_variants    +ssl +readline +kerberos
33
34cmake.out_of_source yes
35
36# not sure what exactly is required and why
37compiler.blacklist-append *gcc* {clang < 500}
38
39configure.args-append -DENABLE_CRYPTO=False \
40                      -DENABLE_READLINE=False \
41                      -DENABLE_KRB5=False \
42                      -DENABLE_FUSE=False \
43                      -DCMAKE_INSTALL_MANDIR="share/man"
44
45variant readline description {Build with Readline Support} {
46    configure.args-delete   -DENABLE_READLINE=False
47    configure.args-append   -DENABLE_READLINE=True -DREADLINE_ROOT_DIR="${prefix}"
48    depends_lib-append      port:readline
49}
50
51variant ssl description {Build with OpenSSL Support} {
52    configure.args-delete   -DENABLE_CRYPTO=False
53    configure.args-append   -DENABLE_CRYPTO=True -DOPENSSL_ROOT_DIR="${prefix}"
54    depends_lib-append      path:lib/libssl.dylib:openssl
55}
56
57variant kerberos description {Build with Kerberos 5 Support} {
58    configure.args-delete   -DENABLE_KRB5=False
59    configure.args-append   -DENABLE_KRB5=True -DKERBEROS5_ROOT_DIR="${prefix}"
60    depends_lib-append      port:kerberos5
61}
62
63livecheck.type      regex
64livecheck.url       ${homepage}
65livecheck.regex     {Release announcement - (\d+\.\d+\.\d+)}
Note: See TracBrowser for help on using the repository browser.