ports/51960: Port update: hebrew/hspell
Yonatan at xpert.com
Yonatan at xpert.com
Thu May 8 10:40:19 UTC 2003
>Number: 51960
>Category: ports
>Synopsis: Port update: hebrew/hspell
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu May 08 03:40:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Yonatan at xpert.com
>Release: FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD Temujin 4.8-RC FreeBSD 4.8-RC #1: Sat Apr 12 03:02:22 GMT 2003 root at Temujin:/usr/obj/usr/src/sys/TEMUJIN-G i386
>Description:
Makefile now supports removing a feature from the port.
>How-To-Repeat:
N/A
>Fix:
--- hspell-0.5.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# .
# ./pkg-plist
# ./pkg-descr
# ./distinfo
# ./Makefile
# ./files
# ./files/patch-Makefile
# ./pkg-message
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
X at comment $FreeBSD$
Xbin/hspell
Xbin/hspell-i
Xshare/hspell/likelyerrors
Xshare/hspell/spellinghints
X%%VERB%%share/hspell/out.nouns
X%%VERB%%share/hspell/out.verbs
X%%VERB%%share/hspell/out.nouns-shemp
X%%VERB%%share/hspell/milot
X%%VERB%%share/hspell/extrawords
X%%VERB%%share/hspell/biza-verbs
X%%VERB%%share/hspell/biza-nouns
X%%NOVERB%%share/hspell/wordlist.wgz
X%%NOVERB%%libexec/hspell/wunzip
X%%NOVERB%%@dirrm libexec/hspell
X at dirrm share/hspell
END-of-./pkg-plist
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XHspell is a fully working Hebrew spellchecker. On typical documents
Xit should recognize the majority of correct words.
XHspell was designed to be 100% and strictly compliant with the
Xofficial niqqud-less spelling rules ("Ha-ktiv Khasar Ha-niqqud",
Xcolloquially known as "Ktiv Male") published by the Academy of
Xthe Hebrew Language.
X
XHspell was written by Nadav Har'El and Dan Kenigsberg.
X
XWWW: http://www.ivrix.org.il/projects/spell-checker/
END-of-./pkg-descr
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (hspell-0.5.tar.gz) = d56a89702f24995bc18cb68b9c986520
END-of-./distinfo
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# Ports collection makefile for: hspell
X# Date created: 03 Feb 2003
X# Whom: Yonatan <Yonatan at xpert.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= hspell
XPORTVERSION= 0.5
XCATEGORIES= hebrew
XMASTER_SITES= http://www.ivrix.org.il/projects/spell-checker/
X
XMAINTAINER= yonatan at xpert.com
XCOMMENT= Hebrew spellchecker and morphology engine
X
XUSE_PERL5= yes
X
XMAN1= hspell.1
X
X.if defined(NO_VERBOSE)
XALL_TARGET=install_compressed
XPLIST_SUB+= NOVERB=""
XPLIST_SUB+= VERB="@comment "
X.else
XPLIST_SUB+= NOVERB="@comment "
XPLIST_SUB+= VERB=""
X
Xpre-everything::
X @${ECHO_CMD} "If you want a smaller, faster version where the -v"
X @${ECHO_CMD} "option is dysfunctional, stop now and use NO_VERBOSE."
X @sleep 3
X.endif
X
Xpost-install:
X @${SED} -e "s:%%PORTSDIR%%:${PORTSDIR}:g" ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-./Makefile
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-Makefile
sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
X--- Makefile.orig Thu May 8 13:16:35 2003
X+++ Makefile Thu May 8 13:17:36 2003
X@@ -14,10 +14,10 @@
X
X # build and installation paths
X DESTDIR =
X-PREFIX = /usr/local
X+PREFIX ?= /usr/local
X BIN = $(PREFIX)/bin
X SHARE = $(PREFIX)/share/hspell
X-LIBEXEC = $(PREFIX)/lib/hspell
X+LIBEXEC = $(PREFIX)/libexec/hspell
X MAN1 = $(PREFIX)/man/man1
X
X
X@@ -51,8 +51,8 @@
X sed 's+^my @dictionaries=.*$$+my @dictionaries=("gzip -dc $(SHARE)/wordlist.wgz|$(LIBEXEC)/wunzip|");+; s+my @likelyerror.*$$+my @likelyerror_dictionaries=("$(SHARE)/likelyerrors");+; s+ at spellinghints_dictionaries=("spellinghints")+ at spellinghints_dictionaries=("$(SHARE)/spellinghints")+' < hspell.pl > $@
X chmod 755 $@
X
X-CFLAGS=-O
X-LDFLAGS=-s
X+CFLAGS?=-O
X+LDFLAGS?=-s
X wunzip:
X
X # experimental, not currently in use:
END-of-./files/patch-Makefile
echo x - ./pkg-message
sed 's/^X//' >./pkg-message << 'END-of-./pkg-message'
XThe recommended usage of this port is first to teach your terminal to display
Xhebrew fonts, like this:
X
Xvidcontrol < /dev/ttyv0 -f 8x16 iso08-8x16.fnt
X
Xor set this in /etc/rc.conf:
X
Xfont8x16=iso08-8x16.fnt
X
XThen, it would be wise to install bidiv from %%PORTSDIR%%/textproc/bidiv
Xand run Hspell:
X
Xhspell file.txt | bidiv
X
XPlus, Hspell can use Ispell as a slave (option -i or executable hspell-i).
XIspell can be found in %%PORTSDIR%%/textproc/ispell .
END-of-./pkg-message
exit
--- hspell-0.5.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list