aboutsummaryrefslogtreecommitdiffstats
path: root/russian
diff options
context:
space:
mode:
Diffstat (limited to 'russian')
-rw-r--r--russian/rispell/Makefile10
-rw-r--r--russian/rispell/pkg-plist3
2 files changed, 11 insertions, 2 deletions
diff --git a/russian/rispell/Makefile b/russian/rispell/Makefile
index 77e556d8f809..68a6f3e7ff13 100644
--- a/russian/rispell/Makefile
+++ b/russian/rispell/Makefile
@@ -7,19 +7,27 @@
PORTNAME= ispell
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= russian textproc
MASTER_SITES= http://www.ispras.ru/~knizhnik/
DISTNAME= rispell
MAINTAINER= ports@FreeBSD.org
+# Very dirty implementation, use rus-ispell port instead
+NO_LATEST_LINK= yes
+
BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
WRKSRC= ${WRKDIR}/russian-ispell
+post-build:
+ cd ${WRKSRC} && LANG=ru_RU.KOI8-R sort russian.sml > russian.dict
+
do-install:
cd ${WRKSRC} && \
- ${INSTALL_DATA} russian.hash russian.aff ${PREFIX}/share/ispell
+ ${INSTALL_DATA} russian.hash russian.aff russian.dict \
+ ${PREFIX}/share/ispell
${INSTALL_SCRIPT} ${FILESDIR}/rispell.sh ${PREFIX}/bin/rispell
.include <bsd.port.mk>
diff --git a/russian/rispell/pkg-plist b/russian/rispell/pkg-plist
index b2173c78d351..a4cbf04fe050 100644
--- a/russian/rispell/pkg-plist
+++ b/russian/rispell/pkg-plist
@@ -1,3 +1,4 @@
bin/rispell
-share/ispell/russian.hash
share/ispell/russian.aff
+share/ispell/russian.dict
+share/ispell/russian.hash