[91986] trunk/dports/java/javacc/Portfile
mww at macports.org
mww at macports.org
Sat Apr 14 08:50:03 PDT 2012
Revision: 91986
https://trac.macports.org/changeset/91986
Author: mww at macports.org
Date: 2012-04-14 08:50:01 -0700 (Sat, 14 Apr 2012)
Log Message:
-----------
javacc: whitespace changes only
Modified Paths:
--------------
trunk/dports/java/javacc/Portfile
Modified: trunk/dports/java/javacc/Portfile
===================================================================
--- trunk/dports/java/javacc/Portfile 2012-04-14 15:40:25 UTC (rev 91985)
+++ trunk/dports/java/javacc/Portfile 2012-04-14 15:50:01 UTC (rev 91986)
@@ -2,51 +2,49 @@
PortSystem 1.0
-name javacc
-version 5.0
-revision 2
-categories java lang devel
-platforms darwin
-maintainers mww
-license BSD
-description Java Compiler Compiler, a parser generator for use with Java
-long_description Java Compiler Compiler (JavaCC) is the most popular \
- parser generator for use with Java applications. A \
- parser generator is a tool that reads a grammar \
- specification and converts it to a Java program that \
- can recognize matches to the grammar. In addition to \
- the parser generator itself, JavaCC provides other \
- standard capabilities related to parser generation \
- such as tree building (via a tool called JJTree \
- included with JavaCC), actions, debugging, etc
+name javacc
+version 5.0
+revision 2
+categories java lang devel
+platforms darwin
+maintainers mww
+license BSD
+description Java Compiler Compiler, a parser generator for use with Java
+long_description Java Compiler Compiler (JavaCC) is the most popular \
+ parser generator for use with Java applications. A parser generator is a \
+ tool that reads a grammar specification and converts it to a Java program \
+ that can recognize matches to the grammar. In addition to the parser \
+ generator itself, JavaCC provides other standard capabilities related to \
+ parser generation such as tree building (via a tool called JJTree included \
+ with JavaCC), actions, debugging, etc.
homepage http://javacc.java.net/
master_sites http://java.net/projects/javacc/downloads/download/
checksums md5 ec3738abfa889c94a82f56453633d6bc \
sha1 ac9f7833bdd427d05c8364406ff82ee7cab4f86f \
rmd160 b7d6b5794619fb66a342935ab0644d231c39fb42
-dist_subdir ${name}/${version}
+dist_subdir ${name}/${version}
-configure {
- reinplace "s|`dirname \$0`/lib|${prefix}/share/java|g" \
- ${worksrcpath}/bin/javacc ${worksrcpath}/bin/jjtree \
- ${worksrcpath}/bin/jjdoc
+configure {
+ reinplace "s|`dirname \$0`/lib|${prefix}/share/java|g" \
+ ${worksrcpath}/bin/javacc ${worksrcpath}/bin/jjtree \
+ ${worksrcpath}/bin/jjdoc
}
-build {}
+build {}
-destroot {
- xinstall -d -m 755 ${destroot}${prefix}/share/java \
- ${destroot}${prefix}/share/doc/
- file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 ${worksrcpath}/bin/lib/javacc.jar \
- ${destroot}${prefix}/share/java/
- xinstall -m 755 -W ${worksrcpath}/bin javacc jjdoc jjtree \
- ${destroot}${prefix}/bin
- xinstall -m 644 -W ${worksrcpath} LICENSE \
- ${destroot}${prefix}/share/doc/${name}
+destroot {
+ xinstall -d -m 755 ${destroot}${prefix}/share/java \
+ ${destroot}${prefix}/share/doc/
+ file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 ${worksrcpath}/bin/lib/javacc.jar \
+ ${destroot}${prefix}/share/java/
+ xinstall -m 755 -W ${worksrcpath}/bin javacc jjdoc jjtree \
+ ${destroot}${prefix}/bin
+ xinstall -m 644 -W ${worksrcpath} LICENSE \
+ ${destroot}${prefix}/share/doc/${name}
}
-livecheck.type regex
-livecheck.url ${homepage}
-livecheck.regex javacc-(\[0-9\.\]+).tar.gz
+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex javacc-(\[0-9\.\]+).tar.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120414/96696440/attachment-0001.html>
More information about the macports-changes
mailing list