[Lunar-commits] <moonbase> antlr: Adding to moonbase. Will be an optional_depends for kdesdk-4.5.0.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Tue Aug 24 15:36:22 CEST 2010


commit c866367ed1f3f760eadc540b00ffbc798469a925
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Aug 24 09:36:22 2010 -0400

    antlr: Adding to moonbase. Will be an optional_depends for kdesdk-4.5.0.
---
 devel/antlr/BUILD     |   10 ++++++++++
 devel/antlr/CONFIGURE |    1 +
 devel/antlr/DEPENDS   |    2 ++
 devel/antlr/DETAILS   |   19 +++++++++++++++++++
 4 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/devel/antlr/BUILD b/devel/antlr/BUILD
new file mode 100755
index 0000000..7d3909d
--- /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
diff --git a/devel/antlr/CONFIGURE b/devel/antlr/CONFIGURE
new file mode 100755
index 0000000..a0bcf2a
--- /dev/null
+++ b/devel/antlr/CONFIGURE
@@ -0,0 +1 @@
+mquery USE_CXX "Enable ANTLR for C++?" y "--enable-cxx" "--disable-cxx"
diff --git a/devel/antlr/DEPENDS b/devel/antlr/DEPENDS
new file mode 100755
index 0000000..f9e4292
--- /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"
diff --git a/devel/antlr/DETAILS b/devel/antlr/DETAILS
new file mode 100755
index 0000000..65b238a
--- /dev/null
+++ b/devel/antlr/DETAILS
@@ -0,0 +1,19 @@
+          MODULE=antlr
+         VERSION=2.7.7
+          SOURCE=$MODULE-$VERSION.tar.gz
+      SOURCE_URL=http://www.antlr2.org/download/
+      SOURCE_VFY=sha1:802655c343cc7806aaf1ec2177a0e663ff209de1
+#   MODULE_PREFIX=${ANTLR_DIR:-/opt/lunar/$MODULE}
+        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