Add py-plex 1.1.2, lexical Analysis Module for Python.

PR:		36994
Submitted by:	me
This commit is contained in:
Hye-Shik Chang 2002-07-01 18:41:10 +00:00
parent b292380323
commit eb0fc00cc8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62290
7 changed files with 114 additions and 0 deletions

View file

@ -603,6 +603,7 @@
SUBDIR += py-optik
SUBDIR += py-orbit
SUBDIR += py-period
SUBDIR += py-plex
SUBDIR += py-pqueue
SUBDIR += py-reverse
SUBDIR += py-ro

36
devel/py-plex/Makefile Normal file
View file

@ -0,0 +1,36 @@
# New ports collection makefile for: py-plex
# Date created: 11 April 2002
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= plex
PORTVERSION= 1.1.2
CATEGORIES= devel python
MASTER_SITES= http://www.cosc.canterbury.ac.nz/~greg/python/Plex/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Plex${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
USE_PYTHON= yes
USE_PYDISTUTILS=yes
WRKSRC= ${WRKDIR}
DOCDIR= share/doc/py-plex
EXAMPLESDIR= share/examples/py-plex
post-extract:
${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \
> ${WRKSRC}/setup.py
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${DOCDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ./* ${PREFIX}/${DOCDIR}
${MKDIR} ${PREFIX}/${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_DATA} ./* ${PREFIX}/${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

1
devel/py-plex/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (Plex1.1.2.tar.gz) = eabd989a1b72b129744f52434d99db3f

View file

@ -0,0 +1,7 @@
from distutils.core import setup
setup(
name = 'plex',
version = "%%PORTVERSION%%",
packages = ['Plex'],
)

View file

@ -0,0 +1 @@
Lexical Analysis Module for Python

8
devel/py-plex/pkg-descr Normal file
View file

@ -0,0 +1,8 @@
Plex is a Python module for constructing lexical analysers,
or scanners. Plex scanners have almost all the capabilities of
the scanners generated by GNU Flex, and are specified in a very
similar way. Tokens are defined by regular expressions, and each
token has an associated action, which may be to return a literal
value, or to call an arbitrary function.
WWW: http://www.cosc.canterbury.ac.nz/~greg/python/Plex/

60
devel/py-plex/pkg-plist Normal file
View file

@ -0,0 +1,60 @@
%%PYTHON_SITELIBDIR%%/Plex/Actions.py
%%PYTHON_SITELIBDIR%%/Plex/Actions.pyc
%%PYTHON_SITELIBDIR%%/Plex/Actions.pyo
%%PYTHON_SITELIBDIR%%/Plex/DFA.py
%%PYTHON_SITELIBDIR%%/Plex/DFA.pyc
%%PYTHON_SITELIBDIR%%/Plex/DFA.pyo
%%PYTHON_SITELIBDIR%%/Plex/Errors.py
%%PYTHON_SITELIBDIR%%/Plex/Errors.pyc
%%PYTHON_SITELIBDIR%%/Plex/Errors.pyo
%%PYTHON_SITELIBDIR%%/Plex/Lexicons.py
%%PYTHON_SITELIBDIR%%/Plex/Lexicons.pyc
%%PYTHON_SITELIBDIR%%/Plex/Lexicons.pyo
%%PYTHON_SITELIBDIR%%/Plex/Machines.py
%%PYTHON_SITELIBDIR%%/Plex/Machines.pyc
%%PYTHON_SITELIBDIR%%/Plex/Machines.pyo
%%PYTHON_SITELIBDIR%%/Plex/Regexps.py
%%PYTHON_SITELIBDIR%%/Plex/Regexps.pyc
%%PYTHON_SITELIBDIR%%/Plex/Regexps.pyo
%%PYTHON_SITELIBDIR%%/Plex/Scanners.py
%%PYTHON_SITELIBDIR%%/Plex/Scanners.pyc
%%PYTHON_SITELIBDIR%%/Plex/Scanners.pyo
%%PYTHON_SITELIBDIR%%/Plex/Timing.py
%%PYTHON_SITELIBDIR%%/Plex/Timing.pyc
%%PYTHON_SITELIBDIR%%/Plex/Timing.pyo
%%PYTHON_SITELIBDIR%%/Plex/Traditional.py
%%PYTHON_SITELIBDIR%%/Plex/Traditional.pyc
%%PYTHON_SITELIBDIR%%/Plex/Traditional.pyo
%%PYTHON_SITELIBDIR%%/Plex/Transitions.py
%%PYTHON_SITELIBDIR%%/Plex/Transitions.pyc
%%PYTHON_SITELIBDIR%%/Plex/Transitions.pyo
%%PYTHON_SITELIBDIR%%/Plex/__init__.py
%%PYTHON_SITELIBDIR%%/Plex/__init__.pyc
%%PYTHON_SITELIBDIR%%/Plex/__init__.pyo
%%PYTHON_SITELIBDIR%%/Plex/test_tm.py
%%PYTHON_SITELIBDIR%%/Plex/test_tm.pyc
%%PYTHON_SITELIBDIR%%/Plex/test_tm.pyo
@dirrm %%PYTHON_SITELIBDIR%%/Plex
%%PORTDOCS%%share/doc/py-plex/Reference.html
%%PORTDOCS%%share/doc/py-plex/Tutorial.html
%%PORTDOCS%%share/doc/py-plex/index.html
%%PORTDOCS%%share/examples/py-plex/example1and2.in
%%PORTDOCS%%share/examples/py-plex/example1and2.py
%%PORTDOCS%%share/examples/py-plex/example3.in
%%PORTDOCS%%share/examples/py-plex/example3.py
%%PORTDOCS%%share/examples/py-plex/example4.in
%%PORTDOCS%%share/examples/py-plex/example4.py
%%PORTDOCS%%share/examples/py-plex/example5.in
%%PORTDOCS%%share/examples/py-plex/example5.py
%%PORTDOCS%%share/examples/py-plex/example6.in
%%PORTDOCS%%share/examples/py-plex/example6.py
%%PORTDOCS%%share/examples/py-plex/example7.in
%%PORTDOCS%%share/examples/py-plex/example7.py
%%PORTDOCS%%share/examples/py-plex/pascal.in
%%PORTDOCS%%share/examples/py-plex/pascal.py
%%PORTDOCS%%share/examples/py-plex/python.in
%%PORTDOCS%%share/examples/py-plex/python.py
%%PORTDOCS%%share/examples/py-plex/speedtest.in
%%PORTDOCS%%share/examples/py-plex/speedtest.py
%%PORTDOCS%%@dirrm share/examples/py-plex
%%PORTDOCS%%@dirrm share/doc/py-plex