1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/french/hunspell/Makefile
2019-09-30 05:33:46 +00:00

40 lines
941 B
Makefile

# $FreeBSD$
PORTNAME= hunspell
PORTVERSION= 6.4.1
DISTVERSIONPREFIX= french-dictionaries-v
CATEGORIES= french textproc
MASTER_SITES= https://www.dicollecte.org/download/fr/ \
LOCAL/sunpoet/${PORTNAME}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Modern French hunspell dictionaries
LICENSE= MPL20
USES= zip
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= ${DATADIR}/fr_FR.aff \
${DATADIR}/fr_FR.dic
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>