github.setup gwhalin Memcached-Java-Client 2.0.1 release_
description A high performance, distributed object caching system.
long_description Memcached is a high-performance, distributed \
memory object caching system, generic in nature, \
but intended for use in speeding up dynamic web \
applications by alleviating database load. This \
Port provides a native Java client.
homepage http://www.whalin.com/memcached/
depends_lib bin:java:kaffe \
depends_build bin:ant:apache-ant
build.args -Dver=${version} -Dlog4j=1
system "echo Running: ${build.cmd} ${build.args} jar"
system "cd ${worksrcpath} && ${build.cmd} ${build.args} jar"
file copy ${worksrcpath}/java_memcached-${version}/java_memcached-${version}.jar ${worksrcpath}/${name}.jar
system "echo Running: ${build.cmd} ${build.args} javadoc"
system "cd ${worksrcpath} && ${build.cmd} ${build.args} javadoc"
file rename ${worksrcpath}/java_memcached-${version}/javadocs ${worksrcpath}/javadocs
set javadir ${destroot}${prefix}/share/java
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d -m 755 ${javadir}
xinstall -d -m 755 ${docdir}
file copy ${worksrcpath}/${name}.jar ${javadir}/
file copy ${worksrcpath}/javadocs ${docdir}/
xinstall -m 644 -W ${worksrcpath}/doc \
variant built_in_logger {
depends_lib-delete port:jakarta-log4j
build.args-delete -Dlog4j=1