summaryrefslogtreecommitdiffstats
path: root/russian/rispell
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-02-04 23:15:40 +0000
committerache <ache@FreeBSD.org>2001-02-04 23:15:40 +0000
commitf8adfa0510ec7f840ff43bb84e13a56e441a8ddb (patch)
tree1b4be929f8693a204265818de32c916b85003565 /russian/rispell
parent0137326700f7e73259939a34ba7c59c1770a2f00 (diff)
downloadFreeBSD-ports-f8adfa0510ec7f840ff43bb84e13a56e441a8ddb.zip
FreeBSD-ports-f8adfa0510ec7f840ff43bb84e13a56e441a8ddb.tar.gz
Install *.dict too
Add some comments about this implementation
Diffstat (limited to 'russian/rispell')
-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 77e556d..68a6f3e 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 b2173c7..a4cbf04 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
OpenPOWER on IntegriCloud