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$ |
---|
3 | |
---|
4 | if {$build_arch == "x86_64" || $build_arch == "ppc64"} { |
---|
5 | set flavor gcc64pthr |
---|
6 | set enable64 yes |
---|
7 | } else { |
---|
8 | set flavor gcc32pthr |
---|
9 | set enable64 no |
---|
10 | } |
---|
11 | |
---|
12 | PortSystem 1.0 |
---|
13 | |
---|
14 | name globus-core |
---|
15 | set _name [ string map {"-" "_"} $name ] |
---|
16 | version 8.9 |
---|
17 | set globus_version 5.2.4 |
---|
18 | set globus_branch [join [lrange [split ${globus_version} .] 0 1] .] |
---|
19 | revision 1 |
---|
20 | platforms darwin |
---|
21 | categories devel |
---|
22 | license Apache-2 |
---|
23 | maintainers nikhef.nl:dennisvd openmaintainer |
---|
24 | homepage http://www.globus.org/ |
---|
25 | |
---|
26 | description Globus Toolkit - Globus Core |
---|
27 | long_description The Globus Toolkit is an open source software \ |
---|
28 | toolkit used for building Grid systems and \ |
---|
29 | applications. It is being developed by the \ |
---|
30 | Globus Alliance and many others all over the \ |
---|
31 | world. A growing number of projects and \ |
---|
32 | companies are using the Globus Toolkit to \ |
---|
33 | unlock the potential of grids for their \ |
---|
34 | cause. The ${name} package contains: \ |
---|
35 | Globus Core |
---|
36 | |
---|
37 | master_sites http://www.globus.org/ftppub/gt5/${globus_branch}/${globus_version}/packages/src/ |
---|
38 | |
---|
39 | distname ${_name}-${version} |
---|
40 | |
---|
41 | checksums sha256 75d58415fdcf344ef3c6a4c1214b29a83035bfc014f43b980607b0929998c9c0 \ |
---|
42 | rmp160 2ca5cdaa7e77c4467409a01cdb0d379bd15a5c7f |
---|
43 | |
---|
44 | patchfiles patch-globus-core-automake-obsolete-macro.diff \ |
---|
45 | patch-globus-core-perldir.diff |
---|
46 | |
---|
47 | patch.pre_args -p1 |
---|
48 | |
---|
49 | depends_run port:p5.12-xml-dom \ |
---|
50 | port:p5.12-xml-parser \ |
---|
51 | port:perl5.12 |
---|
52 | |
---|
53 | depends_build port:grid-packaging-tools \ |
---|
54 | port:perl5.12 \ |
---|
55 | port:p5.12-xml-dom \ |
---|
56 | port:p5.12-xml-parser \ |
---|
57 | port:libtool \ |
---|
58 | port:autoconf \ |
---|
59 | port:automake |
---|
60 | |
---|
61 | configure.env-append GPT_LOCATION=${prefix} \ |
---|
62 | GLOBUS_LOCATION=${prefix} \ |
---|
63 | CPPFLAGS="-I${prefix}/include/globus" |
---|
64 | |
---|
65 | configure.post_args --includedir=${prefix}/include/globus \ |
---|
66 | --libexecdir='\${datadir}/globus' \ |
---|
67 | --with-threads=pthreads \ |
---|
68 | --with-flavor=${flavor} \ |
---|
69 | --enable-64bit=${enable64} \ |
---|
70 | --with-setupdir='\${datadir}/globus/setup' \ |
---|
71 | --with-testdir='\${datadir}/globus/test' \ |
---|
72 | --with-flavorincludedir='\${libdir}/globus/include' \ |
---|
73 | --with-doxygendir='\${datadir}/globus/doxygen' \ |
---|
74 | --with-docdir='\${datadir}/doc/${name}' |
---|
75 | |
---|
76 | build.env-append GPT_LOCATION=${prefix} \ |
---|
77 | GLOBUS_LOCATION=${prefix} |
---|
78 | |
---|
79 | pre-configure { |
---|
80 | file delete -force ${worksrcpath}/autom4te.cache |
---|
81 | reinplace "s/libtoolize/glibtoolize/g" ${worksrcpath}/bootstrap |
---|
82 | system "cd ${worksrcpath} && \ |
---|
83 | GLOBUS_LOCATION=${prefix} GPT_LOCATION=${prefix} ./bootstrap" |
---|
84 | } |
---|
85 | |
---|
86 | post-destroot { |
---|
87 | # These scripts are intended to be sourced, not executed |
---|
88 | system "chmod 644 ${destroot}${prefix}/share/globus/globus-build-env-*.sh" |
---|
89 | } |
---|
90 | |
---|
91 | livecheck.type regex |
---|
92 | livecheck.version ${globus_version} |
---|
93 | livecheck.url http://www.globus.org/toolkit/downloads/latest-stable/ |
---|
94 | livecheck.regex {Globus Toolkit (\d+(?:\.\d+)*) Download} |
---|