diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-07-29 13:13:17 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-07-29 13:13:17 +0000 |
commit | 72c08ec487edbe98662f3278bee17f8726ee4ce4 (patch) | |
tree | a3c6d7d2a4a492c3e55a418f3fa370e951b5ccc7 /textproc/te-hunspell | |
parent | a600d4522cadfa512ce465f98566cee7b9bec843 (diff) |
Notes
Diffstat (limited to 'textproc/te-hunspell')
-rw-r--r-- | textproc/te-hunspell/Makefile | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/textproc/te-hunspell/Makefile b/textproc/te-hunspell/Makefile index d13c9855af03..eb7d9796a2b0 100644 --- a/textproc/te-hunspell/Makefile +++ b/textproc/te-hunspell/Makefile @@ -5,32 +5,33 @@ # $FreeBSD$ # -PORTNAME= te-hunspell +PORTNAME= hunspell DISTVERSION= 0.01-2 +PORTREVISION= 1 CATEGORIES= textproc -MASTER_SITES= ftp://ftp.gnu.org/gnu/aspell/dict/te/ +MASTER_SITES= GNU/aspell/dict/te +PKGNAMEPREFIX= te- DISTNAME= aspell6-te-${DISTVERSION} MAINTAINER= office@FreeBSD.org COMMENT= Telugu hunspell dictionaries -BUILD_DEPENDS= wordlist2hunspell:${PORTSDIR}/textproc/hunspell \ - prezip-bin:${PORTSDIR}/textproc/aspell -USE_BZIP2= yes +BUILD_DEPENDS= prezip-bin:${PORTSDIR}/textproc/aspell \ + wordlist2hunspell:${PORTSDIR}/textproc/hunspell -PLIST_FILES= share/hunspell/te_IN.aff \ - share/hunspell/te_IN.dic +USE_BZIP2= yes -PLIST_DIRS= share/hunspell +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; \ - LANG=te_IN.utf8 ${LOCALBASE}/bin/wordlist2hunspell te.txt te_IN + ${LOCALBASE}/bin/prezip-bin -d < te.cwl > te.txt; \ + ${SETENV} LANG=te_IN.utf8 ${LOCALBASE}/bin/wordlist2hunspell te.txt te_IN do-install: - @${MKDIR} ${PREFIX}/share/hunspell - @${INSTALL_DATA} ${WRKSRC}/te_IN.aff ${PREFIX}/share/hunspell - @${INSTALL_DATA} ${WRKSRC}/te_IN.dic ${PREFIX}/share/hunspell + ${MKDIR} ${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/te_IN.aff ${WRKSRC}/te_IN.dic ${DATADIR}/ .include <bsd.port.mk> |