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 | PortSystem 1.0 |
---|
5 | |
---|
6 | name geode-devel |
---|
7 | version 1.0.0-incubating.M2 |
---|
8 | |
---|
9 | categories databases |
---|
10 | license Apache-2 |
---|
11 | maintainers pivotal.io:kduling geode.incubator.apache.org:dev |
---|
12 | platforms darwin |
---|
13 | supported_archs noarch |
---|
14 | |
---|
15 | description In-memory Data Grid for fast transactional data processing |
---|
16 | long_description \ |
---|
17 | Apache Geode (incubating) is a data management platform that provides \ |
---|
18 | real-time, consistent access to data-intensive applications throughout \ |
---|
19 | widely distributed cloud architectures. |
---|
20 | |
---|
21 | homepage https://geode.apache.org/ |
---|
22 | |
---|
23 | master_sites apache:incubator/${name}/${version} |
---|
24 | distname apache-${name}-${version} |
---|
25 | worksrcdir ${distname} |
---|
26 | |
---|
27 | checksums rmd160 bd160a3edd781b8da13b40d15e0fcf97cf4b95be \ |
---|
28 | sha256 8447912c6d893008dd03917722d01abff4853861ce3f34c2bc95b60c51675cea |
---|
29 | |
---|
30 | use_configure no |
---|
31 | |
---|
32 | # By default, use the binary |
---|
33 | build { |
---|
34 | } |
---|
35 | |
---|
36 | destroot { |
---|
37 | set geodedir ${destroot}${prefix}/share/java/${name} |
---|
38 | |
---|
39 | # Create the target java directory |
---|
40 | xinstall -m 755 -d ${geodedir} |
---|
41 | |
---|
42 | # Copy over the needed elements of our directory tree |
---|
43 | file copy \ |
---|
44 | ${worksrcpath}/bin \ |
---|
45 | ${worksrcpath}/config \ |
---|
46 | ${worksrcpath}/javadoc \ |
---|
47 | ${worksrcpath}/lib \ |
---|
48 | ${worksrcpath}/tools \ |
---|
49 | ${geodedir} |
---|
50 | |
---|
51 | # Reduce the permissions on the distribution files. |
---|
52 | file attributes ${geodedir}/config -permissions 0755 |
---|
53 | foreach f [glob -directory ${geodedir}/config *.xml] { |
---|
54 | file attributes $f -permissions 0644 |
---|
55 | } |
---|
56 | foreach f [glob -directory ${geodedir}/lib *.jar] { |
---|
57 | file attributes $f -permissions 0644 |
---|
58 | } |
---|
59 | |
---|
60 | # Symlink gfsh into the bin directory |
---|
61 | ln -s ../share/java/${name}/bin/gfsh ${destroot}${prefix}/bin/gfsh |
---|
62 | } |
---|
63 | |
---|
64 | notes \ |
---|
65 | "Please refer to http://geode.incubator.apache.org/docs/" |
---|
66 | |
---|
67 | livecheck.type regex |
---|
68 | livecheck.url ${homepage}docs/history.html |
---|
69 | livecheck.regex >(3\\.\[0-9.\]+\\.\[0-9.\]+)</ |
---|