blob: fc5f6b2cec6b3f426d215addbc083bc98f2f7c34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# $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
USES= shebangfix
USE_BZIP2= yes
ALL_TARGET= hunspell-all
USE_GMAKE= yes
USE_PERL5_BUILD= yes
SHEBANG_FILES= bin/*.pl
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>
|