diff options
author | tg <tg@FreeBSD.org> | 1999-05-26 07:53:18 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1999-05-26 07:53:18 +0000 |
commit | ffab21f42691c82fed791e59b76ad6040224dc5c (patch) | |
tree | 21ecb44b28c836402d49e664886c1690d5d4f8d0 /lang/py-mx-base | |
parent | f52f345204cb30f7a218d8ae0988d4c5e2c2f216 (diff) | |
download | FreeBSD-ports-ffab21f42691c82fed791e59b76ad6040224dc5c.zip FreeBSD-ports-ffab21f42691c82fed791e59b76ad6040224dc5c.tar.gz |
New port py-mxTextTools, some tools for fast text processing in Python.
Diffstat (limited to 'lang/py-mx-base')
-rw-r--r-- | lang/py-mx-base/Makefile | 49 | ||||
-rw-r--r-- | lang/py-mx-base/distinfo | 1 | ||||
-rw-r--r-- | lang/py-mx-base/files/Setup | 6 | ||||
-rw-r--r-- | lang/py-mx-base/pkg-comment | 1 | ||||
-rw-r--r-- | lang/py-mx-base/pkg-descr | 7 | ||||
-rw-r--r-- | lang/py-mx-base/pkg-plist | 31 |
6 files changed, 95 insertions, 0 deletions
diff --git a/lang/py-mx-base/Makefile b/lang/py-mx-base/Makefile new file mode 100644 index 0000000..eb712d1 --- /dev/null +++ b/lang/py-mx-base/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: py-mxTextTools +# Version required: 1.0.2 +# Date created: 12 May 1999 +# Whom: Thomas Gellekum <tg@FreeBSD.ORG> +# +# $Id$ +# + +DISTNAME= mxTextTools-1.0.2 +PKGNAME= py-mxTextTools-1.0.2 +CATEGORIES= textproc python +MASTER_SITES= http://starship.skyport.net/~lemburg/ + +MAINTAINER= tg@FreeBSD.ORG + +BUILD_DEPENDS= python:${PORTSDIR}/lang/python +RUN_DEPENDS= python:${PORTSDIR}/lang/python + +USE_ZIP= yes +EXTRACT_BEFORE_ARGS= -aq +WRKSRC= ${WRKDIR}/TextTools/mxTextTools +ALL_TARGET= sharedmods + +PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5 +TEXTTOOLSDIR= ${PYTHONSCRIPTDIR}/site-packages/TextTools +DOCDIR= ${PREFIX}/share/doc/py-mxTextTools +EXAMPLEDIR= ${PREFIX}/share/examples/py-mxTextTools + +post-extract: + @${CP} ${FILESDIR}/Setup ${WRKSRC} + +do-configure: + @(cd ${WRKSRC} && ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot) + +post-install: + @${MKDIR} ${TEXTTOOLSDIR} + ${INSTALL_DATA} ${WRKDIR}/TextTools/*.py ${TEXTTOOLSDIR} + @${MKDIR} ${TEXTTOOLSDIR}/Constants + ${INSTALL_DATA} ${WRKDIR}/TextTools/Constants/*.py ${TEXTTOOLSDIR}/Constants + @${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${TEXTTOOLSDIR} + @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${TEXTTOOLSDIR} + @${MKDIR} ${EXAMPLEDIR} + ${INSTALL_DATA} ${WRKDIR}/TextTools/Examples/* ${EXAMPLEDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCDIR} + ${INSTALL_DATA} ${WRKDIR}/TextTools/Doc/* ${DOCDIR} +.endif + +.include <bsd.port.mk> diff --git a/lang/py-mx-base/distinfo b/lang/py-mx-base/distinfo new file mode 100644 index 0000000..a139218 --- /dev/null +++ b/lang/py-mx-base/distinfo @@ -0,0 +1 @@ +MD5 (mxTextTools-1.0.2.zip) = 7793468445e7294a4926f34f7b142c6d diff --git a/lang/py-mx-base/files/Setup b/lang/py-mx-base/files/Setup new file mode 100644 index 0000000..7e9825c --- /dev/null +++ b/lang/py-mx-base/files/Setup @@ -0,0 +1,6 @@ +# Build extensions shared: +*shared* +# + +# Text processing tools +mxTextTools mxTextTools.c mxte.c mxbmse.c diff --git a/lang/py-mx-base/pkg-comment b/lang/py-mx-base/pkg-comment new file mode 100644 index 0000000..7a7cb13 --- /dev/null +++ b/lang/py-mx-base/pkg-comment @@ -0,0 +1 @@ +Tools for fast text processing in python. diff --git a/lang/py-mx-base/pkg-descr b/lang/py-mx-base/pkg-descr new file mode 100644 index 0000000..48f600e --- /dev/null +++ b/lang/py-mx-base/pkg-descr @@ -0,0 +1,7 @@ +This package provides several different functions and mechanisms +to do fast text text processing. Amongst these are character set +operations, parsing & tagging tools (using a finite state machine +executing byte code) and common things such as Boyer-Moore search +objects. For full documentation see the home page. + +WWW: http://starship.skyport.net/~lemburg/mxTextTools.html diff --git a/lang/py-mx-base/pkg-plist b/lang/py-mx-base/pkg-plist new file mode 100644 index 0000000..ddeaf85 --- /dev/null +++ b/lang/py-mx-base/pkg-plist @@ -0,0 +1,31 @@ +lib/python1.5/site-packages/TextTools/Constants/Sets.py +lib/python1.5/site-packages/TextTools/Constants/Sets.pyc +lib/python1.5/site-packages/TextTools/Constants/Sets.pyo +lib/python1.5/site-packages/TextTools/Constants/TagTables.py +lib/python1.5/site-packages/TextTools/Constants/TagTables.pyc +lib/python1.5/site-packages/TextTools/Constants/TagTables.pyo +lib/python1.5/site-packages/TextTools/Constants/__init__.py +lib/python1.5/site-packages/TextTools/Constants/__init__.pyc +lib/python1.5/site-packages/TextTools/Constants/__init__.pyo +@dirrm lib/python1.5/site-packages/TextTools/Constants +lib/python1.5/site-packages/TextTools/TextTools.py +lib/python1.5/site-packages/TextTools/TextTools.pyc +lib/python1.5/site-packages/TextTools/TextTools.pyo +lib/python1.5/site-packages/TextTools/__init__.py +lib/python1.5/site-packages/TextTools/__init__.pyc +lib/python1.5/site-packages/TextTools/__init__.pyo +lib/python1.5/site-packages/mxTextTools.so +@dirrm lib/python1.5/site-packages/TextTools +share/doc/py-mxTextTools/mxTextTools.html +@dirrm share/doc/py-mxTextTools +share/examples/py-mxTextTools/HTML.py +share/examples/py-mxTextTools/Loop.py +share/examples/py-mxTextTools/Python.py +share/examples/py-mxTextTools/RTF.py +share/examples/py-mxTextTools/RegExp.py +share/examples/py-mxTextTools/Tim.py +share/examples/py-mxTextTools/Words.py +share/examples/py-mxTextTools/__init__.py +share/examples/py-mxTextTools/altRTF.py +share/examples/py-mxTextTools/pytag.py +@dirrm share/examples/py-mxTextTools |