summaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-03-01 07:47:06 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-03-01 07:47:06 +0000
commit6131f71182b547319ce25403bb82b01fb43bbe1f (patch)
treec7c2bae9a010e08213324e74c743aa925b20bf7c /deskutils
parentAdd gnotime, a time tracking application for the GNOME 2 desktop. (diff)
De-uglify the locale installation (somewhat).
Reviewed by: marcus
Diffstat (limited to 'deskutils')
-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>