aboutsummaryrefslogtreecommitdiffstats
path: root/hebrew/hspell
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-08-07 01:09:59 +0800
committerleeym <leeym@FreeBSD.org>2003-08-07 01:09:59 +0800
commita746663b84068b9a940282cbcade72923f896e4e (patch)
tree523a233f347e5a1a90c5178955d320e270987df0 /hebrew/hspell
parentd847ebb76cffe4283a6bc66e88974b09c1fc69a4 (diff)
downloadfreebsd-ports-gnome-a746663b84068b9a940282cbcade72923f896e4e.tar.gz
freebsd-ports-gnome-a746663b84068b9a940282cbcade72923f896e4e.tar.zst
freebsd-ports-gnome-a746663b84068b9a940282cbcade72923f896e4e.zip
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 <Yonatan@xpert.com>
Diffstat (limited to 'hebrew/hspell')
-rw-r--r--hebrew/hspell/Makefile19
-rw-r--r--hebrew/hspell/distinfo2
-rw-r--r--hebrew/hspell/files/patch-Makefile8
-rw-r--r--hebrew/hspell/pkg-plist18
4 files changed, 13 insertions, 34 deletions
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%%