2012-12-09 10:35:14 +00:00
|
|
|
# Created by: Baptiste Daroussin <bapt@FreeBSD.org>
|
2011-07-21 06:31:26 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2011-07-29 13:13:17 +00:00
|
|
|
PORTNAME= hunspell
|
2012-12-09 10:35:14 +00:00
|
|
|
PORTVERSION= 0.6
|
2011-07-21 06:31:26 +00:00
|
|
|
CATEGORIES= textproc
|
2011-08-17 17:42:34 +00:00
|
|
|
MASTER_SITES= LOCAL/sunpoet/${PORTNAME}/
|
2011-07-29 13:13:17 +00:00
|
|
|
PKGNAMEPREFIX= es-
|
2011-08-17 17:42:34 +00:00
|
|
|
DISTNAME= es_ANY-${PORTVERSION}
|
2011-07-21 06:31:26 +00:00
|
|
|
EXTRACT_SUFX= .oxt
|
2011-08-17 18:03:06 +00:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2011-07-21 06:31:26 +00:00
|
|
|
|
2011-07-22 05:30:11 +00:00
|
|
|
MAINTAINER= office@FreeBSD.org
|
2011-07-21 06:31:26 +00:00
|
|
|
COMMENT= Spanish hunspell dictionaries
|
|
|
|
|
|
|
|
LICENSE= GPLv3 LGPL3 MPL
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
NO_BUILD= yes
|
2011-08-12 19:17:06 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
2011-07-21 06:31:26 +00:00
|
|
|
|
2011-07-29 13:13:17 +00:00
|
|
|
PLIST_FILES= %%DATADIR%%/es_ES.aff \
|
|
|
|
%%DATADIR%%/es_ES.dic
|
|
|
|
PLIST_DIRSTRY= %%DATADIR%%
|
2011-07-21 06:31:26 +00:00
|
|
|
|
2011-07-29 13:13:17 +00:00
|
|
|
ESALIASES= es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_GT es_HN \
|
|
|
|
es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE
|
2011-07-21 06:31:26 +00:00
|
|
|
.for ALIAS in ${ESALIASES}
|
2011-07-29 13:13:17 +00:00
|
|
|
PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
|
|
|
|
%%DATADIR%%/${ALIAS}.dic
|
2011-07-21 06:31:26 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
2011-07-29 13:13:17 +00:00
|
|
|
${MKDIR} ${DATADIR}/
|
2011-08-12 19:17:06 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/es_ANY.aff ${DATADIR}/es_ES.aff
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/es_ANY.dic ${DATADIR}/es_ES.dic
|
2011-07-29 13:13:17 +00:00
|
|
|
.for ALIAS in ${ESALIASES}
|
|
|
|
${LN} -s es_ES.aff ${DATADIR}/${ALIAS}.aff
|
|
|
|
${LN} -s es_ES.dic ${DATADIR}/${ALIAS}.dic
|
|
|
|
.endfor
|
2011-07-21 06:31:26 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|