==== Patch <dports_java_checkstyle> level 1
Source: f4683a9b-5f3c-4ec4-b7f8-a7e21da36217:/local/trunk/dports/java:20085 [local]
Target: d073be05-634f-4543-b044-5fe20cf6d1d6:/trunk/dports/java:20583 [mirrored]
(http://svn.macports.org/repository/macports/trunk)
Log:
r19897@entropy: mark | 2006-11-08 11:01:13 -0800
Copy the mirrored repository to a local repository.
r20085@entropy: mark | 2006-11-25 02:57:49 -0800
UPDATE: checkstyle-4.2
=== checkstyle/files/checkstyle
==================================================================
|
|
|
1 | 1 | #!/bin/sh |
2 | 2 | PREFIX=_PREFIX_ |
3 | | java -classpath ${PREFIX}/share/java/checkstyle.jar:${PREFIX}/share/java/checkstyle-optional.jar com.puppycrawl.tools/checkstyle.Main "$@" |
4 | | fi |
| 3 | java -classpath ${PREFIX}/share/java/checkstyle.jar:${PREFIX}/share/java/checkstyle-optional.jar com.puppycrawl.tools/checkstyle.Main "$@" |
5 | 4 | |
| 5 | |
=== checkstyle/Portfile
==================================================================
|
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | | name checkstyle |
6 | | version 3.5 |
7 | | categories java lang |
8 | | platforms darwin |
9 | | maintainers dglo@icecube.wisc.edu |
10 | | description CheckStyle is a Java source code analyzer |
11 | | long_description Checkstyle is a Java source code analyzer. \ |
12 | | It automates the process of checking Java code, \ |
13 | | and can be made to support almost any coding \ |
14 | | standard. It can also find class design problems, \ |
15 | | duplicate code, or bug patterns like \ |
16 | | double checked locking. |
| 5 | name checkstyle |
| 6 | version 4.2 |
| 7 | categories java lang |
| 8 | platforms darwin |
| 9 | maintainers dglo@icecube.wisc.edu |
| 10 | description CheckStyle is a Java source code analyzer |
| 11 | long_description Checkstyle is a Java source code analyzer. It automates \ |
| 12 | the process of checking Java code, and can be made to \ |
| 13 | support almost any coding standard. It can also find \ |
| 14 | class design problems, duplicate code, or bug patterns \ |
| 15 | like double checked locking. |
17 | 16 | |
18 | | homepage http://checkstyle.sourceforge.net/ |
19 | | master_sites sourceforge |
20 | | distname ${name}-src-${version} |
21 | | checksums md5 1b4403f6c03b21c841431678dad92a85 |
22 | | use_zip yes |
| 17 | homepage http://checkstyle.sourceforge.net/ |
| 18 | master_sites sourceforge |
| 19 | distname ${name}-src-${version} |
| 20 | checksums md5 ef8aae5bd5037112d243502888573cd0 |
| 21 | use_zip yes |
23 | 22 | |
24 | | depends_build bin:ant:apache-ant |
25 | | depends_lib bin:java:kaffe |
26 | | depends_run port:junit |
| 23 | depends_build bin:ant:apache-ant |
| 24 | depends_lib bin:java:kaffe |
| 25 | depends_run port:junit |
27 | 26 | |
28 | | worksrcdir ${name}-src-${version} |
| 27 | worksrcdir ${name}-src-${version} |
29 | 28 | |
30 | | use_configure no |
| 29 | use_configure no |
31 | 30 | |
32 | | build.cmd ant |
33 | | build.target build.bindist |
34 | | build.dir ${worksrcpath} |
35 | | build.env CLASSPATH=${prefix}/share/java/junit.jar |
| 31 | build.cmd ant |
| 32 | build.target build.bindist |
| 33 | build.dir ${worksrcpath} |
| 34 | build.env CLASSPATH=${prefix}/share/java/junit.jar |
36 | 35 | |
37 | 36 | destroot { |
38 | 37 | xinstall -m 755 ${filespath}/${name} ${destroot}${prefix}/bin |