1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

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>
This commit is contained in:
Yen-Ming Lee 2003-08-06 17:09:59 +00:00
parent 1cbb6d6420
commit bb36bc797c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86395
4 changed files with 13 additions and 34 deletions

View File

@ -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}

View File

@ -1 +1 @@
MD5 (hspell-0.5.tar.gz) = d56a89702f24995bc18cb68b9c986520
MD5 (hspell-0.6.tar.gz) = a00bbcc5c603eb1375fa191777720b5e

View File

@ -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 $@

View File

@ -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%%