aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-06-24 01:01:46 +0800
committerknu <knu@FreeBSD.org>2001-06-24 01:01:46 +0800
commit71fa75eb480bd7f3830b3ac030f2555db04fb1be (patch)
treefa0f22225a23d0a8e642aa04e25d52845942e6c8
parentefe15bafa3e2e2ebcd0820eba05b76a8da07c2e1 (diff)
downloadfreebsd-ports-gnome-71fa75eb480bd7f3830b3ac030f2555db04fb1be.tar.gz
freebsd-ports-gnome-71fa75eb480bd7f3830b3ac030f2555db04fb1be.tar.zst
freebsd-ports-gnome-71fa75eb480bd7f3830b3ac030f2555db04fb1be.zip
Create a locale alias for `ja_JP.EUC'.
PR: ports/27713 Submitted by: Daichi GOTO <daichi@ongs.gr.jp> Bump PORTREVISION.
-rw-r--r--japanese/linux_locale/Makefile8
1 files changed, 8 insertions, 0 deletions
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 <bsd.port.mk>