# -*- 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: Portfile 149272 2016-06-08 18:50:14Z g5pw@macports.org $ PortSystem 1.0 name apache-geode version 1.0.0-incubating 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 7a53f6ac32fc60645730d906525b3dc35c5bc62a \ sha256 246a6edea4376c18a0f54de3d4b87efcddf9d27118ddc64a945e6a5014812232 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.\]+)