Add french hyphenation rules

This commit is contained in:
Baptiste Daroussin 2011-07-20 14:49:24 +00:00
parent df3d22d7e9
commit e7976247ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278011
4 changed files with 45 additions and 0 deletions

View File

@ -22,6 +22,7 @@
SUBDIR += gimp-help
SUBDIR += homard
SUBDIR += hunspell
SUBDIR += hyphen
SUBDIR += ispell
SUBDIR += jdictionary-fre-hun
SUBDIR += kde3-i18n

39
french/hyphen/Makefile Normal file
View File

@ -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>

2
french/hyphen/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (hyph_fr_2-0.zip) = b947910457001fc0ca187354ec2256753c07a7fade7be60507c6c4b85f926c24
SIZE (hyph_fr_2-0.zip) = 325626

3
french/hyphen/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
French hyphenation rules
WWW: http://www.dicollecte.org/download.php?prj=fr