source: trunk/dports/java/javacc/Portfile @ 10878

Last change on this file since 10878 was 6350, checked in by mww, 16 years ago

new port java/javacc

the java compiler compiler

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1# $Id: Portfile,v 1.1 2004/04/10 12:53:58 mww Exp $
2
3PortSystem 1.0
4
5name            javacc
6version         3.2
7categories      java lang devel
8platforms       darwin
9maintainers     mww@opendarwin.org
10description     Java Compiler Compiler, a parser generator for use with Java
11long_description        Java Compiler Compiler (JavaCC) is the most popular \
12                        parser generator for use with Java applications. A \
13                        parser generator is a tool that reads a grammar \
14                        specification and converts it to a Java program that \
15                        can recognize matches to the grammar. In addition to \
16                        the parser generator itself, JavaCC provides other \
17                        standard capabilities related to parser generation \
18                        such as tree building (via a tool called JJTree \
19                        included with JavaCC), actions, debugging, etc
20
21homepage        https://javacc.dev.java.net
22master_sites    ${homepage}/files/documents/17/3616/
23checksums       md5 bc0fe5d325e24f2e7c95e5c962813354
24
25depends_lib     bin:java:kaffe
26depends_build   bin:ant:apache-ant
27
28configure       {
29        reinplace "s|`dirname \$0`/lib|${prefix}/share/java|g" \
30                ${worksrcpath}/bin/javacc ${worksrcpath}/bin/jjtree \
31                ${worksrcpath}/bin/jjdoc
32}
33
34build.cmd       ant
35build.target    jar
36
37destroot        {
38        xinstall -d -m 755 ${destroot}${prefix}/share/java \
39                ${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 README \
45                ${destroot}${prefix}/share/doc/${name}
46}
Note: See TracBrowser for help on using the repository browser.