aboutsummaryrefslogtreecommitdiff
path: root/russian/rus-ispell
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-04-29 01:55:28 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-04-29 01:55:28 +0000
commit12aa0428af69fc719601b974a37608a06c6df03e (patch)
tree780cce8b29cfe39c8be27b84d1ce77f3cc16a64e /russian/rus-ispell
parent36ba9c24cc68ec20159b7ac775216aeecd6d4eb8 (diff)
downloadports-12aa0428af69fc719601b974a37608a06c6df03e.tar.gz
ports-12aa0428af69fc719601b974a37608a06c6df03e.zip
Notes
Diffstat (limited to 'russian/rus-ispell')
-rw-r--r--russian/rus-ispell/files/patch-ab28
1 files changed, 19 insertions, 9 deletions
diff --git a/russian/rus-ispell/files/patch-ab b/russian/rus-ispell/files/patch-ab
index 20f5f9bf4e3b..ccb1305e1ea8 100644
--- a/russian/rus-ispell/files/patch-ab
+++ b/russian/rus-ispell/files/patch-ab
@@ -1,11 +1,21 @@
---- Makefile.bak Tue Oct 19 23:58:46 1999
-+++ Makefile Mon Apr 16 11:23:01 2001
-@@ -2,7 +2,7 @@
+--- Makefile.orig Tue Oct 19 23:58:46 1999
++++ Makefile Sun Apr 29 05:48:25 2001
+@@ -22,7 +22,17 @@
+ cp russian.hash russian.aff $(LIB)
- LIB=/usr/lib/ispell
+ russian.dict.koi: $(DICT)
+- cat $^ $(YO2E) | ./sortkoi8 | uniq > $@
++ cat $(DICT) > distwords.tmp
++ifdef LOCAL_DICT
++ cut -f 1 -d / < $(LOCAL_DICT) | sed "s/.*/^&(\/.*)?$$/" > mywords.tmp
++ egrep -v -f mywords.tmp < distwords.tmp > repwords.tmp
++ rm -f distwords.tmp mywords.tmp
++else
++ mv distwords.tmp repwords.tmp
++endif
++ cat repwords.tmp $(LOCAL_DICT) $(YO2E) | ./sortkoi8 | uniq > $@
++ rm -f repwords.tmp
++
--DICT = base.koi computer.koi geography.koi science.koi # rare.koi
-+DICT = base.koi computer.koi geography.koi science.koi $(LOCAL_DICT) # rare.koi
-
- ifdef YO
- PATT=y
+ check_dict: $(DICT)
+ for i in `cat $(DICT) | sed 's,/.*$$,,' | sort | uniq -d`; do \