aboutsummaryrefslogtreecommitdiff
path: root/german/hunspell
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 13:13:17 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 13:13:17 +0000
commit72c08ec487edbe98662f3278bee17f8726ee4ce4 (patch)
treea3c6d7d2a4a492c3e55a418f3fa370e951b5ccc7 /german/hunspell
parenta600d4522cadfa512ce465f98566cee7b9bec843 (diff)
downloadports-72c08ec487edbe98662f3278bee17f8726ee4ce4.tar.gz
ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.zip
Notes
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>