aboutsummaryrefslogtreecommitdiff
path: root/japanese/linux_locale
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-06-23 17:01:46 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-06-23 17:01:46 +0000
commit08f4c1da0c539afa3937d3f833eff2e3015a7d83 (patch)
treeca21bd94d08b54cea65827d48e17bc5cd373718c /japanese/linux_locale
parent857528f04d3635011a9c237b77a85d01f2d2e0b6 (diff)
downloadports-08f4c1da0c539afa3937d3f833eff2e3015a7d83.tar.gz
ports-08f4c1da0c539afa3937d3f833eff2e3015a7d83.zip
Notes
Diffstat (limited to 'japanese/linux_locale')
-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>