aboutsummaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-02-04 23:15:40 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-02-04 23:15:40 +0000
commit0599fa97f674ae3423cab0a97fe5de621c2df0a3 (patch)
treeca3b1c9729d79b4af47b3e806d2ed10b4485a141 /russian
parenta01c32ad5f84d104244e2e6cfa75f4f2726ddd13 (diff)
downloadports-0599fa97f674ae3423cab0a97fe5de621c2df0a3.tar.gz
ports-0599fa97f674ae3423cab0a97fe5de621c2df0a3.zip
Install *.dict too
Add some comments about this implementation
Notes
Notes: svn path=/head/; revision=37958
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