# -*- 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 name geode-devel version 1.0.0-incubating.M2 categories databases license Apache-2 maintainers pivotal.io:kduling geode.incubator.apache.org:dev platforms darwin supported_archs noarch description In-memory Data Grid for fast transactional data processing long_description \ Apache Geode (incubating) is a data management platform that provides \ real-time, consistent access to data-intensive applications throughout \ widely distributed cloud architectures. homepage https://geode.apache.org/ master_sites apache:incubator/geode/${version} distname apache-geode-${version} worksrcdir ${distname} checksums rmd160 bd160a3edd781b8da13b40d15e0fcf97cf4b95be \ sha256 8447912c6d893008dd03917722d01abff4853861ce3f34c2bc95b60c51675cea use_configure no # By default, use the binary build { } destroot { set geodedir ${destroot}${prefix}/share/java/${name} # Create the target java directory xinstall -m 755 -d ${geodedir} # Copy over the needed elements of our directory tree file copy \ ${worksrcpath}/bin \ ${worksrcpath}/config \ ${worksrcpath}/javadoc \ ${worksrcpath}/lib \ ${worksrcpath}/tools \ ${geodedir} # Reduce the permissions on the distribution files. file attributes ${geodedir}/config -permissions 0755 foreach f [glob -directory ${geodedir}/config *.xml] { file attributes $f -permissions 0644 } foreach f [glob -directory ${geodedir}/lib *.jar] { file attributes $f -permissions 0644 } # Symlink gfsh into the bin directory ln -s ../share/java/${name}/bin/gfsh ${destroot}${prefix}/bin/gfsh } notes \ "Please refer to http://geode.incubator.apache.org/docs/" livecheck.type regex livecheck.url ${homepage}docs/history.html livecheck.regex >(3\\.\[0-9.\]+\\.\[0-9.\]+)