From bb36bc797c075262c6b108a38792fcf0c4b5450a Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Wed, 6 Aug 2003 17:09:59 +0000 Subject: Moved to a C frontend, instead of perl. Lost Verbosity option on the way, making the Makefile and pkg-plist simpler, and perl not required to run anymore. PR: 55303 Submitted by: Yonatan@xpert.com --- hebrew/hspell/Makefile | 19 +++---------------- hebrew/hspell/distinfo | 2 +- hebrew/hspell/files/patch-Makefile | 8 ++++---- hebrew/hspell/pkg-plist | 18 +++++------------- 4 files changed, 13 insertions(+), 34 deletions(-) (limited to 'hebrew') diff --git a/hebrew/hspell/Makefile b/hebrew/hspell/Makefile index d1fa4656a1a6..0a9530d77c99 100644 --- a/hebrew/hspell/Makefile +++ b/hebrew/hspell/Makefile @@ -6,31 +6,18 @@ # PORTNAME= hspell -PORTVERSION= 0.5 +PORTVERSION= 0.6 CATEGORIES= hebrew MASTER_SITES= http://www.ivrix.org.il/projects/spell-checker/ MAINTAINER= yonatan@xpert.com COMMENT= Hebrew spellchecker and morphology engine -USE_PERL5= yes +USE_PERL5_BUILD= yes +USE_GMAKE= 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 5b11124105eb..11c57790db37 100644 --- a/hebrew/hspell/distinfo +++ b/hebrew/hspell/distinfo @@ -1 +1 @@ -MD5 (hspell-0.5.tar.gz) = d56a89702f24995bc18cb68b9c986520 +MD5 (hspell-0.6.tar.gz) = a00bbcc5c603eb1375fa191777720b5e diff --git a/hebrew/hspell/files/patch-Makefile b/hebrew/hspell/files/patch-Makefile index e1604f465087..5e00f5cbdf30 100644 --- a/hebrew/hspell/files/patch-Makefile +++ b/hebrew/hspell/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig Thu May 8 13:16:35 2003 -+++ Makefile Thu May 8 13:17:36 2003 +--- Makefile.orig Wed Aug 6 11:51:16 2003 ++++ Makefile Wed Aug 6 11:51:47 2003 @@ -14,10 +14,10 @@ # build and installation paths @@ -12,8 +12,8 @@ +LIBEXEC = $(PREFIX)/libexec/hspell MAN1 = $(PREFIX)/man/man1 - -@@ -51,8 +51,8 @@ + all: cfrontend +@@ -59,8 +59,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 $@ diff --git a/hebrew/hspell/pkg-plist b/hebrew/hspell/pkg-plist index 07c41903b3e0..9289d92a17d3 100644 --- a/hebrew/hspell/pkg-plist +++ b/hebrew/hspell/pkg-plist @@ -1,16 +1,8 @@ @comment $FreeBSD$ bin/hspell bin/hspell-i -share/hspell/likelyerrors -share/hspell/spellinghints -%%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 +bin/multispell +%%DATADIR%%/hebrew.wgz +%%DATADIR%%/hebrew.wgz.prefixes +%%DATADIR%%/hebrew.wgz.sizes +@dirrm %%DATADIR%% -- cgit v1.2.3