diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2002-07-01 18:41:10 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2002-07-01 18:41:10 +0000 |
commit | eb0fc00cc8e42a9ebd504ca5a2403894fb20c2c3 (patch) | |
tree | 68096ec225882a6ccd6d8a0b2082311f901ef872 /devel/py-plex | |
parent | Change master site to MASTER_SITE_LOCAL (diff) |
Add py-plex 1.1.2, lexical Analysis Module for Python.
PR: 36994
Submitted by: me
Notes
Notes:
svn path=/head/; revision=62290
Diffstat (limited to 'devel/py-plex')
-rw-r--r-- | devel/py-plex/Makefile | 36 | ||||
-rw-r--r-- | devel/py-plex/distinfo | 1 | ||||
-rw-r--r-- | devel/py-plex/files/setup.py | 7 | ||||
-rw-r--r-- | devel/py-plex/pkg-comment | 1 | ||||
-rw-r--r-- | devel/py-plex/pkg-descr | 8 | ||||
-rw-r--r-- | devel/py-plex/pkg-plist | 60 |
6 files changed, 113 insertions, 0 deletions
diff --git a/devel/py-plex/Makefile b/devel/py-plex/Makefile new file mode 100644 index 000000000000..58b2a67e5a73 --- /dev/null +++ b/devel/py-plex/Makefile @@ -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> diff --git a/devel/py-plex/distinfo b/devel/py-plex/distinfo new file mode 100644 index 000000000000..2d8ff4e062df --- /dev/null +++ b/devel/py-plex/distinfo @@ -0,0 +1 @@ +MD5 (Plex1.1.2.tar.gz) = eabd989a1b72b129744f52434d99db3f diff --git a/devel/py-plex/files/setup.py b/devel/py-plex/files/setup.py new file mode 100644 index 000000000000..8dd6df636fa7 --- /dev/null +++ b/devel/py-plex/files/setup.py @@ -0,0 +1,7 @@ +from distutils.core import setup + +setup( + name = 'plex', + version = "%%PORTVERSION%%", + packages = ['Plex'], + ) diff --git a/devel/py-plex/pkg-comment b/devel/py-plex/pkg-comment new file mode 100644 index 000000000000..e545f6942b99 --- /dev/null +++ b/devel/py-plex/pkg-comment @@ -0,0 +1 @@ +Lexical Analysis Module for Python diff --git a/devel/py-plex/pkg-descr b/devel/py-plex/pkg-descr new file mode 100644 index 000000000000..0d3e4411ee3c --- /dev/null +++ b/devel/py-plex/pkg-descr @@ -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/ diff --git a/devel/py-plex/pkg-plist b/devel/py-plex/pkg-plist new file mode 100644 index 000000000000..111f6eeb11a9 --- /dev/null +++ b/devel/py-plex/pkg-plist @@ -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 |