diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-07-20 09:02:37 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-07-20 09:02:37 +0000 |
commit | 6bfb361e6b7904c679d36fdf1fd3e9db9d4b7c7a (patch) | |
tree | 0a02f167a921b13a862f17ae52203fd724f373ca /french/hunspell/Makefile | |
parent | - now only provides the hungarian dictionnaries (diff) |
Add french modern dictionnary for hunspell
Notes
Notes:
svn path=/head/; revision=277987
Diffstat (limited to 'french/hunspell/Makefile')
-rw-r--r-- | french/hunspell/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/french/hunspell/Makefile b/french/hunspell/Makefile new file mode 100644 index 000000000000..08f2ff616cdc --- /dev/null +++ b/french/hunspell/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: hunspell +# Date created: 2011-07-20 +# Whom: Baptiste Daroussin <bapt@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= hunspell +PORTVERSION= 4.2 +CATEGORIES= french textproc +MASTER_SITES= http://www.dicollecte.org/download/fr/ +DISTNAME= hunspell-fr-moderne-v${PORTVERSION} + +MAINTAINER= bapt@FreeBSD.org +COMMENT= Hunspell modern french dictionnary + +USE_ZIP= yes +NO_BUILD= yes + +FRALIASES= fr_BE fr_CA fr_CH fr_LU +PLIST_FILES= share/hunspell/fr_FR.aff \ + share/hunspell/fr_FR.dic +.for ALIAS in ${FRALIASES} +PLIST_FILES+= share/hunspell/${ALIAS}.aff \ + share/hunspell/${ALIAS}.dic +.endfor +PLIST_DIRS= share/hunspell + +do-install: + @${MKDIR} ${PREFIX}/share/hunspell + @${INSTALL_DATA} ${WRKDIR}/fr-moderne.aff ${PREFIX}/share/hunspell/fr_FR.aff + @${INSTALL_DATA} ${WRKDIR}/fr-moderne.dic ${PREFIX}/share/hunspell/fr_FR.dic + @cd ${PREFIX}/share/hunspell; \ + for alias in ${FRALIASES}; do \ + ${LN} -s fr_FR.aff $${alias}.aff ; \ + ${LN} -s fr_FR.dic $${alias}.dic ; \ + done + +.include <bsd.port.mk> |