summaryrefslogtreecommitdiffstats
path: root/russian
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-04-30 23:38:48 +0000
committerache <ache@FreeBSD.org>2001-04-30 23:38:48 +0000
commita978e6547cf7eab977692e6f3c49d56a87f5d3e0 (patch)
treefbdc66f87193befc8a60e7cb11b42cc1981364b9 /russian
parent47bd0b100e170503badaeb214ab08718d823303b (diff)
downloadFreeBSD-ports-a978e6547cf7eab977692e6f3c49d56a87f5d3e0.zip
FreeBSD-ports-a978e6547cf7eab977692e6f3c49d56a87f5d3e0.tar.gz
By default add yo and ye forms both
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 93afa40..7251ea7 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 ccb1305..2042b8c 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)
OpenPOWER on IntegriCloud