source: trunk/dports/science/xrootd/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                xrootd
8version             3.3.6
9revision            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  0ba0cb959a713be2e8eb3a1ad9a8d41b72ea0033 \
26                    sha256  06656d919f5296bcf49953e97b1f3d1cf601c9a1d676945529032fa0046d7217
27
28depends_lib         port:zlib port:libevent port:swig
29
30default_variants    +ssl +readline
31
32patchfiles          patch-cmake-XRootDOSDefs.cmake.diff
33
34# do a out of place build
35pre-configure {
36    file mkdir ${workpath}/build
37}
38configure.dir       ${workpath}/build
39configure.post_args ${worksrcpath}
40build.dir           ${workpath}/build
41
42configure.args-append -DENABLE_CRYPTO=False \
43                      -DENABLE_READLINE=False \
44                      -DENABLE_KRB5=False \
45                      -DENABLE_PERL=False
46
47variant perl description {Build with Perl Support} {
48    configure.args-delete   -DENABLE_PERL=False
49    configure.args-append   -DENABLE_PERL=True
50
51    depends_lib-append      port:perl5
52    depends_build-append    port:swig-perl
53}
54
55variant readline description {Build with Readline Support} {
56    configure.args-delete   -DENABLE_READLINE=False
57    configure.args-append   -DENABLE_READLINE=True -DREADLINE_ROOT_DIR="${prefix}"
58    depends_lib-append      port:readline
59}
60
61variant ssl description {Build with OpenSSL Support} {
62    configure.args-delete   -DENABLE_CRYPTO=False
63    configure.args-append   -DENABLE_CRYPTO=True -DOPENSSL_ROOT_DIR="${prefix}"
64    depends_lib-append      path:lib/libssl.dylib:openssl
65}
66
67variant kerberos description {Build with Kerberos 5 Support} {
68    configure.args-delete   -DENABLE_KRB5=False
69    configure.args-append   -DENABLE_KRB5=True -DKERBEROS5_ROOT_DIR="${prefix}"
70    depends_lib-append      port:kerberos5
71}
Note: See TracBrowser for help on using the repository browser.