mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name cobertura
|
|
version 1.6
|
|
categories java devel
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
description Java code coverage tool
|
|
long_description Cobertura is a free Java tool that calculates the \
|
|
percentage of code accessed by tests. It can be used to \
|
|
identify which parts of your Java program are lacking test \
|
|
coverage.
|
|
|
|
homepage http://cobertura.sourceforge.net/
|
|
master_sites sourceforge
|
|
distname ${name}-${version}-src
|
|
checksums md5 3c59d364e0a729eb1b4a254963eb5751
|
|
use_zip yes
|
|
|
|
depends_build port:junit \
|
|
bin:ant:apache-ant \
|
|
port:objectweb-asm \
|
|
port:javancss
|
|
depends_lib bin:java:kaffe
|
|
depends_run port:junit
|
|
|
|
worksrcdir ${name}-${version}
|
|
|
|
use_configure no
|
|
|
|
build.cmd ant
|
|
build.target jar javadoc
|
|
|
|
test.run yes
|
|
test.cmd ant
|
|
test.env CLASSPATH=${prefix}/share/java/junit.jar
|
|
test.target test
|
|
|
|
destroot {
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/java \
|
|
${destroot}${prefix}/share/doc
|
|
xinstall -m 644 ${worksrcpath}/${name}.jar \
|
|
${destroot}${prefix}/share/java/${name}.jar
|
|
file copy ${worksrcpath}/build/api \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
}
|