aboutsummaryrefslogtreecommitdiffstats
path: root/french
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2011-07-20 17:02:37 +0800
committerbapt <bapt@FreeBSD.org>2011-07-20 17:02:37 +0800
commitb8ad431e9e5f26846974b7d4481100d45ef68d00 (patch)
treee5525c9af17e388531f7516ce7608ae7c3bf599f /french
parent48a6dad1741622de9fa60981670cad714d5243c4 (diff)
downloadfreebsd-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')
-rw-r--r--french/Makefile1
-rw-r--r--french/hunspell/Makefile39
-rw-r--r--french/hunspell/distinfo2
-rw-r--r--french/hunspell/pkg-descr3
4 files changed, 45 insertions, 0 deletions
diff --git a/french/Makefile b/french/Makefile
index 7e9cb5ede9df..f10b6b9b5ec6 100644
--- a/french/Makefile
+++ b/french/Makefile
@@ -21,6 +21,7 @@
SUBDIR += gibi
SUBDIR += gimp-help
SUBDIR += homard
+ SUBDIR += hunspell
SUBDIR += ispell
SUBDIR += jdictionary-fre-hun
SUBDIR += kde3-i18n
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/