blob: 9aa7c2b71edef78393476abd0dd350d42f57e735 (
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
|
# New ports collection makefile for: te-hunspell
# Date created: 2011-07-20
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= hunspell
DISTVERSION= 0.01-2
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= GNU/aspell/dict/te
PKGNAMEPREFIX= te-
DISTNAME= aspell6-te-${DISTVERSION}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Telugu hunspell dictionaries
BUILD_DEPENDS= prezip-bin:${PORTSDIR}/textproc/aspell \
wordlist2hunspell:${PORTSDIR}/textproc/hunspell
USE_BZIP2= yes
PLIST_FILES= %%DATADIR%%/te_IN.aff \
%%DATADIR%%/te_IN.dic
PLIST_DIRSTRY= %%DATADIR%%
do-build:
@cd ${WRKSRC}; \
${LOCALBASE}/bin/prezip-bin -d < te.cwl > te.txt; \
${SETENV} LANG=te_IN.utf8 ${LOCALBASE}/bin/wordlist2hunspell te.txt te_IN
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/te_IN.aff ${WRKSRC}/te_IN.dic ${DATADIR}/
.include <bsd.port.mk>
|