mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Create a locale alias for `ja_JP.EUC'.
PR: ports/27713 Submitted by: Daichi GOTO <daichi@ongs.gr.jp> Bump PORTREVISION.
This commit is contained in:
parent
857528f04d
commit
08f4c1da0c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44358
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user