aboutsummaryrefslogtreecommitdiff
path: root/russian/rispell/Makefile
blob: c656bc694277c466a278d408b5fcde3654bcf8f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    rispell
# Date created:         16 Dec 1997
# Whom:                 ache
#
# $FreeBSD$
#

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 russian.dict \
		${PREFIX}/share/ispell
	${INSTALL_SCRIPT} ${FILESDIR}/rispell.sh ${PREFIX}/bin/rispell

.include <bsd.port.mk>