freebsd-ports/textproc/nl-hunspell/Makefile
Sunpoet Po-Chuan Hsieh c2a64efc9c - Add nl-hunspell 2.10
Dutch hunspell dictionaries

WWW: http://www.opentaal.org/bestanden

Requested by:	kwm
2012-02-06 02:56:47 +00:00

45 lines
1,009 B
Makefile

# New ports collection makefile for: nl-hunspell
# Date created: 2012-02-03
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= hunspell
PORTVERSION= 2.10
CATEGORIES= textproc
MASTER_SITES= LOCAL/sunpoet/${PORTNAME}
PKGNAMEPREFIX= nl-
DISTNAME= OpenTaal-${PORTVERSION:R}${PORTVERSION:E}G-LO
EXTRACT_SUFX= .oxt
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Dutch hunspell dictionaries
LICENSE= BSD
USE_ZIP= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= %%DATADIR%%/nl_NL.aff \
%%DATADIR%%/nl_NL.dic
PLIST_DIRSTRY= %%DATADIR%%
NLALIASES= nl_AW nl_BE
.for ALIAS in ${NLALIASES}
PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
%%DATADIR%%/${ALIAS}.dic
.endfor
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/nl_NL.aff ${DATADIR}/nl_NL.aff
${INSTALL_DATA} ${WRKSRC}/nl_NL.dic ${DATADIR}/nl_NL.dic
.for ALIAS in ${NLALIASES}
${LN} -s nl_NL.aff ${DATADIR}/${ALIAS}.aff
${LN} -s nl_NL.dic ${DATADIR}/${ALIAS}.dic
.endfor
.include <bsd.port.mk>