aboutsummaryrefslogtreecommitdiff
path: root/russian/rus-ispell/Makefile
blob: a094939396677ce34e0a4a39c7a62f076ac5813d (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
34
35
36
37
# New ports collection makefile for:	rus-ispell
# Date created:				29.01.2001
# Whom:					ache
#
# $FreeBSD$
#

PORTNAME=	rus-ispell
PORTVERSION=	0.99g5
CATEGORIES=	russian textproc
MASTER_SITES=	ftp://scon155.phys.msu.su/pub/russian/ispell/

MAINTAINER=	ache@FreeBSD.org
COMMENT=	New Russian dictionaries for ispell

BUILD_DEPENDS=	buildhash:${PORTSDIR}/textproc/ispell
RUN_DEPENDS=	ispell:${PORTSDIR}/textproc/ispell

USE_GMAKE=	yes
.if defined(RUS_ISPELL_WITH_YO_ONLY)
MAKE_ARGS+=	YO=1
.endif
.if defined(RUS_ISPELL_LOCAL_DICT)
MAKE_ARGS+=	LOCAL_DICT=${RUS_ISPELL_LOCAL_DICT}
.endif

ALL_TARGET=	koi

NO_WRKSUBDIR=	yes

do-install:
	cd ${WRKSRC} && \
		${INSTALL_DATA} russian.hash russian.dict russian.aff \
		${PREFIX}/share/ispell
	${INSTALL_SCRIPT} ${FILESDIR}/ispell-ru.sh ${PREFIX}/bin/ispell-ru

.include <bsd.port.mk>