aboutsummaryrefslogtreecommitdiffstats
path: root/french
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2011-07-20 22:49:24 +0800
committerbapt <bapt@FreeBSD.org>2011-07-20 22:49:24 +0800
commit08fe820455e1c817208d4693c2d2ca87f907e08c (patch)
tree27291a5e4833a493dd3f12a42457eb6eb3097c73 /french
parent9cbfb8533c340c0f3185808ccccc2bd0009641f5 (diff)
downloadfreebsd-ports-gnome-08fe820455e1c817208d4693c2d2ca87f907e08c.tar.gz
freebsd-ports-gnome-08fe820455e1c817208d4693c2d2ca87f907e08c.tar.zst
freebsd-ports-gnome-08fe820455e1c817208d4693c2d2ca87f907e08c.zip
Add french hyphenation rules
Diffstat (limited to 'french')
-rw-r--r--french/Makefile1
-rw-r--r--french/hyphen/Makefile39
-rw-r--r--french/hyphen/distinfo2
-rw-r--r--french/hyphen/pkg-descr3
4 files changed, 45 insertions, 0 deletions
diff --git a/french/Makefile b/french/Makefile
index f10b6b9b5ec6..6363e4d6e9a7 100644
--- a/french/Makefile
+++ b/french/Makefile
@@ -22,6 +22,7 @@
SUBDIR += gimp-help
SUBDIR += homard
SUBDIR += hunspell
+ SUBDIR += hyphen
SUBDIR += ispell
SUBDIR += jdictionary-fre-hun
SUBDIR += kde3-i18n
diff --git a/french/hyphen/Makefile b/french/hyphen/Makefile
new file mode 100644
index 000000000000..24c8fcd68b54
--- /dev/null
+++ b/french/hyphen/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: hyphen
+# Date created: 2011-07-20
+# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hyphen
+PORTVERSION= 2.0
+#PORTREVISION= 0
+#PORTEPOCH= 0
+CATEGORIES= french textproc
+MASTER_SITES= http://www.dicollecte.org/download/fr/
+DISTNAME= hyph_fr_${PORTVERSION:S/./-/}
+
+MAINTAINER= bapt@FreeBSD.org
+COMMENT= French hyphenation rules
+
+USE_ZIP= yes
+NO_BUILD= yes
+
+PLIST_FILES= share/hyphen/hyph_fr_FR.dic
+
+FRALIASES= fr_BE fr_CA fr_CH fr_LU
+
+.for ALIAS in ${FRALIASES}
+PLIST_FILES+= share/hyphen/hyph_${ALIAS}.dic
+.endfor
+PLIST_DIRS= share/hyphen
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/hyphen
+ @${INSTALL_DATA} ${WRKDIR}/hyph_fr_FR.dic ${PREFIX}/share/hyphen
+ @cd ${PREFIX}/share/hyphen; \
+ for alias in ${FRALIASES}; do \
+ ${LN} -s hyph_fr_FR.dic hyph_$${alias}.dic ; \
+ done
+
+.include <bsd.port.mk>
diff --git a/french/hyphen/distinfo b/french/hyphen/distinfo
new file mode 100644
index 000000000000..5d28fd80b3e2
--- /dev/null
+++ b/french/hyphen/distinfo
@@ -0,0 +1,2 @@
+SHA256 (hyph_fr_2-0.zip) = b947910457001fc0ca187354ec2256753c07a7fade7be60507c6c4b85f926c24
+SIZE (hyph_fr_2-0.zip) = 325626
diff --git a/french/hyphen/pkg-descr b/french/hyphen/pkg-descr
new file mode 100644
index 000000000000..6197fa2fb2e6
--- /dev/null
+++ b/french/hyphen/pkg-descr
@@ -0,0 +1,3 @@
+French hyphenation rules
+
+WWW: http://www.dicollecte.org/download.php?prj=fr