Ticket #52730: geode-devel.diff

File geode-devel.diff, 2.3 KB (added by kjduling (Kevin Duling), 5 years ago)

Diff file to deprecate old geode-devel port

  • Portfile

    old new  
    33
    44PortSystem 1.0
    55
     6replaced_by     apache-geode
     7PortGroup       obsolete 1.0
     8
    69name            geode-devel
    710version         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/geode/${version}
    24 distname         apache-geode-${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.\]+)</
     11revision        1