New port: devel/antlr3
language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions. WWW: http://www.antlr3.org PR: 199674 Submitted by: takumiiinn@gmail.com
This commit is contained in:
parent
d791a4add6
commit
2c2306afab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399598
5 changed files with 47 additions and 0 deletions
|
@ -70,6 +70,7 @@
|
|||
SUBDIR += anjuta
|
||||
SUBDIR += anjuta-extras
|
||||
SUBDIR += antlr
|
||||
SUBDIR += antlr3
|
||||
SUBDIR += antlrworks
|
||||
SUBDIR += apache-ant
|
||||
SUBDIR += api-sanity-autotest
|
||||
|
|
33
devel/antlr3/Makefile
Normal file
33
devel/antlr3/Makefile
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Created by: Takumi Takahashi <takumiiinn@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= antlr3
|
||||
PORTVERSION= 3.5.2
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= http://www.antlr3.org/download/
|
||||
DISTNAME= antlr-${PORTVERSION}-complete
|
||||
EXTRACT_SUFX= .jar
|
||||
EXTRACT_ONLY=
|
||||
|
||||
MAINTAINER= takumiiinn@gmail.com
|
||||
COMMENT= ANother Tool for Language Recognition
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.7+
|
||||
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>
|
2
devel/antlr3/distinfo
Normal file
2
devel/antlr3/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (antlr-3.5.2-complete.jar) = 26ca659f47d77384f518cf2b6463892fcd4f0b0d4d8c0de2addf697e63e7326b
|
||||
SIZE (antlr-3.5.2-complete.jar) = 2456317
|
5
devel/antlr3/files/antlr.sh.in
Normal file
5
devel/antlr3/files/antlr.sh.in
Normal file
|
@ -0,0 +1,5 @@
|
|||
#! /bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -classpath "%%JAVAJARDIR%%/%%INSTALL_JAR%%" org.antlr.Tool "$@"
|
6
devel/antlr3/pkg-descr
Normal file
6
devel/antlr3/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
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.antlr3.org
|
Loading…
Reference in a new issue