parser generator for Java, C#, Python, or C++ languages

ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a
language tool that provides a framework for constructing recognizers,
compilers, and translators from grammatical descriptions containing
Java, C#, Python, or C++ actions.

Currently installing the precompiled jar since this is needed for
classpath 0.98 as a BUILD_DEPEND and RUN_DEPEND.

From MAINTAINER: Frederick C. Druseikis <fredd@engr.sc.edu>
This commit is contained in:
kurt 2009-06-16 15:20:26 +00:00
parent 92ff9d9e87
commit a1f743f875
4 changed files with 51 additions and 0 deletions

34
lang/antlr2/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/06/16 15:20:26 kurt Exp $
# keep in sync with classpath archs
ONLY_FOR_ARCHS= i386 amd64 sparc64
COMMENT= parser generator for Java, C#, Python, or C++ languages
VERSION= 2.7.5
DISTNAME= antlr-${VERSION}
PKGNAME= antlr2-${VERSION}
CATEGORIES= lang java
MASTER_SITES= http://www.antlr2.org/download/
HOMEPAGE= http://www.antlr2.org
MAINTAINER= Frederick C. Druseikis <fredd@engr.sc.edu>
# The "ANTLR 2 LICENSE" proclaims the software and
# its output to be in the public domain
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/java
${INSTALL_DATA} ${WRKDIST}/${DISTNAME}.jar ${PREFIX}/share/java
.include <bsd.port.mk>

5
lang/antlr2/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (antlr-2.7.5.tar.gz) = HvIB8pKDF5yOWrYYUpyseA==
RMD160 (antlr-2.7.5.tar.gz) = P8Do0yxuKBzOXjkVPd+76cwK/wI=
SHA1 (antlr-2.7.5.tar.gz) = 3KnPA3MGpHD5f+42WvLs7Q2M8kk=
SHA256 (antlr-2.7.5.tar.gz) = dE2POoIG+8RaVVjZIWPV735eDMBwAoO7amF/sSAWKfk=
SIZE (antlr-2.7.5.tar.gz) = 1636304

9
lang/antlr2/pkg/DESCR Normal file
View File

@ -0,0 +1,9 @@
ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a
language tool that provides a framework for constructing recognizers,
compilers, and translators from grammatical descriptions containing
Java, C#, Python, or C++ actions.
ANTLR is popular because it is easy to understand, powerful, flexible,
generates human-readable output, and comes with complete source. ANTLR
provides excellent support for tree construction, tree walking, and
translation.

3
lang/antlr2/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/06/16 15:20:26 kurt Exp $
share/java/
share/java/antlr-2.7.5.jar