Ticket #11061: dports_java_checkstyle_4_2.patch

File dports_java_checkstyle_4_2.patch, 3.3 KB (added by mark@…, 17 years ago)
  • checkstyle/files/checkstyle

    ==== 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
    ==================================================================
     
    11#!/bin/sh
    22PREFIX=_PREFIX_
    3                                                                                 java -classpath ${PREFIX}/share/java/checkstyle.jar:${PREFIX}/share/java/checkstyle-optional.jar com.puppycrawl.tools/checkstyle.Main "$@"
    4 fi
     3java -classpath ${PREFIX}/share/java/checkstyle.jar:${PREFIX}/share/java/checkstyle-optional.jar com.puppycrawl.tools/checkstyle.Main "$@"
    54
     5
  • checkstyle/Portfile

    === checkstyle/Portfile
    ==================================================================
     
    22
    33PortSystem 1.0
    44
    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.
     5name                          checkstyle
     6version                    4.2
     7categories                 java lang
     8platforms                  darwin
     9maintainers                dglo@icecube.wisc.edu
     10description                CheckStyle is a Java source code analyzer
     11long_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.
    1716
    18 homepage                http://checkstyle.sourceforge.net/
    19 master_sites    sourceforge
    20 distname                ${name}-src-${version}
    21 checksums               md5 1b4403f6c03b21c841431678dad92a85
    22 use_zip                 yes
     17homepage                      http://checkstyle.sourceforge.net/
     18master_sites       sourceforge
     19distname                      ${name}-src-${version}
     20checksums                  md5 ef8aae5bd5037112d243502888573cd0
     21use_zip                    yes
    2322
    24 depends_build   bin:ant:apache-ant
    25 depends_lib             bin:java:kaffe
    26 depends_run             port:junit
     23depends_build      bin:ant:apache-ant
     24depends_lib                bin:java:kaffe
     25depends_run                port:junit
    2726
    28 worksrcdir              ${name}-src-${version}
     27worksrcdir                 ${name}-src-${version}
    2928
    30 use_configure   no
     29use_configure      no
    3130
    32 build.cmd               ant
    33 build.target    build.bindist
    34 build.dir               ${worksrcpath}
    35 build.env               CLASSPATH=${prefix}/share/java/junit.jar
     31build.cmd                  ant
     32build.target       build.bindist
     33build.dir                  ${worksrcpath}
     34build.env                  CLASSPATH=${prefix}/share/java/junit.jar
    3635
    3736destroot        {
    3837        xinstall -m 755 ${filespath}/${name} ${destroot}${prefix}/bin