2011-07-20 23:07:01 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2011-07-29 15:13:17 +02:00
|
|
|
PORTNAME= hunspell
|
2011-07-20 23:07:01 +02:00
|
|
|
DISTVERSION= 0.01-2
|
2011-07-29 15:13:17 +02:00
|
|
|
PORTREVISION= 1
|
2011-07-20 23:07:01 +02:00
|
|
|
CATEGORIES= textproc
|
2011-07-29 15:13:17 +02:00
|
|
|
MASTER_SITES= GNU/aspell/dict/te
|
|
|
|
PKGNAMEPREFIX= te-
|
2011-07-20 23:07:01 +02:00
|
|
|
DISTNAME= aspell6-te-${DISTVERSION}
|
2011-08-17 20:03:06 +02:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2011-07-20 23:07:01 +02:00
|
|
|
|
2011-07-22 07:30:11 +02:00
|
|
|
MAINTAINER= office@FreeBSD.org
|
2011-07-20 23:07:01 +02:00
|
|
|
COMMENT= Telugu hunspell dictionaries
|
|
|
|
|
2011-07-29 15:13:17 +02:00
|
|
|
BUILD_DEPENDS= prezip-bin:${PORTSDIR}/textproc/aspell \
|
|
|
|
wordlist2hunspell:${PORTSDIR}/textproc/hunspell
|
2011-07-20 23:07:01 +02:00
|
|
|
|
2011-07-29 15:13:17 +02:00
|
|
|
USE_BZIP2= yes
|
2011-07-20 23:07:01 +02:00
|
|
|
|
2011-07-29 15:13:17 +02:00
|
|
|
PLIST_FILES= %%DATADIR%%/te_IN.aff \
|
|
|
|
%%DATADIR%%/te_IN.dic
|
|
|
|
PLIST_DIRSTRY= %%DATADIR%%
|
2011-07-20 23:07:01 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
@cd ${WRKSRC}; \
|
2011-07-29 15:13:17 +02:00
|
|
|
${LOCALBASE}/bin/prezip-bin -d < te.cwl > te.txt; \
|
|
|
|
${SETENV} LANG=te_IN.utf8 ${LOCALBASE}/bin/wordlist2hunspell te.txt te_IN
|
2011-07-20 23:07:01 +02:00
|
|
|
|
|
|
|
do-install:
|
2013-09-23 23:34:48 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/te_IN.aff ${WRKSRC}/te_IN.dic ${STAGEDIR}${DATADIR}/
|
2011-07-20 23:07:01 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|