[103901] trunk/dports/science

ryandesign at macports.org ryandesign at macports.org
Sat Mar 9 15:31:14 PST 2013


Revision: 103901
          https://trac.macports.org/changeset/103901
Author:   ryandesign at macports.org
Date:     2013-03-09 15:31:14 -0800 (Sat, 09 Mar 2013)
Log Message:
-----------
xrootd: new port, version 3.2.7 (#38343)

Added Paths:
-----------
    trunk/dports/science/xrootd/
    trunk/dports/science/xrootd/Portfile
    trunk/dports/science/xrootd/files/
    trunk/dports/science/xrootd/files/patch-cmake-XRootDOSDefs.cmake.diff

Added: trunk/dports/science/xrootd/Portfile
===================================================================
--- trunk/dports/science/xrootd/Portfile	                        (rev 0)
+++ trunk/dports/science/xrootd/Portfile	2013-03-09 23:31:14 UTC (rev 103901)
@@ -0,0 +1,71 @@
+# -*- 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$
+
+PortSystem          1.0
+PortGroup           cmake 1.0
+
+name                xrootd
+version             3.2.7
+revision            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.slac.stanford.edu/
+master_sites        ${homepage}download/v${version}
+
+checksums           rmd160  014556e1701753e6d21989b6b90a627d77383968 \
+                    sha256  dc8c4d819cd0eac3960dd6478821a9cb5d26089518b44230d8e325c1b6c29d7e
+
+depends_lib         port:zlib port:libevent port:swig
+
+default_variants    +ssl +readline
+
+patchfiles          patch-cmake-XRootDOSDefs.cmake.diff
+
+# do a out of place build
+pre-configure {
+    file mkdir ${workpath}/build
+}
+configure.dir       ${workpath}/build
+configure.post_args ${worksrcpath}
+build.dir           ${workpath}/build
+
+configure.args-append -DENABLE_CRYPTO=False \
+                      -DENABLE_READLINE=False \
+                      -DENABLE_KRB5=False \
+                      -DENABLE_PERL=False
+
+variant perl description {Build with Perl Support} {
+    configure.args-delete   -DENABLE_PERL=False
+    configure.args-append   -DENABLE_PERL=True
+
+    depends_lib-append      port:perl5
+    depends_build-append    port:swig-perl
+}
+
+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      port: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
+}


Property changes on: trunk/dports/science/xrootd/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/science/xrootd/files/patch-cmake-XRootDOSDefs.cmake.diff
===================================================================
--- trunk/dports/science/xrootd/files/patch-cmake-XRootDOSDefs.cmake.diff	                        (rev 0)
+++ trunk/dports/science/xrootd/files/patch-cmake-XRootDOSDefs.cmake.diff	2013-03-09 23:31:14 UTC (rev 103901)
@@ -0,0 +1,11 @@
+--- cmake/XRootDOSDefs.cmake.orig	2013-03-09 22:33:45.000000000 +0000
++++ cmake/XRootDOSDefs.cmake	2013-03-09 22:34:17.000000000 +0000
+@@ -30,7 +30,7 @@
+   add_definitions( -DLT_MODULE_EXT=".dylib" )
+   set( CMAKE_INSTALL_LIBDIR "lib" )
+   set( CMAKE_INSTALL_BINDIR "bin" )
+-  set( CMAKE_INSTALL_MANDIR "man" )
++  set( CMAKE_INSTALL_MANDIR "share/man" )
+   set( CMAKE_INSTALL_INCLUDEDIR "include" )
+   set( CMAKE_INSTALL_DATADIR "share" )
+ endif()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130309/e4896628/attachment.html>


More information about the macports-changes mailing list