diff options
Diffstat (limited to 'russian/rus-ispell')
-rw-r--r-- | russian/rus-ispell/Makefile | 4 | ||||
-rw-r--r-- | russian/rus-ispell/files/patch-ab | 13 |
2 files changed, 11 insertions, 6 deletions
diff --git a/russian/rus-ispell/Makefile b/russian/rus-ispell/Makefile index 93afa405d764..7251ea75456b 100644 --- a/russian/rus-ispell/Makefile +++ b/russian/rus-ispell/Makefile @@ -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) diff --git a/russian/rus-ispell/files/patch-ab b/russian/rus-ispell/files/patch-ab index ccb1305e1ea8..2042b8c0358a 100644 --- a/russian/rus-ispell/files/patch-ab +++ b/russian/rus-ispell/files/patch-ab @@ -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) |