aboutsummaryrefslogtreecommitdiff
path: root/french/hyphen
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-07-20 14:49:24 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-07-20 14:49:24 +0000
commite7976247ef3aa4876001f01a21561d5ff3a5c65b (patch)
treef8f167aacd30e70eb29fcde53554c97a11f98069 /french/hyphen
parentdf3d22d7e9239312692a2b30d94c4c9ff98fd13e (diff)
downloadports-e7976247ef3aa4876001f01a21561d5ff3a5c65b.tar.gz
ports-e7976247ef3aa4876001f01a21561d5ff3a5c65b.zip
Add french hyphenation rules
Notes
Notes: svn path=/head/; revision=278011
Diffstat (limited to 'french/hyphen')
-rw-r--r--french/hyphen/Makefile39
-rw-r--r--french/hyphen/distinfo2
-rw-r--r--french/hyphen/pkg-descr3
3 files changed, 44 insertions, 0 deletions
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