blob: c7ee0b73c9359595e4aa4ad3f826a37ff64b6cf0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $FreeBSD$
PORTNAME= hunspell
PORTVERSION= 5.0.2
CATEGORIES= french textproc
MASTER_SITES= http://www.dicollecte.org/download/fr/ \
LOCAL/sunpoet/${PORTNAME}
DISTNAME= hunspell-french-dictionaries-v${PORTVERSION}
EXTRACT_SUFX= .zip
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Modern French hunspell dictionaries
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= %%DATADIR%%/fr_FR.aff \
%%DATADIR%%/fr_FR.dic
PLIST_DIRSTRY= %%DATADIR%%
FRALIASES= fr_BE fr_CA fr_CH fr_LU
.for ALIAS in ${FRALIASES}
PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
%%DATADIR%%/${ALIAS}.dic
.endfor
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/fr-moderne.aff ${STAGEDIR}${DATADIR}/fr_FR.aff
${INSTALL_DATA} ${WRKSRC}/fr-moderne.dic ${STAGEDIR}${DATADIR}/fr_FR.dic
.for ALIAS in ${FRALIASES}
${LN} -sf fr_FR.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff
${LN} -sf fr_FR.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic
.endfor
.include <bsd.port.mk>
|