aboutsummaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-04-30 23:38:48 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-04-30 23:38:48 +0000
commit8e5349b08665460d9c128f2593639d222ed694b2 (patch)
treec0bbabb0f173b806a5ea1428c2009e741972bb60 /russian
parentb34da5a3f53bd28fdee658f6ba347f482e01915e (diff)
downloadports-8e5349b08665460d9c128f2593639d222ed694b2.tar.gz
ports-8e5349b08665460d9c128f2593639d222ed694b2.zip
Notes
Diffstat (limited to 'russian')
-rw-r--r--russian/rus-ispell/Makefile4
-rw-r--r--russian/rus-ispell/files/patch-ab13
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)