freebsd-ports/textproc/te-hunspell/Makefile

34 lines
793 B
Makefile
Raw Normal View History

2011-07-20 23:07:01 +02:00
# $FreeBSD$
PORTNAME= hunspell
2011-07-20 23:07:01 +02:00
DISTVERSION= 0.01-2
PORTREVISION= 1
2011-07-20 23:07:01 +02:00
CATEGORIES= textproc
MASTER_SITES= GNU/aspell/dict/te
PKGNAMEPREFIX= te-
2011-07-20 23:07:01 +02:00
DISTNAME= aspell6-te-${DISTVERSION}
DIST_SUBDIR= ${PORTNAME}
2011-07-20 23:07:01 +02:00
MAINTAINER= office@FreeBSD.org
2011-07-20 23:07:01 +02:00
COMMENT= Telugu hunspell dictionaries
BUILD_DEPENDS= prezip-bin:${PORTSDIR}/textproc/aspell \
wordlist2hunspell:${PORTSDIR}/textproc/hunspell
2011-07-20 23:07:01 +02:00
USE_BZIP2= yes
2011-07-20 23:07:01 +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}; \
${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>