freebsd-ports/textproc/es-hunspell/Makefile
Sunpoet Po-Chuan Hsieh b1ef5d715a - Add NO_ARCH
2015-07-18 15:01:38 +00:00

41 lines
1 KiB
Makefile

# $FreeBSD$
PORTNAME= hunspell
PORTVERSION= 0.7
CATEGORIES= textproc spanish
MASTER_SITES= LOCAL/sunpoet/${PORTNAME}/
PKGNAMEPREFIX= es-
DISTNAME= es_any-${PORTVERSION}
EXTRACT_SUFX= .oxt
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Spanish hunspell dictionaries
LICENSE= GPLv3 LGPL3 MPL
LICENSE_COMB= dual
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= %%DATADIR%%/es_ES.aff \
%%DATADIR%%/es_ES.dic
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
.for ALIAS in ${ESALIASES}
PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
%%DATADIR%%/${ALIAS}.dic
.endfor
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/es_ANY.aff ${STAGEDIR}${DATADIR}/es_ES.aff
${INSTALL_DATA} ${WRKSRC}/es_ANY.dic ${STAGEDIR}${DATADIR}/es_ES.dic
.for ALIAS in ${ESALIASES}
${LN} -s es_ES.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff
${LN} -s es_ES.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic
.endfor
.include <bsd.port.mk>