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/Makefile | |
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/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> |