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 | |
---|
3 | # $Id$ |
---|
4 | |
---|
5 | set perl_vendor_lib [ exec sh -c "eval \"\`perl -V:installvendorlib\`\" ; echo \$installvendorlib" ] |
---|
6 | |
---|
7 | PortSystem 1.0 |
---|
8 | |
---|
9 | name grid-packaging-tools |
---|
10 | version 3.6.3 |
---|
11 | set globus_version 5.2.4 |
---|
12 | set globus_branch [join [lrange [split ${globus_version} .] 0 1] .] |
---|
13 | revision 1 |
---|
14 | platforms darwin |
---|
15 | categories devel |
---|
16 | license NCSA |
---|
17 | maintainers nikhef.nl:dennisvd openmaintainer |
---|
18 | homepage http://www.gridpackagingtools.com/ |
---|
19 | |
---|
20 | description Grid Packaging Tools (GPT) |
---|
21 | long_description GPT is a collection of packaging tools built \ |
---|
22 | around an XML based packaging data format. \ |
---|
23 | This format provides a straight forward way to \ |
---|
24 | define complex dependency and compatibility \ |
---|
25 | relationships between packages. The tools \ |
---|
26 | provide a means for developers to easily \ |
---|
27 | define the packaging data and include it as \ |
---|
28 | part of their source code distribution. \ |
---|
29 | Binary packages can be automatically generated \ |
---|
30 | from this data. The packages defined by GPT \ |
---|
31 | are compatible with other packages and can be \ |
---|
32 | easily converted. |
---|
33 | |
---|
34 | depends_lib port:perl5 |
---|
35 | |
---|
36 | depends_run port:p5-archive-tar |
---|
37 | |
---|
38 | master_sites http://www.globus.org/ftppub/gt5/${globus_branch}/${globus_version}/packages/src/ |
---|
39 | |
---|
40 | distname gpt-${version} |
---|
41 | |
---|
42 | checksums sha256 9aa59106de539476ab0c8d8c119f168e877a696c48737e5583b3fb561068a4e8 \ |
---|
43 | rmd160 a4d7d12318ad990b576ac018f6fc903615ddd38e |
---|
44 | |
---|
45 | use_autoreconf yes |
---|
46 | |
---|
47 | configure.post_args --with-perlmoduledir=${perl_vendor_lib} \ |
---|
48 | --libexecdir='\${datadir}/globus' \ |
---|
49 | --disable-compat --with-newgpt |
---|
50 | |
---|
51 | destroot.target-append install-man |
---|
52 | |
---|
53 | post-destroot { |
---|
54 | # Install documentation |
---|
55 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
---|
56 | xinstall -m 644 ${worksrcpath}/CHANGES \ |
---|
57 | ${worksrcpath}/LICENSE ${worksrcpath}/README \ |
---|
58 | ${destroot}${prefix}/share/doc/${name} |
---|
59 | } |
---|
60 | |
---|
61 | livecheck.type regex |
---|
62 | livecheck.version ${globus_version} |
---|
63 | livecheck.url http://www.globus.org/toolkit/downloads/latest-stable/ |
---|
64 | livecheck.regex {Globus Toolkit (\d+(?:\.\d+)*) Download} |
---|