Changeset 91986


Ignore:
Timestamp:
Apr 14, 2012, 3:50:01 PM (7 years ago)
Author:
mww@…
Message:

javacc: whitespace changes only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/javacc/Portfile

    r91982 r91986  
    33PortSystem 1.0
    44
    5 name            javacc
    6 version         5.0
    7 revision        2
    8 categories      java lang devel
    9 platforms       darwin
    10 maintainers     mww
    11 license         BSD
    12 description     Java Compiler Compiler, a parser generator for use with Java
    13 long_description        Java Compiler Compiler (JavaCC) is the most popular \
    14                         parser generator for use with Java applications. A \
    15                         parser generator is a tool that reads a grammar \
    16                         specification and converts it to a Java program that \
    17                         can recognize matches to the grammar. In addition to \
    18                         the parser generator itself, JavaCC provides other \
    19                         standard capabilities related to parser generation \
    20                         such as tree building (via a tool called JJTree \
    21                         included with JavaCC), actions, debugging, etc
     5name                javacc
     6version             5.0
     7revision            2
     8categories          java lang devel
     9platforms           darwin
     10maintainers         mww
     11license             BSD
     12description         Java Compiler Compiler, a parser generator for use with Java
     13long_description    Java Compiler Compiler (JavaCC) is the most popular \
     14    parser generator for use with Java applications. A parser generator is a \
     15    tool that reads a grammar specification and converts it to a Java program \
     16    that can recognize matches to the grammar. In addition to the parser \
     17    generator itself, JavaCC provides other standard capabilities related to \
     18    parser generation such as tree building (via a tool called JJTree included \
     19    with JavaCC), actions, debugging, etc.
    2220
    2321homepage            http://javacc.java.net/
     
    2624                    sha1    ac9f7833bdd427d05c8364406ff82ee7cab4f86f \
    2725                    rmd160  b7d6b5794619fb66a342935ab0644d231c39fb42
    28 dist_subdir     ${name}/${version}
     26dist_subdir         ${name}/${version}
    2927
    30 configure       {
    31         reinplace "s|`dirname \$0`/lib|${prefix}/share/java|g" \
    32                 ${worksrcpath}/bin/javacc ${worksrcpath}/bin/jjtree \
    33                 ${worksrcpath}/bin/jjdoc
     28configure {
     29    reinplace "s|`dirname \$0`/lib|${prefix}/share/java|g" \
     30        ${worksrcpath}/bin/javacc ${worksrcpath}/bin/jjtree \
     31        ${worksrcpath}/bin/jjdoc
    3432}
    3533
    36 build   {}
     34build {}
    3735
    38 destroot        {
    39         xinstall -d -m 755 ${destroot}${prefix}/share/java \
    40                 ${destroot}${prefix}/share/doc/
    41         file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
    42         xinstall -m 644 ${worksrcpath}/bin/lib/javacc.jar \
    43                 ${destroot}${prefix}/share/java/
    44         xinstall -m 755 -W ${worksrcpath}/bin javacc jjdoc jjtree \
    45                 ${destroot}${prefix}/bin
    46         xinstall -m 644 -W ${worksrcpath} LICENSE \
    47                 ${destroot}${prefix}/share/doc/${name}
     36destroot {
     37    xinstall -d -m 755 ${destroot}${prefix}/share/java \
     38        ${destroot}${prefix}/share/doc/
     39    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
     40    xinstall -m 644 ${worksrcpath}/bin/lib/javacc.jar \
     41        ${destroot}${prefix}/share/java/
     42    xinstall -m 755 -W ${worksrcpath}/bin javacc jjdoc jjtree \
     43        ${destroot}${prefix}/bin
     44    xinstall -m 644 -W ${worksrcpath} LICENSE \
     45        ${destroot}${prefix}/share/doc/${name}
    4846}
    4947
    50 livecheck.type  regex
    51 livecheck.url   ${homepage}
    52 livecheck.regex javacc-(\[0-9\.\]+).tar.gz
     48livecheck.type      regex
     49livecheck.url       ${homepage}
     50livecheck.regex     javacc-(\[0-9\.\]+).tar.gz
Note: See TracChangeset for help on using the changeset viewer.