source: trunk/dports/java/cobertura/Portfile

Last change on this file was 50984, checked in by and.damore@…, 8 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    cobertura
6version                 1.6
7categories              java devel
8platforms               darwin
9maintainers             icecube.wisc.edu:dglo
10description             Java code coverage tool
11long_description        Cobertura is a free Java tool that calculates the \
12                        percentage of code accessed by tests. It can be used to \
13                        identify which parts of your Java program are lacking test \
14                        coverage.
15
16homepage                http://cobertura.sourceforge.net/
17master_sites            sourceforge
18distname                ${name}-${version}-src
19checksums               md5 3c59d364e0a729eb1b4a254963eb5751
20use_zip                 yes
21
22depends_build           port:junit \
23                        bin:ant:apache-ant \
24                        port:objectweb-asm \
25                        port:javancss
26depends_lib             bin:java:kaffe
27depends_run             port:junit
28
29worksrcdir              ${name}-${version}
30
31use_configure           no
32
33build.cmd               ant
34build.target            jar javadoc
35
36test.run                yes
37test.cmd                ant
38test.env                CLASSPATH=${prefix}/share/java/junit.jar
39test.target             test
40
41destroot        {
42        xinstall -m 755 -d ${destroot}${prefix}/share/java \
43                ${destroot}${prefix}/share/doc
44        xinstall -m 644 ${worksrcpath}/${name}.jar \
45                ${destroot}${prefix}/share/java/${name}.jar
46        file copy ${worksrcpath}/build/api \
47                ${destroot}${prefix}/share/doc/${name}
48}
Note: See TracBrowser for help on using the repository browser.