Commit f25a9dd0 authored by pi's avatar pi
Browse files

New Port: devel/antlr4

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
C++ or Java actions.

WWW: http://www.antlr.org
parent b22dac75
......@@ -74,6 +74,7 @@
SUBDIR += anjuta-extras
SUBDIR += antlr
SUBDIR += antlr3
SUBDIR += antlr4
SUBDIR += antlrworks
SUBDIR += apache-ant
SUBDIR += api-sanity-autotest
......
# $FreeBSD$
PORTNAME= antlr4
PORTVERSION= 4.5.1
CATEGORIES= devel java
MASTER_SITES= http://www.antlr.org/download/
DISTNAME= antlr-${PORTVERSION}-complete
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
MAINTAINER= pi@FreeBSD.org
COMMENT= ANother Tool for Language Recognition
LICENSE= BSD3CLAUSE
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.8+
INSTALL_JAR= ${DISTFILES}
SUB_LIST= INSTALL_JAR=${INSTALL_JAR}
SUB_FILES= antlr.sh
PLIST_FILES= bin/${PORTNAME} \
${JAVAJARDIR}/${INSTALL_JAR}
.include <bsd.port.options.mk>
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${JAVAJARDIR}/${INSTALL_JAR}
${INSTALL_SCRIPT} ${WRKDIR}/antlr.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
SHA256 (antlr-4.5.1-complete.jar) = 9cff6c76bc5aafcbf51cac7f0974ae01e4f6119402e75436abbb97f8ab15c211
SIZE (antlr-4.5.1-complete.jar) = 1478820
#! /bin/sh
#
# $FreeBSD$
JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -classpath "%%JAVAJARDIR%%/%%INSTALL_JAR%%" -jar %%JAVAJARDIR%%/%%INSTALL_JAR%% "$@"
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
C++ or Java actions.
WWW: http://www.antlr.org
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment