source: trunk/dports/java/javancss/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                    javancss
6version                 28.49
7categories              java devel
8platforms               darwin
9maintainers             glowacki.org:dave
10description             Java Source Measurement Suite
11long_description        JavaNCSS measures two standard source code metrics \
12                        for the Java programming language. The metrics are \
13                        collected globally, for each class and/or for each \
14                        function.
15
16set realname            ${name}
17
18homepage                http://www.kclee.de/clemens/java/${realname}/
19master_sites            ${homepage}
20distname                ${realname}${version}
21checksums               md5 d8d8bf2e173a35490812f1913e6622cb
22use_zip                 yes
23
24depends_build           bin:ant:apache-ant \
25                        bin:javacc:javacc \
26                        port:ccl-util
27
28worksrcdir              ${realname}${version}
29
30use_configure           no
31
32patchfiles              patch-build.xml
33
34post-patch {
35           reinplace s|/usr/local/java/javacc|${prefix}/bin/javacc| ${worksrcpath}/build.xml
36}
37
38build.cmd               ant
39build.target            jar
40build.dir               ${worksrcpath}
41#build.args-append              -debug
42
43destroot        {
44        xinstall -m 755 -d ${destroot}${prefix}/share/java
45        xinstall -m 644 ${worksrcpath}/lib/${realname}.jar \
46                ${destroot}${prefix}/share/java/${realname}.jar
47}
Note: See TracBrowser for help on using the repository browser.