diff options
author | ryoon <ryoon> | 2011-08-06 22:55:34 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2011-08-06 22:55:34 +0000 |
commit | 12d708d6782a8406544821db2a80ae312258e743 (patch) | |
tree | 67a5a9756acd9621914f6fac21cafa4ca62d0832 /textproc | |
parent | e92aca4d12647dff6468b2b7e8b6d4c96b16fb1d (diff) | |
download | pkgsrc-12d708d6782a8406544821db2a80ae312258e743.tar.gz |
Import queequeg-0.91 as textproc/queequeg from wip/queequeg
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. Queequeg is named
after a character in Herman Melville's masterpiece.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/queequeg/DESCR | 6 | ||||
-rw-r--r-- | textproc/queequeg/MESSAGE | 8 | ||||
-rw-r--r-- | textproc/queequeg/Makefile | 58 | ||||
-rw-r--r-- | textproc/queequeg/PLIST | 17 | ||||
-rw-r--r-- | textproc/queequeg/distinfo | 5 |
5 files changed, 94 insertions, 0 deletions
diff --git a/textproc/queequeg/DESCR b/textproc/queequeg/DESCR new file mode 100644 index 00000000000..84aa2675373 --- /dev/null +++ b/textproc/queequeg/DESCR @@ -0,0 +1,6 @@ +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. Queequeg is named +after a character in Herman Melville's masterpiece. diff --git a/textproc/queequeg/MESSAGE b/textproc/queequeg/MESSAGE new file mode 100644 index 00000000000..3b1bd92670f --- /dev/null +++ b/textproc/queequeg/MESSAGE @@ -0,0 +1,8 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2011/08/06 22:55:34 ryoon Exp $ + +Please set system dictionary as +for sh: +$ export SYSTEM_DICT=${PREFIX}/dict/dict.cdb + +=========================================================================== diff --git a/textproc/queequeg/Makefile b/textproc/queequeg/Makefile new file mode 100644 index 00000000000..39237855de1 --- /dev/null +++ b/textproc/queequeg/Makefile @@ -0,0 +1,58 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/08/06 22:55:34 ryoon Exp $ +# + +DISTNAME= queequeg-0.91 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=queequeg/} + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= http://queequeg.sourceforge.net/index-e.html +COMMENT= Tiny English grammar checker for non-native speakers +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +DEPENDS+= ${PYPKGPREFIX}-cdb-[0-9]*:../../databases/py-cdb +BUILD_DEPENDS+= WordNet-[0-9]*:../../textproc/WordNet + +USE_LANGUAGES= # none +PY_PATCHPLIST= yes + +SUBST_CLASSES+= fix-python +SUBST_STAGE.fix-python= pre-configure +SUBST_MESSAGE.fix-python= Fixing python interpreter +SUBST_FILES.fix-python+= *.py +SUBST_FILES.fix-python+= qq +SUBST_FILES.fix-python+= Makefile +SUBST_SED.fix-python+= -e 's,/usr/bin/env python,${PYTHONBIN},' +SUBST_SED.fix-python+= -e 's,python ,${PYTHONBIN} ,' + +FIND_PREFIX:= WORDNETDIR=WordNet +.include "../../mk/find-prefix.mk" + +BUILD_TARGET= dict +BUILD_MAKE_FLAGS= WORDNETDICT=${WORDNETDIR}/dict + +INSTALLATION_DIRS= bin ${PYSITELIB} dict + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/qq ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/pstring.py \ + ${WRKSRC}/dictionary.py \ + ${WRKSRC}/abstfilter.py \ + ${WRKSRC}/document.py \ + ${WRKSRC}/sentence.py \ + ${WRKSRC}/postagfix.py \ + ${WRKSRC}/output.py \ + ${WRKSRC}/constraint.py \ + ${WRKSRC}/texparser.py \ + ${WRKSRC}/sgmllib_rev.py \ + ${WRKSRC}/markupbase_rev.py \ + ${WRKSRC}/regpat.py \ + ${WRKSRC}/grammarerror.py \ + ${WRKSRC}/unification.py \ + ${DESTDIR}${PREFIX}/${PYSITELIB} + ${INSTALL_DATA} ${WRKSRC}/dict.cdb ${DESTDIR}${PREFIX}/dict + +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/queequeg/PLIST b/textproc/queequeg/PLIST new file mode 100644 index 00000000000..779432cedf2 --- /dev/null +++ b/textproc/queequeg/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/08/06 22:55:34 ryoon Exp $ +bin/qq +dict/dict.cdb +${PYSITELIB}/abstfilter.py +${PYSITELIB}/constraint.py +${PYSITELIB}/dictionary.py +${PYSITELIB}/document.py +${PYSITELIB}/grammarerror.py +${PYSITELIB}/markupbase_rev.py +${PYSITELIB}/output.py +${PYSITELIB}/postagfix.py +${PYSITELIB}/pstring.py +${PYSITELIB}/regpat.py +${PYSITELIB}/sentence.py +${PYSITELIB}/sgmllib_rev.py +${PYSITELIB}/texparser.py +${PYSITELIB}/unification.py diff --git a/textproc/queequeg/distinfo b/textproc/queequeg/distinfo new file mode 100644 index 00000000000..da45a9c61be --- /dev/null +++ b/textproc/queequeg/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/08/06 22:55:34 ryoon Exp $ + +SHA1 (queequeg-0.91.tar.gz) = e0ceae717a297ee866e38ae7fd10c216df1232e9 +RMD160 (queequeg-0.91.tar.gz) = 2988de90f0dc41c40823745b78ca5b733e1b8708 +Size (queequeg-0.91.tar.gz) = 69449 bytes |