mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
f1567b7b60
- Cleanup Makefile header Feature safe: yes
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# Created by: Baptiste Daroussin <bapt@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hunspell
|
|
PORTVERSION= 0.6
|
|
CATEGORIES= textproc
|
|
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
|
|
|
|
USE_ZIP= yes
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
PLIST_FILES= %%DATADIR%%/es_ES.aff \
|
|
%%DATADIR%%/es_ES.dic
|
|
PLIST_DIRSTRY= %%DATADIR%%
|
|
|
|
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} ${DATADIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/es_ANY.aff ${DATADIR}/es_ES.aff
|
|
${INSTALL_DATA} ${WRKSRC}/es_ANY.dic ${DATADIR}/es_ES.dic
|
|
.for ALIAS in ${ESALIASES}
|
|
${LN} -s es_ES.aff ${DATADIR}/${ALIAS}.aff
|
|
${LN} -s es_ES.dic ${DATADIR}/${ALIAS}.dic
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|