By default add yo and ye forms both

This commit is contained in:
Andrey A. Chernov 2001-04-30 23:38:48 +00:00
parent b34da5a3f5
commit 8e5349b086
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42103
2 changed files with 11 additions and 6 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= rus-ispell
PORTVERSION= 0.99d9
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= russian textproc
MASTER_SITES= ftp://mch5.chem.msu.su/pub/russian/ispell/
@ -16,7 +16,7 @@ MAINTAINER= ache@FreeBSD.org
BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
USE_GMAKE= yes
.if defined(RUS_ISPELL_WITH_YO)
.if defined(RUS_ISPELL_WITH_YO_ONLY)
MAKE_ARGS+= YO=1
.endif
.if defined(RUS_ISPELL_LOCAL_DICT)

View file

@ -1,6 +1,6 @@
--- Makefile.orig Tue Oct 19 23:58:46 1999
+++ Makefile Sun Apr 29 05:48:25 2001
@@ -22,7 +22,17 @@
+++ Makefile Tue May 1 03:28:34 2001
@@ -22,7 +22,22 @@
cp russian.hash russian.aff $(LIB)
russian.dict.koi: $(DICT)
@ -13,8 +13,13 @@
+else
+ mv distwords.tmp repwords.tmp
+endif
+ cat repwords.tmp $(LOCAL_DICT) $(YO2E) | ./sortkoi8 | uniq > $@
+ rm -f repwords.tmp
+ifndef YO
+ grep -h "[³£]" repwords.tmp $(LOCAL_DICT) $(YO2E) > ewords.tmp
+else
+ cp /dev/null ewords.tmp
+endif
+ cat repwords.tmp $(LOCAL_DICT) ewords.tmp | ./sortkoi8 | uniq > $@
+ rm -f repwords.tmp ewords.tmp
+
check_dict: $(DICT)