aboutsummaryrefslogtreecommitdiffstats
path: root/german/hunspell
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-07-29 21:13:17 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-07-29 21:13:17 +0800
commite7533864e7a7574c2d1b20a6b10f81c0561e4621 (patch)
tree709c0318625f1fe2eca8e12b791e969926c96e91 /german/hunspell
parent3bc9ecccbd8279e4254d8eade21cc1a1837decfb (diff)
downloadfreebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.tar.gz
freebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.tar.zst
freebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.zip
- Move language prefix to PKGNAMEPREFIX
- Use DATADIR - Use PLIST_DIRSTRY for DATADIR - Explicitly list installing filenames - Bump PORTREVISION for PORTNAME and PLIST change - Sort PLIST - Cosmetic change
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>