From a3eb92d43501fd766161a9d0262cc7cbc1ecead9 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sun, 29 Feb 2004 14:36:36 +0000 Subject: [PATCH] Add queequeg, a tiny English grammar checker for non-native speakers who are not used to verb conjugation and number agreement. We especially focus on people who're writing academic papers or business documents where thorough checking is required. We aim to reduce this laborious work with automated checking. PR: ports/63472 Submitted by: Kimura Fuyuki --- textproc/Makefile | 1 + textproc/queequeg/Makefile | 38 +++++++++++++++++++++++++++++++++++++ textproc/queequeg/distinfo | 2 ++ textproc/queequeg/pkg-descr | 7 +++++++ textproc/queequeg/pkg-plist | 19 +++++++++++++++++++ 5 files changed, 67 insertions(+) create mode 100644 textproc/queequeg/Makefile create mode 100644 textproc/queequeg/distinfo create mode 100644 textproc/queequeg/pkg-descr create mode 100644 textproc/queequeg/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index 9e00d6ffac8b..2fa7b3d41508 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -421,6 +421,7 @@ SUBDIR += py-xmltools SUBDIR += py2html SUBDIR += pybook + SUBDIR += queequeg SUBDIR += rand SUBDIR += raptor SUBDIR += redland diff --git a/textproc/queequeg/Makefile b/textproc/queequeg/Makefile new file mode 100644 index 000000000000..8aab640916d8 --- /dev/null +++ b/textproc/queequeg/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: Queequeg +# Date created: 28 February 2004 +# Whom: Kimura Fuyuki +# +# $FreeBSD$ +# + +PORTNAME= queequeg +PORTVERSION= 0.91 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= fuyuki@nigredo.org +COMMENT= A tiny English grammar checker + +BUILD_DEPENDS= wn:${PORTSDIR}/textproc/wordnet \ + ${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb + +USE_PYTHON= 2.3+ +MAKE_ARGS= dict WORDNETDICT="${LOCALBASE}/share/WordNet-*" + +.if !defined(NOPORTDOCS) +PORTDOCS= address.png index-e.html index.html +.endif + +do-install: + ${MKDIR} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/qq ${DATADIR} + ${LN} -shf ${DATADIR}/qq ${PREFIX}/bin/qq + ${INSTALL_DATA} ${WRKSRC}/*.py ${WRKSRC}/dict.cdb ${DATADIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + cd ${WRKSRC}/htdocs; ${INSTALL_DATA} * ${DOCSDIR} +.endif + +.include diff --git a/textproc/queequeg/distinfo b/textproc/queequeg/distinfo new file mode 100644 index 000000000000..5251e7627e66 --- /dev/null +++ b/textproc/queequeg/distinfo @@ -0,0 +1,2 @@ +MD5 (queequeg-0.91.tar.gz) = 70d9d5d66206abaa505cbfee6f5c63db +SIZE (queequeg-0.91.tar.gz) = 69449 diff --git a/textproc/queequeg/pkg-descr b/textproc/queequeg/pkg-descr new file mode 100644 index 000000000000..ba650986cf9a --- /dev/null +++ b/textproc/queequeg/pkg-descr @@ -0,0 +1,7 @@ +Queequeg is a tiny English grammar checker for non-native speakers who +are not used to verb conjugation and number agreement. We especially +focus on people who're writing academic papers or business documents +where thorough checking is required. We aim to reduce this laborious +work with automated checking. + +WWW: http://queequeg.sourceforge.net/index-e.html diff --git a/textproc/queequeg/pkg-plist b/textproc/queequeg/pkg-plist new file mode 100644 index 000000000000..f7c3f7146124 --- /dev/null +++ b/textproc/queequeg/pkg-plist @@ -0,0 +1,19 @@ +bin/qq +%%DATADIR%%/abstfilter.py +%%DATADIR%%/constraint.py +%%DATADIR%%/convdict.py +%%DATADIR%%/dict.cdb +%%DATADIR%%/dictionary.py +%%DATADIR%%/document.py +%%DATADIR%%/grammarerror.py +%%DATADIR%%/markupbase_rev.py +%%DATADIR%%/output.py +%%DATADIR%%/postagfix.py +%%DATADIR%%/pstring.py +%%DATADIR%%/qq +%%DATADIR%%/regpat.py +%%DATADIR%%/sentence.py +%%DATADIR%%/sgmllib_rev.py +%%DATADIR%%/texparser.py +%%DATADIR%%/unification.py +@dirrm %%DATADIR%%