1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/german/hunspell/Makefile
Sunpoet Po-Chuan Hsieh 2ed4325267 - Update to 20120607
2012-06-28 02:17:14 +00:00

56 lines
1.4 KiB
Makefile

# New ports collection makefile for: hunspell
# Date created: 2011-07-20
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= hunspell
PORTVERSION= 20120607
CATEGORIES= german textproc
MASTER_SITES= http://www.j3e.de/ispell/igerman98/dict/
DISTNAME= igerman98-${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= German hunspell dictionaries
BUILD_DEPENDS= buildhash:${PORTSDIR}/textproc/ispell \
hunspell:${PORTSDIR}/textproc/hunspell
USE_BZIP2= yes
ALL_TARGET= hunspell-all
USE_GMAKE= yes
USE_PERL5_BUILD= yes
PLIST_FILES= %%DATADIR%%/de_AT.aff \
%%DATADIR%%/de_AT.dic \
%%DATADIR%%/de_CH.aff \
%%DATADIR%%/de_CH.dic \
%%DATADIR%%/de_DE.aff \
%%DATADIR%%/de_DE.dic
PLIST_DIRSTRY= %%DATADIR%%
CHALIASES= de_LI
DEALIASES= de_BE de_LU
.for ALIAS in ${CHALIASES} ${DEALIASES}
PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
%%DATADIR%%/${ALIAS}.dic
.endfor
do-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/hunspell/de_AT.aff ${WRKSRC}/hunspell/de_AT.dic \
${WRKSRC}/hunspell/de_CH.aff ${WRKSRC}/hunspell/de_CH.dic \
${WRKSRC}/hunspell/de_DE.aff ${WRKSRC}/hunspell/de_DE.dic ${DATADIR}/
.for ALIAS in ${CHALIASES}
${LN} -s de_CH.aff ${DATADIR}/${ALIAS}.aff
${LN} -s de_CH.dic ${DATADIR}/${ALIAS}.dic
.endfor
.for ALIAS in ${DEALIASES}
${LN} -s de_DE.aff ${DATADIR}/${ALIAS}.aff
${LN} -s de_DE.dic ${DATADIR}/${ALIAS}.dic
.endfor
.include <bsd.port.mk>