[107013] trunk/dports/devel
ram at macports.org
ram at macports.org
Fri Jun 14 05:32:42 PDT 2013
Revision: 107013
https://trac.macports.org/changeset/107013
Author: ram at macports.org
Date: 2013-06-14 05:32:42 -0700 (Fri, 14 Jun 2013)
Log Message:
-----------
devel/globus-core: new port (#39280)
Added Paths:
-----------
trunk/dports/devel/globus-core/
trunk/dports/devel/globus-core/Portfile
trunk/dports/devel/globus-core/files/
trunk/dports/devel/globus-core/files/patch-globus-core-automake-obsolete-macro.diff
Added: trunk/dports/devel/globus-core/Portfile
===================================================================
--- trunk/dports/devel/globus-core/Portfile (rev 0)
+++ trunk/dports/devel/globus-core/Portfile 2013-06-14 12:32:42 UTC (rev 107013)
@@ -0,0 +1,94 @@
+# -*- 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$
+
+set perl_vendor_lib [ exec sh -c "eval \"\`perl -V:installvendorlib\`\" ; echo \$installvendorlib" ]
+
+if {$build_arch == "x86_64" || $build_arch == "ppc64"} {
+ set flavor gcc64pthr
+ set enable64 yes
+} else {
+ set flavor gcc32pthr
+ set enable64 no
+}
+
+PortSystem 1.0
+
+name globus-core
+set _name [ string map {"-" "_"} $name ]
+version 8.9
+set globus_version 5.2.4
+set globus_branch [join [lrange [split ${globus_version} .] 0 1] .]
+revision 0
+platforms darwin
+categories devel
+license Apache-2
+maintainers nikhef.nl:dennisvd openmaintainer
+homepage http://www.globus.org/
+
+description Globus Toolkit - Globus Core
+long_description The Globus Toolkit is an open source software \
+ toolkit used for building Grid systems and \
+ applications. It is being developed by the \
+ Globus Alliance and many others all over the \
+ world. A growing number of projects and \
+ companies are using the Globus Toolkit to \
+ unlock the potential of grids for their \
+ cause. The ${name} package contains: \
+ Globus Core
+
+master_sites http://www.globus.org/ftppub/gt5/${globus_branch}/${globus_version}/packages/src/
+
+distname ${_name}-${version}
+
+checksums sha256 75d58415fdcf344ef3c6a4c1214b29a83035bfc014f43b980607b0929998c9c0 \
+ rmp160 2ca5cdaa7e77c4467409a01cdb0d379bd15a5c7f
+
+patchfiles patch-globus-core-automake-obsolete-macro.diff
+
+patch.pre_args -p1
+
+depends_run port:p5-xml-dom \
+ port:p5-xml-parser
+
+depends_build port:grid-packaging-tools \
+ port:p5-xml-dom \
+ port:p5-xml-parser \
+ port:libtool \
+ port:autoconf \
+ port:automake
+
+configure.env-append GPT_LOCATION=${prefix} \
+ GLOBUS_LOCATION=${prefix} \
+ CPPFLAGS="-I${prefix}/include/globus"
+
+configure.post_args --includedir=${prefix}/include/globus \
+ --libexecdir='\${datadir}/globus' \
+ --with-threads=pthreads \
+ --with-flavor=${flavor} \
+ --enable-64bit=${enable64} \
+ --with-setupdir='\${datadir}/globus/setup' \
+ --with-testdir='\${datadir}/globus/test' \
+ --with-flavorincludedir='\${libdir}/globus/include' \
+ --with-perlmoduledir=${perl_vendor_lib} \
+ --with-doxygendir='\${datadir}/globus/doxygen' \
+ --with-docdir='\${datadir}/doc/${name}'
+
+build.env-append GPT_LOCATION=${prefix} \
+ GLOBUS_LOCATION=${prefix}
+
+pre-configure {
+ file delete -force ${worksrcpath}/autom4te.cache
+ reinplace "s/libtoolize/glibtoolize/g" ${worksrcpath}/bootstrap
+ system "cd ${worksrcpath} && \
+ GLOBUS_LOCATION=${prefix} GPT_LOCATION=${prefix} ./bootstrap"
+}
+
+post-destroot {
+ # These scripts are intended to be sourced, not executed
+ system "chmod 644 ${destroot}${prefix}/share/globus/globus-build-env-*.sh"
+}
+
+livecheck.type regex
+livecheck.version ${globus_version}
+livecheck.url http://www.globus.org/toolkit/downloads/latest-stable/
+livecheck.regex {Globus Toolkit (\d+(?:\.\d+)*) Download}
Property changes on: trunk/dports/devel/globus-core/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/devel/globus-core/files/patch-globus-core-automake-obsolete-macro.diff
===================================================================
--- trunk/dports/devel/globus-core/files/patch-globus-core-automake-obsolete-macro.diff (rev 0)
+++ trunk/dports/devel/globus-core/files/patch-globus-core-automake-obsolete-macro.diff 2013-06-14 12:32:42 UTC (rev 107013)
@@ -0,0 +1,11 @@
+--- globus_core-8.9.orig/configure.in 2011-12-05 21:27:20.000000000 +0100
++++ globus_core-8.9/configure.in 2013-01-18 11:50:18.742812017 +0100
+@@ -21,7 +21,7 @@
+ GPT_INIT
+ AM_INIT_AUTOMAKE($GPT_NAME, $GPT_VERSION,0)
+ AM_MAINTAINER_MODE
+-AM_CONFIG_HEADER(globus_config.h:globus_config.h.in)
++AC_CONFIG_HEADERS(globus_config.h:globus_config.h.in)
+
+ AC_ARG_WITH(
+ flavor,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130614/be14802c/attachment.html>
More information about the macports-changes
mailing list