[Lunar-commits] <moonbase-other> antlr: Adding back to moonbase.
Dennis Veatch
stumbles at lunar-linux.org
Mon Jul 9 16:19:29 CEST 2012
commit 907de1f41cc9b992b085d5907347c97ed56b5847
Author: Dennis Veatch <stumbles at lunar-linux.org>
Date: Mon, 09 Jul 2012 07:19:29 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/907de1f41cc9b992b085d5907347c97ed56b5847
antlr: Adding back to moonbase.
---
devel/antlr/BUILD +10/-0
devel/antlr/CONFIGURE +1/-0
devel/antlr/DEPENDS +2/-0
devel/antlr/DETAILS +18/-0
4 files changed, 31 insertions (+), 0 deletions (-)
--- /dev/null
+++ b/devel/antlr/BUILD
@@ -0,0 +1,10 @@
+(
+
+ OPTS="--disable-examples" &&
+
+ sed -i "14i #include <string.h>" lib/cpp/antlr/CharScanner.hpp &&
+ sed -i "14i #include <cstdio>" lib/cpp/antlr/CharScanner.hpp &&
+
+ default_build
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/devel/antlr/CONFIGURE
@@ -0,0 +1 @@
+mquery USE_CXX "Enable ANTLR for C++?" y "--enable-cxx" "--disable-cxx"
--- /dev/null
+++ b/devel/antlr/DEPENDS
@@ -0,0 +1,2 @@
+optional_depends Python "--enable-python" "--disable-python" "for Python support"
+optional_depends %JAVA_SDK "--enable-java" "--disable-java" "for Java support"
--- /dev/null
+++ b/devel/antlr/DETAILS
@@ -0,0 +1,18 @@
+ MODULE=antlr
+ VERSION=2.7.7
+ SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE_URL=http://www.antlr2.org/download
+ SOURCE_VFY=sha1:802655c343cc7806aaf1ec2177a0e663ff209de1
+ WEB_SITE=http://www.antlr2.org
+ ENTERED=20100824
+ UPDATED=20100824
+ SHORT="ANother Tool for Language Recognition"
+
+PSAFE=no
+cat << EOF
+ANTLR, ANother Tool for Language Recognition, is a language tool that provides a
+framework for constructing recognizers, interpreters, compilers, and translators
+from grammatical descriptions containing actions in a variety of target
+languages. ANTLR provides excellent support for tree construction, tree walking,
+translation, error recovery, and error reporting.
+EOF
More information about the Lunar-commits
mailing list