2007-04-10 21:26:13 +00:00
|
|
|
PortSystem 1.0
|
2012-01-15 08:00:11 +00:00
|
|
|
PortGroup github 1.0
|
2008-02-11 04:34:28 +00:00
|
|
|
|
2012-01-15 08:00:11 +00:00
|
|
|
github.setup gwhalin Memcached-Java-Client 2.0.1 release_
|
2025-01-22 01:17:17 +11:00
|
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
|
|
|
github.tarball_from tarball
|
2007-04-10 21:26:13 +00:00
|
|
|
name java_memcached
|
|
|
|
|
categories java
|
2024-01-11 12:04:42 +11:00
|
|
|
platforms any
|
2008-06-28 23:04:34 +00:00
|
|
|
maintainers nomaintainer
|
2009-11-16 01:41:40 +00:00
|
|
|
license BSD
|
2012-01-15 07:59:31 +00:00
|
|
|
supported_archs noarch
|
|
|
|
|
|
2007-04-10 21:26:13 +00:00
|
|
|
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 \
|
|
|
|
|
port:jakarta-log4j
|
2008-02-11 02:49:44 +00:00
|
|
|
depends_build bin:ant:apache-ant
|
2007-04-10 21:26:13 +00:00
|
|
|
|
2009-11-16 01:41:40 +00:00
|
|
|
fetch.type git
|
2007-04-10 21:26:13 +00:00
|
|
|
|
|
|
|
|
use_configure no
|
|
|
|
|
|
|
|
|
|
build.cmd ant
|
|
|
|
|
build.args -Dver=${version} -Dlog4j=1
|
|
|
|
|
|
|
|
|
|
build {
|
|
|
|
|
system "echo Running: ${build.cmd} ${build.args} jar"
|
2008-10-06 21:15:03 +00:00
|
|
|
system "cd ${worksrcpath} && ${build.cmd} ${build.args} jar"
|
|
|
|
|
file copy ${worksrcpath}/java_memcached-${version}/java_memcached-${version}.jar ${worksrcpath}/${name}.jar
|
2007-04-10 21:26:13 +00:00
|
|
|
system "echo Running: ${build.cmd} ${build.args} javadoc"
|
2008-10-06 21:15:03 +00:00
|
|
|
system "cd ${worksrcpath} && ${build.cmd} ${build.args} javadoc"
|
|
|
|
|
file rename ${worksrcpath}/java_memcached-${version}/javadocs ${worksrcpath}/javadocs
|
2007-04-10 21:26:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
destroot {
|
|
|
|
|
set javadir ${destroot}${prefix}/share/java
|
|
|
|
|
set docdir ${destroot}${prefix}/share/doc/${name}
|
|
|
|
|
|
|
|
|
|
xinstall -d -m 755 ${javadir}
|
|
|
|
|
xinstall -d -m 755 ${docdir}
|
|
|
|
|
|
2008-10-06 21:15:03 +00:00
|
|
|
file copy ${worksrcpath}/${name}.jar ${javadir}/
|
|
|
|
|
file copy ${worksrcpath}/javadocs ${docdir}/
|
2007-04-10 21:26:13 +00:00
|
|
|
|
2009-11-16 01:41:40 +00:00
|
|
|
xinstall -m 644 -W ${worksrcpath}/doc \
|
|
|
|
|
CHANGELOG.txt \
|
|
|
|
|
HOWTO.txt \
|
|
|
|
|
LICENSE.txt \
|
|
|
|
|
PORTABILITY.txt \
|
|
|
|
|
README.txt \
|
|
|
|
|
TODO.txt \
|
|
|
|
|
${docdir}
|
2007-04-10 21:26:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variant built_in_logger {
|
|
|
|
|
depends_lib-delete port:jakarta-log4j
|
|
|
|
|
build.args-delete -Dlog4j=1
|
|
|
|
|
}
|