mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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. This port is used to run python code generated by ANTLR. WWW: http://www.antlr2.org PR: ports/155116 Submitted by: arrowdodger <6yearold at gmail.com>
This commit is contained in:
parent
2a61dbeaca
commit
f08fea78f0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276424
@ -35,6 +35,7 @@
|
||||
SUBDIR += anjuta
|
||||
SUBDIR += anjuta-extras
|
||||
SUBDIR += antlr
|
||||
SUBDIR += antlr2-python-runtime
|
||||
SUBDIR += antlrworks
|
||||
SUBDIR += apache-ant
|
||||
SUBDIR += api-sanity-autotest
|
||||
|
34
devel/antlr2-python-runtime/Makefile
Normal file
34
devel/antlr2-python-runtime/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# New ports collection makefile for: antlr2-python-runtime
|
||||
# Date created: 1 February 2011
|
||||
# Whom: arrowdodger <6yearold@gmail.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= antlr2-python-runtime
|
||||
PORTVERSION= 2.7.7
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.antlr2.org/download/
|
||||
DISTNAME= antlr-${PORTVERSION}
|
||||
|
||||
MAINTAINER= 6yearold@gmail.com
|
||||
COMMENT= ANTLR v2 python runtime library
|
||||
|
||||
USE_PYTHON= yes
|
||||
PYDISTUTILS_PKGNAME=antlr
|
||||
PYDISTUTILS_PKGVERSION=2.7.5RC1
|
||||
INSTALLS_EGGINFO=yes
|
||||
|
||||
ANTLR_PYTHON_DIR= ${WRKDIR}/${DISTNAME}/lib/python
|
||||
|
||||
do-configure:
|
||||
@(cd ${ANTLR_PYTHON_DIR} && ${PYTHON_CMD} setup.py config)
|
||||
|
||||
do-build:
|
||||
@(cd ${ANTLR_PYTHON_DIR} && ${PYTHON_CMD} setup.py build && \
|
||||
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${ANTLR_PYTHON_DIR})
|
||||
|
||||
do-install:
|
||||
@(cd ${ANTLR_PYTHON_DIR} && ${PYTHON_CMD} setup.py install)
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/antlr2-python-runtime/distinfo
Normal file
2
devel/antlr2-python-runtime/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (antlr-2.7.7.tar.gz) = 853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9
|
||||
SIZE (antlr-2.7.7.tar.gz) = 1816180
|
8
devel/antlr2-python-runtime/pkg-descr
Normal file
8
devel/antlr2-python-runtime/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
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.
|
||||
|
||||
This port is used to run python code generated by ANTLR.
|
||||
|
||||
WWW: http://www.antlr2.org
|
5
devel/antlr2-python-runtime/pkg-plist
Normal file
5
devel/antlr2-python-runtime/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
%%PYTHON_SITELIBDIR%%/antlr/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/antlr/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/antlr/antlr.py
|
||||
%%PYTHON_SITELIBDIR%%/antlr/antlr.pyc
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/antlr
|
Loading…
Reference in New Issue
Block a user