diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-02 11:14:00 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-02 11:14:00 +0000 |
commit | 2696f3bbe951ea86fd3ffa6c0ec11db0601373ec (patch) | |
tree | 332a231bf9f2e98f76bd29ad384c8dae5e83cb41 /hebrew | |
parent | 4f5ee6a36b0c720747ac354d226aa15aaa353111 (diff) | |
download | ports-2696f3bbe951ea86fd3ffa6c0ec11db0601373ec.tar.gz ports-2696f3bbe951ea86fd3ffa6c0ec11db0601373ec.zip |
new port: Hebrew spellchecker and morphology engine
A new and innovative spell checker for hebrew. portlint is
happy about this.
PR: ports/47265
Submitted by: Yonatan@xpert.com <Yonatan@xpert.com>
Notes
Notes:
svn path=/head/; revision=77959
Diffstat (limited to 'hebrew')
-rw-r--r-- | hebrew/Makefile | 1 | ||||
-rw-r--r-- | hebrew/hspell/Makefile | 23 | ||||
-rw-r--r-- | hebrew/hspell/distinfo | 1 | ||||
-rw-r--r-- | hebrew/hspell/files/patch-Makefile | 22 | ||||
-rw-r--r-- | hebrew/hspell/pkg-descr | 10 | ||||
-rw-r--r-- | hebrew/hspell/pkg-message | 13 | ||||
-rw-r--r-- | hebrew/hspell/pkg-plist | 13 |
7 files changed, 83 insertions, 0 deletions
diff --git a/hebrew/Makefile b/hebrew/Makefile index e00cf4300020..0a4d83e7a92a 100644 --- a/hebrew/Makefile +++ b/hebrew/Makefile @@ -3,6 +3,7 @@ SUBDIR += elmar-fonts SUBDIR += he2 + SUBDIR += hspell SUBDIR += pine .include <bsd.port.subdir.mk> diff --git a/hebrew/hspell/Makefile b/hebrew/hspell/Makefile new file mode 100644 index 000000000000..be27ae4ea375 --- /dev/null +++ b/hebrew/hspell/Makefile @@ -0,0 +1,23 @@ +# Ports collection makefile for: hspell +# Date created: 03 Feb 2003 +# Whom: Yonatan <Yonatan@xpert.com> +# +# $FreeBSD$ +# + +PORTNAME= hspell +PORTVERSION= 0.4 +CATEGORIES= hebrew +MASTER_SITES= http://www.ivrix.org.il/projects/spell-checker/ + +MAINTAINER= yonatan@xpert.com +COMMENT= Hebrew spellchecker and morphology engine + +USE_PERL= yes + +MAN1= hspell.1 + +post-install: + @${SED} -e "s:%%PORTSDIR%%:${PORTSDIR}:g" ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/hebrew/hspell/distinfo b/hebrew/hspell/distinfo new file mode 100644 index 000000000000..fb0837518919 --- /dev/null +++ b/hebrew/hspell/distinfo @@ -0,0 +1 @@ +MD5 (hspell-0.4.tar.gz) = 1ede349d43a2a5df4c1dce3c06c95918 diff --git a/hebrew/hspell/files/patch-Makefile b/hebrew/hspell/files/patch-Makefile new file mode 100644 index 000000000000..c3c94b48ec53 --- /dev/null +++ b/hebrew/hspell/files/patch-Makefile @@ -0,0 +1,22 @@ +--- Makefile.orig Sat Mar 8 15:17:03 2003 ++++ Makefile Wed Apr 2 03:07:35 2003 +@@ -14,7 +14,7 @@ + + # build and installation paths + DESTDIR = +-PREFIX = /usr/local ++PREFIX ?= /usr/local + BIN = $(PREFIX)/bin + SHARE = $(PREFIX)/share/hspell + LIBEXEC = $(PREFIX)/lib/hspell +@@ -42,8 +42,8 @@ + sed 's+^my @dictionaries=.*$$+my @dictionaries=("zcat $(SHARE)/wordlist.wgz|$(LIBEXEC)/wunzip|");+; s+my @likelyerror.*$$+my @likelyerror_dictionaries=("$(SHARE)/likelyerrors");+; s+@spellinghints_dictionaries=("spellinghints")+@spellinghints_dictionaries=("$(SHARE)/spellinghints")+' < hspell.pl > $@ + chmod 755 $@ + +-CFLAGS=-O +-LDFLAGS=-s ++CFLAGS?=-O ++LDFLAGS?=-s + wunzip: + + # experimental, not currently in use: diff --git a/hebrew/hspell/pkg-descr b/hebrew/hspell/pkg-descr new file mode 100644 index 000000000000..75e25bb2ee66 --- /dev/null +++ b/hebrew/hspell/pkg-descr @@ -0,0 +1,10 @@ +Hspell is a fully working Hebrew spellchecker. On typical documents +it should recognize the majority of correct words. +Hspell was designed to be 100% and strictly compliant with the +official niqqud-less spelling rules ("Ha-ktiv Khasar Ha-niqqud", +colloquially known as "Ktiv Male") published by the Academy of +the Hebrew Language. + +Hspell was written by Nadav Har'El and Dan Kenigsberg. + +WWW: http://www.ivrix.org.il/projects/spell-checker/ diff --git a/hebrew/hspell/pkg-message b/hebrew/hspell/pkg-message new file mode 100644 index 000000000000..dddbdbdcdf92 --- /dev/null +++ b/hebrew/hspell/pkg-message @@ -0,0 +1,13 @@ +The recommended usage of this port is first to teach your terminal to display +hebrew fonts, like this: + +vidcontrol < /dev/ttyv0 -f 8x16 iso08-8x16.fnt + +or set this in /etc/rc.conf: + +font8x16=iso08-8x16.fnt + +Then, it would be wise to install bidiv from %%PORTSDIR%%/textproc/bidiv +and run hspell like this: + +hspell file.txt | bidiv diff --git a/hebrew/hspell/pkg-plist b/hebrew/hspell/pkg-plist new file mode 100644 index 000000000000..7f0fffb2453b --- /dev/null +++ b/hebrew/hspell/pkg-plist @@ -0,0 +1,13 @@ +@comment $FreeBSD$ +bin/hspell +bin/hspell-i +share/hspell/likelyerrors +share/hspell/spellinghints +share/hspell/biza-nouns +share/hspell/biza-verbs +share/hspell/extrawords +share/hspell/milot +share/hspell/out.nouns +share/hspell/out.nouns-shemp +share/hspell/out.verbs +@dirrm share/hspell |