diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-09 07:16:52 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-09 07:16:52 +0000 |
commit | e6cab3f30c623c35c0886652ebfb6851a2fd65fe (patch) | |
tree | 0a42cde93598d447352fdfca169112ed74935df5 /hebrew/hspell | |
parent | 48f0444a13ded24ce255b9360265d44e7bbca389 (diff) | |
download | ports-e6cab3f30c623c35c0886652ebfb6851a2fd65fe.tar.gz ports-e6cab3f30c623c35c0886652ebfb6851a2fd65fe.zip |
Notes
Diffstat (limited to 'hebrew/hspell')
-rw-r--r-- | hebrew/hspell/Makefile | 16 | ||||
-rw-r--r-- | hebrew/hspell/distinfo | 2 | ||||
-rw-r--r-- | hebrew/hspell/files/patch-Makefile | 16 | ||||
-rw-r--r-- | hebrew/hspell/pkg-message | 5 | ||||
-rw-r--r-- | hebrew/hspell/pkg-plist | 17 |
5 files changed, 40 insertions, 16 deletions
diff --git a/hebrew/hspell/Makefile b/hebrew/hspell/Makefile index 2003ed521918..d1fa4656a1a6 100644 --- a/hebrew/hspell/Makefile +++ b/hebrew/hspell/Makefile @@ -6,7 +6,7 @@ # PORTNAME= hspell -PORTVERSION= 0.4 +PORTVERSION= 0.5 CATEGORIES= hebrew MASTER_SITES= http://www.ivrix.org.il/projects/spell-checker/ @@ -17,6 +17,20 @@ USE_PERL5= yes MAN1= hspell.1 +.if defined(NO_VERBOSE) +ALL_TARGET=install_compressed +PLIST_SUB+= NOVERB="" +PLIST_SUB+= VERB="@comment " +.else +PLIST_SUB+= NOVERB="@comment " +PLIST_SUB+= VERB="" + +pre-everything:: + @${ECHO_CMD} "If you want a smaller, faster version where the -v" + @${ECHO_CMD} "option is dysfunctional, stop now and use NO_VERBOSE." + @sleep 3 +.endif + post-install: @${SED} -e "s:%%PORTSDIR%%:${PORTSDIR}:g" ${PKGMESSAGE} diff --git a/hebrew/hspell/distinfo b/hebrew/hspell/distinfo index fb0837518919..5b11124105eb 100644 --- a/hebrew/hspell/distinfo +++ b/hebrew/hspell/distinfo @@ -1 +1 @@ -MD5 (hspell-0.4.tar.gz) = 1ede349d43a2a5df4c1dce3c06c95918 +MD5 (hspell-0.5.tar.gz) = d56a89702f24995bc18cb68b9c986520 diff --git a/hebrew/hspell/files/patch-Makefile b/hebrew/hspell/files/patch-Makefile index c3c94b48ec53..e1604f465087 100644 --- a/hebrew/hspell/files/patch-Makefile +++ b/hebrew/hspell/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig Sat Mar 8 15:17:03 2003 -+++ Makefile Wed Apr 2 03:07:35 2003 -@@ -14,7 +14,7 @@ +--- Makefile.orig Thu May 8 13:16:35 2003 ++++ Makefile Thu May 8 13:17:36 2003 +@@ -14,10 +14,10 @@ # build and installation paths DESTDIR = @@ -8,9 +8,13 @@ +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 > $@ +-LIBEXEC = $(PREFIX)/lib/hspell ++LIBEXEC = $(PREFIX)/libexec/hspell + MAN1 = $(PREFIX)/man/man1 + + +@@ -51,8 +51,8 @@ + sed 's+^my @dictionaries=.*$$+my @dictionaries=("gzip -dc $(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 diff --git a/hebrew/hspell/pkg-message b/hebrew/hspell/pkg-message index dddbdbdcdf92..d702f08fd9bc 100644 --- a/hebrew/hspell/pkg-message +++ b/hebrew/hspell/pkg-message @@ -8,6 +8,9 @@ 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: +and run Hspell: hspell file.txt | bidiv + +Plus, Hspell can use Ispell as a slave (option -i or executable hspell-i). +Ispell can be found in %%PORTSDIR%%/textproc/ispell . diff --git a/hebrew/hspell/pkg-plist b/hebrew/hspell/pkg-plist index 7f0fffb2453b..07c41903b3e0 100644 --- a/hebrew/hspell/pkg-plist +++ b/hebrew/hspell/pkg-plist @@ -3,11 +3,14 @@ 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 +%%VERB%%share/hspell/out.nouns +%%VERB%%share/hspell/out.verbs +%%VERB%%share/hspell/out.nouns-shemp +%%VERB%%share/hspell/milot +%%VERB%%share/hspell/extrawords +%%VERB%%share/hspell/biza-verbs +%%VERB%%share/hspell/biza-nouns +%%NOVERB%%share/hspell/wordlist.wgz +%%NOVERB%%libexec/hspell/wunzip +%%NOVERB%%@dirrm libexec/hspell @dirrm share/hspell |