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

52 lines
1.4 KiB
Makefile
Raw Normal View History

2011-07-20 14:01:55 +00:00
# $FreeBSD$
PORTNAME= hunspell
2012-06-28 02:17:14 +00:00
PORTVERSION= 20120607
2011-07-20 14:01:55 +00:00
CATEGORIES= german textproc
MASTER_SITES= http://www.j3e.de/ispell/igerman98/dict/
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
BUILD_DEPENDS= buildhash:${PORTSDIR}/textproc/ispell \
hunspell:${PORTSDIR}/textproc/hunspell
2011-07-20 14:01:55 +00:00
2013-11-04 10:49:03 +00:00
USES= gmake shebangfix perl5
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
do-install:
2013-11-04 10:49:03 +00:00
${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>