# -*- 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

PortSystem 1.0
PortGroup               java 1.0
PortGroup               github 1.0

github.setup            ehcache ehcache3 3.11.1 v
github.tarball_from     releases
name                    ehcache
distname                ${name}-${version}

categories              java
maintainers             nomaintainer
platforms               any
license                 Apache-2

description             Ehcache is a pure Java, in-process object cache.
long_description        Ehcache is a pure Java, in-process cache with the \
    following features: \
    \n 1. Fast \
    \n 2. Simple \
    \n 3. Acts as a pluggable cache for Hibernate \
    \n 4. Small foot print both in terms of size and memory requirements. \
    \n 5. Minimal dependencies. \
    \n 6. Fully documented. See the online documentation, FAQ and the online JavaDoc. \
    \n 7. Comprehensive test coverage. See the Clover test report. \
    \n 8. Scalable to hundreds of caches and large multi-CPU servers. \
    \n 9. Provides LRU, LFU and FIFO cache eviction policies. \
    \n10. Available under the Apache license. Ehcache's copyright and licensing has \
    been reviewed and approved by the Apache Software Foundation, making ehcache \
    suitable for use in Apache projects. \
    \n11. Production tested. All final versions of ehcache are production tested for \
    several weeks on a large and very busy eCommerce site before release.

extract.suffix          .jar
extract.only

supported_archs         noarch

checksums               sha256  8fcfc71f6d718a9be0c156ba581cc460b23a33d174ea9577228844a898d9fc00 \
                        rmd160  9c7eef427706c91c8e009b5305f81e72814ff027 \
                        size    2435086

use_configure           no

build                   {}

destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc/${name}
    file copy ${distpath}/${distfiles} ${destroot}${prefix}/share/doc/${name}
}
