From e7976247ef3aa4876001f01a21561d5ff3a5c65b Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 20 Jul 2011 14:49:24 +0000 Subject: Add french hyphenation rules --- french/Makefile | 1 + french/hyphen/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ french/hyphen/distinfo | 2 ++ french/hyphen/pkg-descr | 3 +++ 4 files changed, 45 insertions(+) create mode 100644 french/hyphen/Makefile create mode 100644 french/hyphen/distinfo create mode 100644 french/hyphen/pkg-descr (limited to 'french') 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 +# +# $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 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 -- cgit v1.2.3