aboutsummaryrefslogtreecommitdiff
path: root/german/hunspell
diff options
context:
space:
mode:
Diffstat (limited to 'german/hunspell')
-rw-r--r--german/hunspell/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/german/hunspell/Makefile b/german/hunspell/Makefile
index 8d5b80ddbead..54e1798eb075 100644
--- a/german/hunspell/Makefile
+++ b/german/hunspell/Makefile
@@ -22,31 +22,31 @@ ALL_TARGET= hunspell-all
USE_GMAKE= yes
USE_PERL5_BUILD= yes
-PLIST_FILES= share/hunspell/de_AT.aff \
- share/hunspell/de_AT.dic \
- share/hunspell/de_CH.aff \
- share/hunspell/de_CH.dic \
- share/hunspell/de_DE.aff \
- share/hunspell/de_DE.dic
-PLIST_DIRSTRY= share/hunspell
+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+= share/hunspell/${ALIAS}.aff \
- share/hunspell/${ALIAS}.dic
+PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
+ %%DATADIR%%/${ALIAS}.dic
.endfor
do-install:
- ${MKDIR} ${PREFIX}/share/hunspell/
- ${INSTALL_DATA} ${WRKSRC}/hunspell/*.aff ${WRKSRC}/hunspell/*.dic ${PREFIX}/share/hunspell/
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/hunspell/*.aff ${WRKSRC}/hunspell/*.dic ${DATADIR}/
.for ALIAS in ${CHALIASES}
- ${LN} -s de_CH.aff ${PREFIX}/share/hunspell/${ALIAS}.aff
- ${LN} -s de_CH.dic ${PREFIX}/share/hunspell/${ALIAS}.dic
+ ${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 ${PREFIX}/share/hunspell/${ALIAS}.aff
- ${LN} -s de_DE.dic ${PREFIX}/share/hunspell/${ALIAS}.dic
+ ${LN} -s de_DE.aff ${DATADIR}/${ALIAS}.aff
+ ${LN} -s de_DE.dic ${DATADIR}/${ALIAS}.dic
.endfor
.include <bsd.port.mk>