From 08f4c1da0c539afa3937d3f833eff2e3015a7d83 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sat, 23 Jun 2001 17:01:46 +0000 Subject: [PATCH] Create a locale alias for `ja_JP.EUC'. PR: ports/27713 Submitted by: Daichi GOTO Bump PORTREVISION. --- japanese/linux_locale/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/japanese/linux_locale/Makefile b/japanese/linux_locale/Makefile index d8d173716043..fb069c730439 100644 --- a/japanese/linux_locale/Makefile +++ b/japanese/linux_locale/Makefile @@ -7,6 +7,7 @@ PORTNAME= linux_locale PORTVERSION= ${VERSION}.0 +PORTREVISION= 1 CATEGORIES= japanese emulators linux MASTER_SITES= ftp://ftp.debian.org/debian/dists/woody/main/source/admin/ DISTNAME= locale-ja_${VERSION} @@ -30,6 +31,9 @@ LCDIR= ${PREFIX}/usr/share/locale/ja_JP COMPAT_LC= ${PREFIX}/usr/share/locale/ja_JP.EUC DOCDIR= ${PREFIX}/usr/doc/locale-ja-${VERSION} +LOCALE_ADD= ja_JP.EUC +LOCALE_DEF_ja_JP.EUC= ja_JP.eucJP + do-build: ${MKDIR} ${WRKDIR}/LC_MESSAGES ${LCDEF_CMD} ${LCDEF_ARGS} ${WRKDIR} @@ -43,5 +47,9 @@ do-install: ${LN} -sf ja_JP ${COMPAT_LC} ${MKDIR} ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/debian/* ${DOCDIR} +.for locale in ${LOCALE_ADD} + @${ECHO} "${locale} ${LOCALE_DEF_${locale}}" \ + >> ${LINUXBASE}/usr/share/locale/locale.alias +.endfor .include