# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
description library of matchers for building test expressions
Provides a library of matcher objects (also known as constraints \
or predicates) allowing 'match' rules to be defined declaratively, \
to be used in other frameworks. Typical scenarios include testing \
frameworks, mocking libraries and UI validation rules.
homepage https://code.google.com/p/hamcrest/
master_sites googlecode:${my_name}
distname ${my_name}-${version}
checksums md5 b4bd43f44d082d77daf7ec564d304cdf \
sha1 236b0e01ed002f5c889eb3152e34677363ea1e83 \
rmd160 6e6c747a467c0864a625048cd516b37153cd3a72
patchfiles patch-build.xml.diff
depends_build port:apache-ant
depends_lib port:hamcrest-core
build.args -Dversion=${version} \
set javadir ${prefix}/share/java
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${javadir} ${destroot}${docdir}
xinstall -m 0644 ${worksrcpath}/build/${name}-${version}.jar ${destroot}${javadir}/${name}.jar
xinstall -m 0644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
livecheck.url ${homepage}downloads/list
livecheck.regex $name-(\\d+(?:\\.\\d+)*)\\.jar