1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/german/hunspell/Makefile

60 lines
1.6 KiB
Makefile
Raw Normal View History

2011-07-20 14:01:55 +00:00
# $FreeBSD$
PORTNAME= hunspell
2013-12-09 11:37:43 +00:00
PORTVERSION= 20131206
2011-07-20 14:01:55 +00:00
CATEGORIES= german textproc
MASTER_SITES= http://www.j3e.de/ispell/igerman98/dict/ \
LOCAL/sunpoet/${PORTNAME}
2011-07-20 14:01:55 +00:00
DISTNAME= igerman98-${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
2011-07-20 14:01:55 +00:00
MAINTAINER= office@FreeBSD.org
COMMENT= German hunspell dictionaries
2011-07-20 14:01:55 +00:00
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
2011-07-20 14:01:55 +00:00
BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell \
hunspell:${PORTSDIR}/textproc/hunspell
USES= gmake perl5 shebangfix
2011-07-20 14:01:55 +00:00
USE_BZIP2= yes
ALL_TARGET= hunspell-all
USE_PERL5= build
SHEBANG_FILES= bin/*.pl
2011-07-20 14:01:55 +00:00
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%%
2011-07-20 14:01:55 +00:00
CHALIASES= de_LI
DEALIASES= de_BE de_LU
.for ALIAS in ${CHALIASES} ${DEALIASES}
PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
%%DATADIR%%/${ALIAS}.dic
2011-07-20 14:01:55 +00:00
.endfor
post-patch:
@${REINPLACE_CMD} -e "s/AFFIX_EXPANDER = ispell/AFFIX_EXPANDER = aspell/g" \
${WRKSRC}/Makefile
2011-07-20 14:01:55 +00:00
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/hunspell/de_AT.aff ${WRKSRC}/hunspell/de_AT.dic \
${WRKSRC}/hunspell/de_CH.aff ${WRKSRC}/hunspell/de_CH.dic \
2013-11-04 10:49:03 +00:00
${WRKSRC}/hunspell/de_DE.aff ${WRKSRC}/hunspell/de_DE.dic ${STAGEDIR}${DATADIR}/
.for ALIAS in ${CHALIASES}
2013-11-04 10:49:03 +00:00
${LN} -s de_CH.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff
${LN} -s de_CH.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic
.endfor
.for ALIAS in ${DEALIASES}
2013-11-04 10:49:03 +00:00
${LN} -s de_DE.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff
${LN} -s de_DE.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic
.endfor
2011-07-20 14:01:55 +00:00
.include <bsd.port.mk>