freebsd-ports/devel/antlr4/Makefile
Kurt Jaeger 74dd767e99 devel/antlr4: 4.5.2 -> 4.5.3
- New grammar option: contextSuperClass. All parse tree internal
  nodes will derive from this. Default is ParserRuleContext. Should
  derive from ultimately RuleContext at minimum. Java target can use
  contextSuperClass=org.antlr.v4.runtime.RuleContextWithAltNum for
  convenience. It adds a backing field for altNumber, the alt matched
  for the associated rule node.
- Added getMaxTokenType() to Vocabulary interface

Full list of changes:
  https://github.com/antlr/antlr4/pulls?q=milestone%3A4.5.3+is%3Aclosed+is%3Apr
2016-04-03 07:59:16 +00:00

30 lines
708 B
Makefile

# $FreeBSD$
PORTNAME= antlr4
PORTVERSION= 4.5.3
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}
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>