svn commit: r400994 - in head/devel: . antlr4 antlr4/files

Kurt Jaeger pi at FreeBSD.org
Sat Nov 7 14:05:12 UTC 2015


Author: pi
Date: Sat Nov  7 14:05:11 2015
New Revision: 400994
URL: https://svnweb.freebsd.org/changeset/ports/400994

Log:
  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

Added:
  head/devel/antlr4/
  head/devel/antlr4/Makefile   (contents, props changed)
  head/devel/antlr4/distinfo   (contents, props changed)
  head/devel/antlr4/files/
  head/devel/antlr4/files/antlr.sh.in   (contents, props changed)
  head/devel/antlr4/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Nov  7 14:01:04 2015	(r400993)
+++ head/devel/Makefile	Sat Nov  7 14:05:11 2015	(r400994)
@@ -74,6 +74,7 @@
     SUBDIR += anjuta-extras
     SUBDIR += antlr
     SUBDIR += antlr3
+    SUBDIR += antlr4
     SUBDIR += antlrworks
     SUBDIR += apache-ant
     SUBDIR += api-sanity-autotest

Added: head/devel/antlr4/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/antlr4/Makefile	Sat Nov  7 14:05:11 2015	(r400994)
@@ -0,0 +1,32 @@
+# $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 at 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>

Added: head/devel/antlr4/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/antlr4/distinfo	Sat Nov  7 14:05:11 2015	(r400994)
@@ -0,0 +1,2 @@
+SHA256 (antlr-4.5.1-complete.jar) = 9cff6c76bc5aafcbf51cac7f0974ae01e4f6119402e75436abbb97f8ab15c211
+SIZE (antlr-4.5.1-complete.jar) = 1478820

Added: head/devel/antlr4/files/antlr.sh.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/antlr4/files/antlr.sh.in	Sat Nov  7 14:05:11 2015	(r400994)
@@ -0,0 +1,6 @@
+#! /bin/sh
+#
+# $FreeBSD$
+
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -classpath "%%JAVAJARDIR%%/%%INSTALL_JAR%%" -jar %%JAVAJARDIR%%/%%INSTALL_JAR%% "$@"
+

Added: head/devel/antlr4/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/antlr4/pkg-descr	Sat Nov  7 14:05:11 2015	(r400994)
@@ -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.antlr.org


More information about the svn-ports-all mailing list