2011-07-20 11:35:28 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2011-07-29 15:13:17 +02:00
|
|
|
PORTNAME= hunspell
|
2011-07-20 11:35:28 +02:00
|
|
|
PORTVERSION= 7.1
|
2011-07-29 15:13:17 +02:00
|
|
|
PORTREVISION= 1
|
2011-07-20 11:35:28 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= SF/wordlist/Hunspell%20en_US/${PORTVERSION}-0/ \
|
|
|
|
SF/wordlist/Hunspell%20en_CA/${PORTVERSION}-0/:CA \
|
2011-08-17 19:42:34 +02:00
|
|
|
LOCAL/sunpoet/${PORTNAME}/:GB
|
2011-07-29 15:13:17 +02:00
|
|
|
PKGNAMEPREFIX= en-
|
2011-07-20 11:35:28 +02:00
|
|
|
DISTFILES= hunspell-en_US-${PORTVERSION}-0${EXTRACT_SUFX} \
|
|
|
|
hunspell-en_CA-${PORTVERSION}-0${EXTRACT_SUFX}:CA \
|
2011-08-17 19:42:34 +02:00
|
|
|
en_GB-1.20.zip:GB
|
2011-08-17 20:03:06 +02:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2011-07-20 11:35:28 +02:00
|
|
|
|
2011-07-22 07:30:11 +02:00
|
|
|
MAINTAINER= office@FreeBSD.org
|
2011-08-12 21:17:06 +02:00
|
|
|
COMMENT= English hunspell dictionaries
|
2011-07-20 11:35:28 +02:00
|
|
|
|
2014-07-16 19:48:46 +02:00
|
|
|
# en_CA and en_US are licensed under BSD
|
|
|
|
# en_GB is licensed under LGPL3
|
|
|
|
LICENSE= BSD3CLAUSE LGPL3
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
|
2014-03-10 18:25:25 +01:00
|
|
|
USES= zip
|
2011-07-20 11:35:28 +02:00
|
|
|
NO_BUILD= yes
|
2011-08-12 21:17:06 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
2011-07-20 11:35:28 +02:00
|
|
|
|
2011-07-29 15:13:17 +02:00
|
|
|
PLIST_FILES= %%DATADIR%%/en_CA.aff \
|
|
|
|
%%DATADIR%%/en_CA.dic \
|
|
|
|
%%DATADIR%%/en_GB.dic \
|
|
|
|
%%DATADIR%%/en_GB.aff \
|
|
|
|
%%DATADIR%%/en_US.aff \
|
|
|
|
%%DATADIR%%/en_US.dic
|
|
|
|
PLIST_DIRSTRY= %%DATADIR%%
|
2011-07-20 11:35:28 +02:00
|
|
|
|
2011-07-29 15:13:17 +02:00
|
|
|
GBALIASES= en_AG en_AU en_BS en_BW en_BZ en_DK en_GH en_HK en_IE en_IN \
|
|
|
|
en_JM en_NA en_NG en_NZ en_SG en_TT en_ZA en_ZW
|
2011-07-20 11:35:28 +02:00
|
|
|
USALIASES= en_PH
|
2011-07-29 15:13:17 +02:00
|
|
|
.for ALIAS in ${GBALIASES} ${USALIASES}
|
|
|
|
PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
|
|
|
|
%%DATADIR%%/${ALIAS}.dic
|
|
|
|
.endfor
|
2011-07-20 11:35:28 +02:00
|
|
|
|
2011-07-29 15:13:17 +02:00
|
|
|
do-install:
|
2013-09-23 23:34:48 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.aff ${WRKSRC}/*.dic ${STAGEDIR}${DATADIR}/
|
2011-07-20 11:35:28 +02:00
|
|
|
.for ALIAS in ${GBALIASES}
|
2013-09-23 23:34:48 +02:00
|
|
|
${LN} -s en_GB.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff
|
|
|
|
${LN} -s en_GB.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic
|
2011-07-20 11:35:28 +02:00
|
|
|
.endfor
|
|
|
|
.for ALIAS in ${USALIASES}
|
2013-09-23 23:34:48 +02:00
|
|
|
${LN} -s en_US.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff
|
|
|
|
${LN} -s en_US.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic
|
2011-07-20 11:35:28 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|