summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1999-05-26 07:53:18 +0000
committertg <tg@FreeBSD.org>1999-05-26 07:53:18 +0000
commitffab21f42691c82fed791e59b76ad6040224dc5c (patch)
tree21ecb44b28c836402d49e664886c1690d5d4f8d0 /textproc
parentf52f345204cb30f7a218d8ae0988d4c5e2c2f216 (diff)
downloadFreeBSD-ports-ffab21f42691c82fed791e59b76ad6040224dc5c.zip
FreeBSD-ports-ffab21f42691c82fed791e59b76ad6040224dc5c.tar.gz
New port py-mxTextTools, some tools for fast text processing in Python.
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 0000000..eb712d1
--- /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 0000000..a139218
--- /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 0000000..7e9825c
--- /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 0000000..7a7cb13
--- /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 0000000..48f600e
--- /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 0000000..ddeaf85
--- /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
OpenPOWER on IntegriCloud