aboutsummaryrefslogtreecommitdiffstats
path: root/russian
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-02-05 07:15:40 +0800
committerache <ache@FreeBSD.org>2001-02-05 07:15:40 +0800
commitf8adfa0510ec7f840ff43bb84e13a56e441a8ddb (patch)
tree1b4be929f8693a204265818de32c916b85003565 /russian
parent0137326700f7e73259939a34ba7c59c1770a2f00 (diff)
downloadfreebsd-ports-gnome-f8adfa0510ec7f840ff43bb84e13a56e441a8ddb.tar.gz
freebsd-ports-gnome-f8adfa0510ec7f840ff43bb84e13a56e441a8ddb.tar.zst
freebsd-ports-gnome-f8adfa0510ec7f840ff43bb84e13a56e441a8ddb.zip
Install *.dict too
Add some comments about this implementation
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