diff --git a/devel/antlr/BUILD b/devel/antlr/BUILD new file mode 100644 index 00000000000..7d3909d2a19 --- /dev/null +++ b/devel/antlr/BUILD @@ -0,0 +1,10 @@ +( + + OPTS="--disable-examples" && + + sed -i "14i #include " lib/cpp/antlr/CharScanner.hpp && + sed -i "14i #include " lib/cpp/antlr/CharScanner.hpp && + + default_build + +) > $C_FIFO 2>&1 diff --git a/devel/antlr/CONFIGURE b/devel/antlr/CONFIGURE new file mode 100644 index 00000000000..a0bcf2ad048 --- /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 100644 index 00000000000..536a673f195 --- /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 100644 index 00000000000..5761e2b9add --- /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