Install *.dict too
Add some comments about this implementation
This commit is contained in:
parent
a01c32ad5f
commit
0599fa97f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37958
2 changed files with 11 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
bin/rispell
|
||||
share/ispell/russian.hash
|
||||
share/ispell/russian.aff
|
||||
share/ispell/russian.dict
|
||||
share/ispell/russian.hash
|
||||
|
|
Loading…
Reference in a new issue