summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1999-05-26 07:53:18 +0000
committerThomas Gellekum <tg@FreeBSD.org>1999-05-26 07:53:18 +0000
commitee48e888bfb82c7a66b40c8efbfe2d7482cf7e12 (patch)
tree6223ff5135ef8abe225f7e864e89feb57e595912 /textproc
parentNew port py-mxTools, a collection of new builtins for Python. (diff)
New port py-mxTextTools, some tools for fast text processing in Python.
Notes
Notes: svn path=/head/; revision=19008
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-mxTextTools/Makefile49
-rw-r--r--textproc/py-mxTextTools/distinfo1
-rw-r--r--textproc/py-mxTextTools/files/Setup6
-rw-r--r--textproc/py-mxTextTools/pkg-comment1
-rw-r--r--textproc/py-mxTextTools/pkg-descr7
-rw-r--r--textproc/py-mxTextTools/pkg-plist31
6 files changed, 95 insertions, 0 deletions
diff --git a/textproc/py-mxTextTools/Makefile b/textproc/py-mxTextTools/Makefile
new file mode 100644
index 000000000000..eb712d144759
--- /dev/null
+++ b/textproc/py-mxTextTools/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/textproc/py-mxTextTools/distinfo b/textproc/py-mxTextTools/distinfo
new file mode 100644
index 000000000000..a1392189f58c
--- /dev/null
+++ b/textproc/py-mxTextTools/distinfo
@@ -0,0 +1 @@
+MD5 (mxTextTools-1.0.2.zip) = 7793468445e7294a4926f34f7b142c6d
diff --git a/textproc/py-mxTextTools/files/Setup b/textproc/py-mxTextTools/files/Setup
new file mode 100644
index 000000000000..7e9825ca8c6d
--- /dev/null
+++ b/textproc/py-mxTextTools/files/Setup
@@ -0,0 +1,6 @@
+# Build extensions shared:
+*shared*
+#
+
+# Text processing tools
+mxTextTools mxTextTools.c mxte.c mxbmse.c
diff --git a/textproc/py-mxTextTools/pkg-comment b/textproc/py-mxTextTools/pkg-comment
new file mode 100644
index 000000000000..7a7cb13395cc
--- /dev/null
+++ b/textproc/py-mxTextTools/pkg-comment
@@ -0,0 +1 @@
+Tools for fast text processing in python.
diff --git a/textproc/py-mxTextTools/pkg-descr b/textproc/py-mxTextTools/pkg-descr
new file mode 100644
index 000000000000..48f600ebedd5
--- /dev/null
+++ b/textproc/py-mxTextTools/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/textproc/py-mxTextTools/pkg-plist b/textproc/py-mxTextTools/pkg-plist
new file mode 100644
index 000000000000..ddeaf851a9c8
--- /dev/null
+++ b/textproc/py-mxTextTools/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