diff options
author | bapt <bapt@FreeBSD.org> | 2011-07-20 17:02:37 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2011-07-20 17:02:37 +0800 |
commit | b8ad431e9e5f26846974b7d4481100d45ef68d00 (patch) | |
tree | e5525c9af17e388531f7516ce7608ae7c3bf599f /french/hunspell | |
parent | 48a6dad1741622de9fa60981670cad714d5243c4 (diff) | |
download | freebsd-ports-gnome-b8ad431e9e5f26846974b7d4481100d45ef68d00.tar.gz freebsd-ports-gnome-b8ad431e9e5f26846974b7d4481100d45ef68d00.tar.zst freebsd-ports-gnome-b8ad431e9e5f26846974b7d4481100d45ef68d00.zip |
Add french modern dictionnary for hunspell
Diffstat (limited to 'french/hunspell')
-rw-r--r-- | french/hunspell/Makefile | 39 | ||||
-rw-r--r-- | french/hunspell/distinfo | 2 | ||||
-rw-r--r-- | french/hunspell/pkg-descr | 3 |
3 files changed, 44 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> diff --git a/french/hunspell/distinfo b/french/hunspell/distinfo new file mode 100644 index 000000000000..d67cde6ba465 --- /dev/null +++ b/french/hunspell/distinfo @@ -0,0 +1,2 @@ +SHA256 (hunspell-fr-moderne-v4.2.zip) = 7e98d1c1c942759283c889d44f158f2abb673227a2a58e0807c108d945fbfd00 +SIZE (hunspell-fr-moderne-v4.2.zip) = 338313 diff --git a/french/hunspell/pkg-descr b/french/hunspell/pkg-descr new file mode 100644 index 000000000000..74f740d00df6 --- /dev/null +++ b/french/hunspell/pkg-descr @@ -0,0 +1,3 @@ +Hunspell modern french dictionnary + +WWW: http://www.dicollecte.org/ |