Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2011 11:22:10 GMT
From:      arrowdodger <6yearold@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/155116: Port update: devel/antlr2-python-runtime
Message-ID:  <201102281122.p1SBMAHP041116@red.freebsd.org>
Resent-Message-ID: <201102281130.p1SBUBc1034930@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         155116
>Category:       ports
>Synopsis:       Port update: devel/antlr2-python-runtime
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 28 11:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     arrowdodger
>Release:        8-stable
>Organization:
none
>Environment:
>Description:
This port provides a python library, which needed for running ANTLR-generated python code.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	antlr2-python-runtime
#	antlr2-python-runtime/pkg-descr
#	antlr2-python-runtime/pkg-plist
#	antlr2-python-runtime/distinfo
#	antlr2-python-runtime/Makefile
#
echo c - antlr2-python-runtime
mkdir -p antlr2-python-runtime > /dev/null 2>&1
echo x - antlr2-python-runtime/pkg-descr
sed 's/^X//' >antlr2-python-runtime/pkg-descr << '430e33abcf4016e847f083fb92d1ace7'
XANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a
Xlanguage tool that provides a framework for constructing recognizers,
Xcompilers, and translators from grammatical descriptions containing
XC++ or Java actions.
X
XThis port is used to run python code generated by ANTLR.
X
XWWW: http://www.antlr2.org
430e33abcf4016e847f083fb92d1ace7
echo x - antlr2-python-runtime/pkg-plist
sed 's/^X//' >antlr2-python-runtime/pkg-plist << '69f6346a372c54e57968ca6939fd0ff2'
X%%PYTHON_SITELIBDIR%%/antlr/__init__.py
X%%PYTHON_SITELIBDIR%%/antlr/__init__.pyc
X%%PYTHON_SITELIBDIR%%/antlr/antlr.py
X%%PYTHON_SITELIBDIR%%/antlr/antlr.pyc
X@dirrm %%PYTHON_SITELIBDIR%%/antlr
69f6346a372c54e57968ca6939fd0ff2
echo x - antlr2-python-runtime/distinfo
sed 's/^X//' >antlr2-python-runtime/distinfo << 'd8b467a4bcf3905c1fe340f9fa2ad6e0'
XSHA256 (antlr-2.7.7.tar.gz) = 853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9
XSIZE (antlr-2.7.7.tar.gz) = 1816180
d8b467a4bcf3905c1fe340f9fa2ad6e0
echo x - antlr2-python-runtime/Makefile
sed 's/^X//' >antlr2-python-runtime/Makefile << '80c1ce8b5d4f584ea6fbc73a831e9c8a'
X# New ports collection makefile for:	antlr2-python-runtime
X# Date created:		1 February 2011
X# Whom:			arrowdodger <6yearold@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	antlr2-python-runtime
XPORTVERSION=	2.7.7
XCATEGORIES=	devel
XMASTER_SITES=	http://www.antlr2.org/download/
XDISTNAME=	antlr-${PORTVERSION}
X
XMAINTAINER=	6yearold@gmail.com
XCOMMENT=	ANTLR v2 python runtime library
X
XUSE_PYTHON=	yes
XPYDISTUTILS_PKGNAME=antlr
XPYDISTUTILS_PKGVERSION=2.7.5RC1
XINSTALLS_EGGINFO=yes
X
XANTLR_PYTHON_DIR=	${WRKDIR}/${DISTNAME}/lib/python
X
Xdo-configure:
X	@(cd ${ANTLR_PYTHON_DIR} && ${PYTHON_CMD} setup.py config)
X
Xdo-build:
X	@(cd ${ANTLR_PYTHON_DIR} && ${PYTHON_CMD} setup.py build && \
X	${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${ANTLR_PYTHON_DIR})
X
Xdo-install:
X	@(cd ${ANTLR_PYTHON_DIR} && ${PYTHON_CMD} setup.py install)
X
X.include <bsd.port.mk>
80c1ce8b5d4f584ea6fbc73a831e9c8a
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102281122.p1SBMAHP041116>