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
|
2013-11-19 10:12:00 +00:00
|
|
|
MASTER_SITES= http://www.j3e.de/ispell/igerman98/dict/ \
|
|
|
|
LOCAL/sunpoet/${PORTNAME}
|
2011-07-20 14:01:55 +00:00
|
|
|
DISTNAME= igerman98-${PORTVERSION}
|
2011-08-17 18:03:06 +00:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2011-07-20 14:01:55 +00:00
|
|
|
|
2011-07-22 05:30:11 +00:00
|
|
|
MAINTAINER= office@FreeBSD.org
|
2011-08-12 19:17:06 +00:00
|
|
|
COMMENT= German hunspell dictionaries
|
2011-07-20 14:01:55 +00:00
|
|
|
|
2013-11-19 10:12:00 +00:00
|
|
|
LICENSE= GPLv2 GPLv3
|
|
|
|
LICENSE_COMB= dual
|
2011-07-20 14:01:55 +00:00
|
|
|
|
2014-01-28 11:30:55 +00:00
|
|
|
BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell \
|
|
|
|
hunspell:${PORTSDIR}/textproc/hunspell
|
2013-11-19 10:12:00 +00:00
|
|
|
|
|
|
|
USES= gmake perl5 shebangfix
|
2011-07-20 14:01:55 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
ALL_TARGET= hunspell-all
|
2013-08-04 12:47:44 +00:00
|
|
|
USE_PERL5= build
|
2013-05-07 13:12:31 +00:00
|
|
|
SHEBANG_FILES= bin/*.pl
|
2011-07-20 14:01:55 +00:00
|
|
|
|
2011-07-29 13:13:17 +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
|
2011-07-28 07:12:00 +00:00
|
|
|
DEALIASES= de_BE de_LU
|
|
|
|
.for ALIAS in ${CHALIASES} ${DEALIASES}
|
2011-07-29 13:13:17 +00:00
|
|
|
PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
|
|
|
|
%%DATADIR%%/${ALIAS}.dic
|
2011-07-20 14:01:55 +00:00
|
|
|
.endfor
|
|
|
|
|
2014-01-28 11:30:55 +00:00
|
|
|
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:
|
2014-01-28 11:30:55 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/
|
2011-08-09 13:33:40 +00:00
|
|
|
${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}/
|
2011-07-28 07:12:00 +00:00
|
|
|
.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
|
2011-07-28 07:12:00 +00:00
|
|
|
.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
|
2011-07-28 07:12:00 +00:00
|
|
|
.endfor
|
2011-07-20 14:01:55 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|