summaryrefslogtreecommitdiffstats
path: root/textproc/ua-ispell/Makefile
blob: 2e9a9cb2264f8ec0e1667532a8a1c83cd0bc499a (plain)
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
38
39
40
41
42
43
# New ports collection makefile for:    ukr-ispell
# Date created:         5 Dec 2000
# Whom:                 mi
#
# $FreeBSD$
#

PORTNAME=	ispell-uk
PORTVERSION=	0.7
PORTREVISION=	1
CATEGORIES=     textproc ukrainian
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	ispell-uk

MAINTAINER=     mi@aldan.algebra.com
COMMENT=	Ukrainian (KOI8-U) dictionary for ISPELL

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

USE_BZIP2=	YES
ALL_TARGET=	koi
USE_GMAKE=	YES
USE_PERL5=	yes

# Still need gmake for other reasons :-\
#post-patch:
#	${PERL} -pi -e 's,\$$\(MAKE\) -C (\w+),cd \1 && make,g' \
#		${WRKSRC}/Makefile.in

do-configure:
	cd ${WRKSRC} && ${SH} ./makeconfig.sh \
		-ispell=${PREFIX}/share/ispell -default=koi

do-install:
	${INSTALL_DATA} ${WRKSRC}/ukrainian-koi.hash \
		${PREFIX}/share/ispell/ukrainian.hash
	${INSTALL_DATA} ${WRKSRC}/Affix/ukrainian-koi.aff \
		${PREFIX}/share/ispell/ukrainian.aff
	${INSTALL_DATA} ${WRKSRC}/Dictionary/ukrainian-koi.dict \
		${PREFIX}/share/ispell/ukrainian.dict
	${INSTALL_SCRIPT} ${FILESDIR}/ispell-uk ${PREFIX}/bin

.include <bsd.port.mk>
OpenPOWER on IntegriCloud