summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/pyenchant/Makefile28
-rw-r--r--textproc/pyenchant/distinfo3
-rw-r--r--textproc/pyenchant/pkg-descr9
-rw-r--r--textproc/pyenchant/pkg-plist19
5 files changed, 60 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 28898804aabc..798c455cdfce 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -645,6 +645,7 @@
SUBDIR += py2html
SUBDIR += pybook
SUBDIR += pychm
+ SUBDIR += pyenchant
SUBDIR += qu-aspell
SUBDIR += queequeg
SUBDIR += rand
diff --git a/textproc/pyenchant/Makefile b/textproc/pyenchant/Makefile
new file mode 100644
index 000000000000..36afa8dc9c06
--- /dev/null
+++ b/textproc/pyenchant/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: pyenchant
+# Date created: 2006-04-03
+# Whom: Nicola Vitale <nivit@email.it>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pyenchant
+PORTVERSION= 1.1.5
+CATEGORIES= textproc devel python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= nivit@email.it
+COMMENT= A spellchecking library for Python based on the Enchant library
+
+LIB_DEPENDS= enchant.1:${PORTSDIR}/textproc/enchant
+BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+PYDISTUTILS_INSTALL_TARGET= install_lib
+PYDISTUTILS_INSTALLARGS=
+
+MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.mk>
diff --git a/textproc/pyenchant/distinfo b/textproc/pyenchant/distinfo
new file mode 100644
index 000000000000..1a277b9700cf
--- /dev/null
+++ b/textproc/pyenchant/distinfo
@@ -0,0 +1,3 @@
+MD5 (pyenchant-1.1.5.tar.gz) = d9a07392f1f0910635a221273ac9654d
+SHA256 (pyenchant-1.1.5.tar.gz) = ff4b0ac64e93bd567626f99f72671cd244e9564a2f02c108e2e61ce9d0734849
+SIZE (pyenchant-1.1.5.tar.gz) = 63221
diff --git a/textproc/pyenchant/pkg-descr b/textproc/pyenchant/pkg-descr
new file mode 100644
index 000000000000..0c92b834b8dc
--- /dev/null
+++ b/textproc/pyenchant/pkg-descr
@@ -0,0 +1,9 @@
+PyEnchant is a set of language bindings and some wrapper classes to make
+the excellent Enchant spellchecker available as a Python module.
+The bindings are generated using SWIG. It includes all the functionality
+of Enchant with the flexibility of Python and a nice 'Pythonic'
+object-oriented interface. It also aims to provide some higher-level
+functionality than is available in the C API.
+
+Author: Ryan Kelly <ryan@rfk.id.au>
+WWW: http://pyenchant.sourceforge.net/
diff --git a/textproc/pyenchant/pkg-plist b/textproc/pyenchant/pkg-plist
new file mode 100644
index 000000000000..618d0d9844ed
--- /dev/null
+++ b/textproc/pyenchant/pkg-plist
@@ -0,0 +1,19 @@
+@comment $FreeBSD$
+%%PYTHON_SITELIBDIR%%/enchant/__init__.py
+%%PYTHON_SITELIBDIR%%/enchant/__init__.pyc
+%%PYTHON_SITELIBDIR%%/enchant/_enchant.so
+%%PYTHON_SITELIBDIR%%/enchant/checker/CmdLineChecker.py
+%%PYTHON_SITELIBDIR%%/enchant/checker/CmdLineChecker.pyc
+%%PYTHON_SITELIBDIR%%/enchant/checker/__init__.py
+%%PYTHON_SITELIBDIR%%/enchant/checker/__init__.pyc
+%%PYTHON_SITELIBDIR%%/enchant/checker/wxSpellCheckerDialog.py
+%%PYTHON_SITELIBDIR%%/enchant/checker/wxSpellCheckerDialog.pyc
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/__init__.py
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/__init__.pyc
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/en.py
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/en.pyc
+%%PYTHON_SITELIBDIR%%/enchant/utils.py
+%%PYTHON_SITELIBDIR%%/enchant/utils.pyc
+@dirrm %%PYTHON_SITELIBDIR%%/enchant/tokenize
+@dirrm %%PYTHON_SITELIBDIR%%/enchant/checker
+@dirrm %%PYTHON_SITELIBDIR%%/enchant