summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2018-12-22 21:15:52 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2018-12-22 21:15:52 +0000
commit772047379cda505347acfcdfffd2329deb88d1c4 (patch)
tree62333665ef84a53c0d707f4aa7cdf9e9bc34e878
parentdeskutils/basket: update to KF5 based version (diff)
Add devel/py-antlr4-python2-runtime: ANother Tool for Language Recognition (python2 runtime)
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees. This port provides the python2 runtime. WWW: http://www.antlr.org/ Approved by: antoine Differential Revision: https://reviews.freebsd.org/D18631
Notes
Notes: svn path=/head/; revision=488133
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-antlr4-python2-runtime/Makefile19
-rw-r--r--devel/py-antlr4-python2-runtime/distinfo3
-rw-r--r--devel/py-antlr4-python2-runtime/pkg-descr8
-rw-r--r--devel/py-antlr4-python3-runtime/Makefile3
5 files changed, 33 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 74245a42bd8e..c6b100ae2813 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4354,6 +4354,7 @@
SUBDIR += py-amalgamate
SUBDIR += py-aniso8601
SUBDIR += py-anonfunc
+ SUBDIR += py-antlr4-python2-runtime
SUBDIR += py-antlr4-python3-runtime
SUBDIR += py-anyconfig
SUBDIR += py-anyjson
diff --git a/devel/py-antlr4-python2-runtime/Makefile b/devel/py-antlr4-python2-runtime/Makefile
new file mode 100644
index 000000000000..82c9fac1d94c
--- /dev/null
+++ b/devel/py-antlr4-python2-runtime/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= antlr4-python2-runtime
+PORTVERSION= 4.7.2
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= antoine@FreeBSD.org
+COMMENT= ANother Tool for Language Recognition (python2 runtime)
+
+LICENSE= BSD3CLAUSE
+
+USES= python:2.7
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-antlr4-python2-runtime/distinfo b/devel/py-antlr4-python2-runtime/distinfo
new file mode 100644
index 000000000000..e388c13123aa
--- /dev/null
+++ b/devel/py-antlr4-python2-runtime/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1545512692
+SHA256 (antlr4-python2-runtime-4.7.2.tar.gz) = 580825bdd89ed6200170710cb26cc1e64f96f145870d8c2cfdf162cb0b8b9212
+SIZE (antlr4-python2-runtime-4.7.2.tar.gz) = 111795
diff --git a/devel/py-antlr4-python2-runtime/pkg-descr b/devel/py-antlr4-python2-runtime/pkg-descr
new file mode 100644
index 000000000000..d8723c975f38
--- /dev/null
+++ b/devel/py-antlr4-python2-runtime/pkg-descr
@@ -0,0 +1,8 @@
+ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for
+reading, processing, executing, or translating structured text or binary files.
+It's widely used to build languages, tools, and frameworks. From a grammar,
+ANTLR generates a parser that can build and walk parse trees.
+
+This port provides the python2 runtime.
+
+WWW: http://www.antlr.org/
diff --git a/devel/py-antlr4-python3-runtime/Makefile b/devel/py-antlr4-python3-runtime/Makefile
index c340520d0339..1d4ac0d6c4ff 100644
--- a/devel/py-antlr4-python3-runtime/Makefile
+++ b/devel/py-antlr4-python3-runtime/Makefile
@@ -11,8 +11,9 @@ COMMENT= ANother Tool for Language Recognition (python3 runtime)
LICENSE= BSD3CLAUSE
-NO_ARCH= yes
USES= python:3.4+
USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
.include <bsd.port.mk>