- Using original source archive instead of rpm package.
- Version bump 9.1 -> 13 (it is only Debian specific change and won't bother us.) Thanks for giving me advice to: ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
This commit is contained in:
parent
a42cc6b811
commit
771e2284fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27120
4 changed files with 45 additions and 43 deletions
|
@ -1,29 +1,51 @@
|
|||
# New ports collection makefile for: ja-linux_locale
|
||||
# Version required: 9.1
|
||||
# Version required: 13
|
||||
# Date created: March 20 2000
|
||||
# Whom: imura@FreeBSD.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= locale-ja-9-1.noarch
|
||||
PKGNAME= ja-linux_locale-9.1
|
||||
DISTNAME= locale-ja_${VERSION}
|
||||
PKGNAME= ja-linux_locale-13.0
|
||||
CATEGORIES= japanese emulators linux
|
||||
MASTER_SITES= ftp://ftp.linux.or.jp/pub/RPM/JRPM60/ALL/
|
||||
EXTRACT_SUFX= .rpm
|
||||
MASTER_SITES= ftp://ftp.debian.org/debian/dists/potato/main/source/admin/ \
|
||||
http://people.FreeBSD.org/~imura/distfiles/
|
||||
|
||||
MAINTAINER= imura@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm
|
||||
RUN_DEPENDS= /compat/linux/etc/redhat-release:${PORTSDIR}/emulators/linux_base
|
||||
BUILD_DEPENDS= ${LCDEF_CMD}:${PORTSDIR}/emulators/linux_base
|
||||
RUN_DEPENDS= ${LINUX_BASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
|
||||
|
||||
PREFIX= /compat/linux
|
||||
LINUX_BASE= /compat/linux
|
||||
PREFIX= ${LINUX_BASE}
|
||||
NO_MTREE= yes
|
||||
NO_BUILD= yes
|
||||
EXTRACT_ONLY= # none
|
||||
WRKSRC= ${WRKDIR}/locale-ja-${VERSION}
|
||||
PLIST_SUB= VER=${VERSION}
|
||||
|
||||
VERSION= 13
|
||||
SRCDEF= ${WRKSRC}/ja_JP
|
||||
CHARMAPS= ${WRKSRC}/charmaps/EUC-JP
|
||||
REPERTOIRE_MAP= ${LINUX_BASE}/usr/share/i18n/repertoiremaps/charids.894
|
||||
LCDEF_CMD= ${LINUX_BASE}/usr/bin/localedef
|
||||
LCDEF_ARGS= --repertoire-map=${REPERTOIRE_MAP} \
|
||||
-c -f ${CHARMAPS} -i ${SRCDEF}
|
||||
LCDIR= ${PREFIX}/usr/share/locale/ja_JP
|
||||
COMPAT_LC= ${PREFIX}/usr/share/locale/ja_JP.EUC
|
||||
DOCDIR= ${PREFIX}/usr/doc/locale-ja-${VERSION}
|
||||
|
||||
do-build:
|
||||
${MKDIR} ${WRKDIR}/LC_MESSAGES
|
||||
${LCDEF_CMD} ${LCDEF_ARGS} ${WRKDIR}
|
||||
|
||||
do-install:
|
||||
cd ${PREFIX} \
|
||||
&& rpm2cpio ${DISTDIR}/${DISTNAME}.rpm | cpio -idv -R 0.0
|
||||
${MKDIR} ${LCDIR}/LC_MESSAGES
|
||||
.for LC in COLLATE CTYPE MONETARY NUMERIC TIME
|
||||
${INSTALL_DATA} ${WRKDIR}/LC_${LC} ${LCDIR}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKDIR}/LC_MESSAGES/SYS_LC_MESSAGES ${LCDIR}/LC_MESSAGES
|
||||
${LN} -sf ja_JP ${COMPAT_LC}
|
||||
${MKDIR} ${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/debian/* ${DOCDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (locale-ja-9-1.noarch.rpm) = 8f7c5de67ddc6761e618f06934b866d5
|
||||
MD5 (locale-ja_13.tar.gz) = e843e63f93c62575329c578721888c42
|
||||
|
|
|
@ -2,3 +2,5 @@ Linux glibc 2.0/2.1 Locale definition files for Japanese.
|
|||
This is an experimental and incorrect locale definition for Japanese
|
||||
(ja_JP). Since the GNU libc does not support the EUC encoding yet,
|
||||
we cannot make a correct locale definition for it.
|
||||
|
||||
WWW: http://www.debian.org/Packages/unstable/admin/locale-ja.html
|
||||
|
|
|
@ -1,38 +1,16 @@
|
|||
usr/doc/locale-ja-9/changelog
|
||||
usr/doc/locale-ja-9/control
|
||||
usr/doc/locale-ja-9/copyright
|
||||
usr/doc/locale-ja-9/gconv-modules.patch
|
||||
usr/doc/locale-ja-9/rules
|
||||
usr/doc/locale-ja-%%VER%%/changelog
|
||||
usr/doc/locale-ja-%%VER%%/control
|
||||
usr/doc/locale-ja-%%VER%%/copyright
|
||||
usr/doc/locale-ja-%%VER%%/dirs
|
||||
usr/doc/locale-ja-%%VER%%/rules
|
||||
usr/share/locale/ja_JP/LC_COLLATE
|
||||
usr/share/locale/ja_JP/LC_CTYPE
|
||||
usr/share/locale/ja_JP/LC_MESSAGES/SYS_LC_MESSAGES
|
||||
usr/share/locale/ja_JP/LC_MONETARY
|
||||
usr/share/locale/ja_JP/LC_NUMERIC
|
||||
usr/share/locale/ja_JP/LC_TIME
|
||||
usr/share/locale/ja_JP.EUC/LC_COLLATE
|
||||
usr/share/locale/ja_JP.EUC/LC_CTYPE
|
||||
usr/share/locale/ja_JP.EUC/LC_MESSAGES/SYS_LC_MESSAGES
|
||||
usr/share/locale/ja_JP.EUC/LC_MONETARY
|
||||
usr/share/locale/ja_JP.EUC/LC_NUMERIC
|
||||
usr/share/locale/ja_JP.EUC/LC_TIME
|
||||
usr/share/locale/ja_JP.eucJP/LC_COLLATE
|
||||
usr/share/locale/ja_JP.eucJP/LC_CTYPE
|
||||
usr/share/locale/ja_JP.eucJP/LC_MESSAGES/SYS_LC_MESSAGES
|
||||
usr/share/locale/ja_JP.eucJP/LC_MONETARY
|
||||
usr/share/locale/ja_JP.eucJP/LC_NUMERIC
|
||||
usr/share/locale/ja_JP.eucJP/LC_TIME
|
||||
usr/share/locale/ja_JP.ujis/LC_COLLATE
|
||||
usr/share/locale/ja_JP.ujis/LC_CTYPE
|
||||
usr/share/locale/ja_JP.ujis/LC_MESSAGES/SYS_LC_MESSAGES
|
||||
usr/share/locale/ja_JP.ujis/LC_MONETARY
|
||||
usr/share/locale/ja_JP.ujis/LC_NUMERIC
|
||||
usr/share/locale/ja_JP.ujis/LC_TIME
|
||||
@dirrm usr/share/locale/ja_JP.ujis/LC_MESSAGES
|
||||
@dirrm usr/share/locale/ja_JP.ujis
|
||||
@dirrm usr/share/locale/ja_JP.eucJP/LC_MESSAGES
|
||||
@dirrm usr/share/locale/ja_JP.eucJP
|
||||
@dirrm usr/share/locale/ja_JP.EUC/LC_MESSAGES
|
||||
@dirrm usr/share/locale/ja_JP.EUC
|
||||
@exec ln -sf ja_JP %D/usr/share/locale/ja_JP.EUC
|
||||
@unexec rm -f %D/usr/share/locale/ja_JP.EUC
|
||||
@dirrm usr/share/locale/ja_JP/LC_MESSAGES
|
||||
@dirrm usr/share/locale/ja_JP
|
||||
@dirrm usr/doc/locale-ja-9
|
||||
@dirrm usr/doc/locale-ja-%%VER%%
|
||||
|
|
Loading…
Reference in a new issue