ports/97307: New port:chinese/auto-cn-l10n The automatic localization for Simplified Chinese zh_CN.eucCN locale
hamigua at hotpop.com
hamigua at hotpop.com
Mon May 15 16:01:50 UTC 2006
>Number: 97307
>Category: ports
>Synopsis: New port:chinese/auto-cn-l10n The automatic localization for Simplified Chinese zh_CN.eucCN locale
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon May 15 16:00:41 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Liu.Yinghong
>Release: FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD relaxbsd 6.1-STABLE FreeBSD 6.1-STABLE #0: Sun May 7 23:03:31 CST 2006 root at relaxbsd:/usr/obj/usr/src/sys/RELAXBSD i386
>Description:
Simplified Chinese (GB2312 encoding) zh_CN.eucCN automatic localization
Install this port and you will have a Simplified Chinese FreeBSD system.
>How-To-Repeat:
>Fix:
--- auto-cn-l10n.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# auto-cn-l10n
# auto-cn-l10n/Makefile
# auto-cn-l10n/distinfo
# auto-cn-l10n/pkg-descr
# auto-cn-l10n/pkg-message
# auto-cn-l10n/pkg-plist
#
echo c - auto-cn-l10n
mkdir -p auto-cn-l10n > /dev/null 2>&1
echo x - auto-cn-l10n/Makefile
sed 's/^X//' >auto-cn-l10n/Makefile << 'END-of-auto-cn-l10n/Makefile'
X# New ports collection makefile for: zh-auto-cn-l10n
X# Date created: 12 May 2006
X# Whom: Liu.Yinghong <liu_yinghong at yahoo.com.cn>
X#
X# $FreeBSD$
X
XPORTNAME= auto-cn-l10n
XPORTVERSION= 1.0
XCATEGORIES= chinese
XMASTER_SITES= ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
XDISTNAME= zh-${PORTNAME}-${PORTVERSION}
X
XMAINTAINER= liu_yinghong at yahoo.com.cn
XCOMMENT= The automatic localization for Simplified Chinese zh_CN.eucCN locale
X
XNO_BUILD= yes
XPKGMESSAGE= ${WRKDIR}/pkg-message
X
XOPTIONS= FIREFLYTTF "Firefly TrueType Font" on \
X FCITX "GBK Chinese XIM server" on \
X SCIM "Smart Common Input Method platform" off \
X MINICHINPUT "A tiny version of Chinput" off \
X RELAXCONF "A set of utilities for FreeBSD LiveCD" on
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_FIREFLYTTF)
XRUN_DEPENDS+= ${LOCALBASE}/share/fonts/TrueType/fireflysung.ttf:${PORTSDIR}/chinese/fireflyttf
X.endif
X
X.if !defined(WITHOUT_FCITX)
XRUN_DEPENDS+= fcitx:${PORTSDIR}/chinese/fcitx
X.endif
X
X.if defined(WITH_SCIM)
XRUN_DEPENDS+= scim:${PORTSDIR}/textproc/scim
X.endif
X
X.if defined(WITH_SCIM)
XRUN_DEPENDS+= chinput:${PORTSDIR}/chinese/miniChinput
X.endif
X
X.if !defined(WITHOUT_FCITX)
XRUN_DEPENDS+= relaxconf:${PORTSDIR}/sysutils/relaxconf
X.endif
X
Xdo-install:
X ${MKDIR} ${PREFIX}/share/skel/zh_CN.eucCN
X ${CP} ${WRKSRC}/* ${PREFIX}/share/skel/zh_CN.eucCN
X
Xpost-install:
X @${SED} "s|%%PREFIX%%|${PREFIX}|g" \
X ${.CURDIR}/pkg-message > ${PKGMESSAGE}
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-auto-cn-l10n/Makefile
echo x - auto-cn-l10n/distinfo
sed 's/^X//' >auto-cn-l10n/distinfo << 'END-of-auto-cn-l10n/distinfo'
XMD5 (zh-auto-cn-l10n-1.0.tar.gz) = 7915264582b2754ccba233fe1971722c
XSHA256 (zh-auto-cn-l10n-1.0.tar.gz) = e6b7eb2b32fe570aa3726b48cdd968b572ee02cdf8ea837995fd3a0aaf8dad29
XSIZE (zh-auto-cn-l10n-1.0.tar.gz) = 7310
END-of-auto-cn-l10n/distinfo
echo x - auto-cn-l10n/pkg-descr
sed 's/^X//' >auto-cn-l10n/pkg-descr << 'END-of-auto-cn-l10n/pkg-descr'
XSimplified Chinese (GB2312 encoding) zh_CN.eucCN automatic localization
XInstall this port and you will have a Simplified Chinese FreeBSD system
END-of-auto-cn-l10n/pkg-descr
echo x - auto-cn-l10n/pkg-message
sed 's/^X//' >auto-cn-l10n/pkg-message << 'END-of-auto-cn-l10n/pkg-message'
X**************************************************************************
X
XEnglish Instructions:
X Please tell your users to merge their old dotfiles with the new ones, in
X %%PREFIX%%/share/skel/zh_CN.eucCN/dot.*
X
X For future adduser
X # adduser -k %%PREFIX%%/share/skel/zh_CN.eucCN
X
X**************************************************************************
X
X¼òÌåÖÐÎÄ˵Ã÷:
X Çë¸æËßÄúµÄÓû§±È½ÏËûÃǵÄоÉÉèÖÃ,·ÅÔÚ
X %%PREFIX%%/share/skel/zh_CN.eucCN/dot.*
X
X Èç¹ûÒÔºóÐèÒªÐÂÔöÓû§,ÇëÓÃÀàËÆÒÔϵķ½Ê½:
X # adduser -k %%PREFIX%%/share/skel/zh_CN.eucCN
X
X**************************************************************************
X
END-of-auto-cn-l10n/pkg-message
echo x - auto-cn-l10n/pkg-plist
sed 's/^X//' >auto-cn-l10n/pkg-plist << 'END-of-auto-cn-l10n/pkg-plist'
Xshare/skel/zh_CN.eucCN/dot.Xdefaults
Xshare/skel/zh_CN.eucCN/dot.cshrc
Xshare/skel/zh_CN.eucCN/dot.emacs
Xshare/skel/zh_CN.eucCN/dot.fonts.conf
Xshare/skel/zh_CN.eucCN/dot.gtkrc.mine
Xshare/skel/zh_CN.eucCN/dot.inputrc
Xshare/skel/zh_CN.eucCN/dot.muttrc
Xshare/skel/zh_CN.eucCN/dot.profile
Xshare/skel/zh_CN.eucCN/dot.vimrc
Xshare/skel/zh_CN.eucCN/dot.xinitrc
Xshare/skel/zh_CN.eucCN/dot.xselector
X at dirrmtry share/skel/zh_CN.eucCN
END-of-auto-cn-l10n/pkg-plist
exit
--- auto-cn-l10n.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list