aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gdeskcal
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-03-01 15:47:06 +0800
committeradamw <adamw@FreeBSD.org>2003-03-01 15:47:06 +0800
commitc15c0af26d9a198263fdb26edf2241eea8a35d4e (patch)
treeb7f69e31f9be2f2d9fc540bf99d06ac4ff73a2e4 /deskutils/gdeskcal
parent512833d30ee4b1b07b1fdfd402d324c765b21c84 (diff)
downloadfreebsd-ports-gnome-c15c0af26d9a198263fdb26edf2241eea8a35d4e.tar.gz
freebsd-ports-gnome-c15c0af26d9a198263fdb26edf2241eea8a35d4e.tar.zst
freebsd-ports-gnome-c15c0af26d9a198263fdb26edf2241eea8a35d4e.zip
De-uglify the locale installation (somewhat).
Reviewed by: marcus
Diffstat (limited to 'deskutils/gdeskcal')
-rw-r--r--deskutils/gdeskcal/Makefile32
1 files changed, 5 insertions, 27 deletions
diff --git a/deskutils/gdeskcal/Makefile b/deskutils/gdeskcal/Makefile
index 4a44e3c995f0..9bf0ccd9f2a8 100644
--- a/deskutils/gdeskcal/Makefile
+++ b/deskutils/gdeskcal/Makefile
@@ -36,35 +36,13 @@ do-install:
done
${INSTALL_SCRIPT} ${WRKSRC}/gdeskcal \
${PREFIX}/share/gnome/gdeskcal
-# XXX Gack! This is ugly, but somewhat necessary.
+
${INSTALL_DATA} ${WRKSRC}/locale/ar_AE/LC_MESSAGES/gdeskcal.mo \
${PREFIX}/share/locale/ar/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/cs/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/cs/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/de/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/de/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/el/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/el/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/es/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/es/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/fr/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/fr/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/he/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/he/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/hu/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/hu/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/it/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/it/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/ja/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/ja/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/nl/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/nl/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/ru/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/ru/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/tr/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/tr/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/locale/zh_CN/LC_MESSAGES/gdeskcal.mo \
- ${PREFIX}/share/locale/zh_CN/LC_MESSAGES
+.for i in cs de el es fr he hu it ja nl ru tr zh_CN
+ ${INSTALL_DATA} ${WRKSRC}/locale/${i}/LC_MESSAGES/gdeskcal.mo \
+ ${PREFIX}/share/locale/${i}/LC_MESSAGES
+.endfor
${LN} -sf ${PREFIX}/share/gnome/gdeskcal/gdeskcal ${PREFIX}/bin/gdeskcal
.include <bsd.port.mk>