diff options
author | clive <clive@FreeBSD.org> | 2006-06-04 01:16:48 +0800 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2006-06-04 01:16:48 +0800 |
commit | 56ee0ff65069669b28e7b7f168ad52a1b49b2be8 (patch) | |
tree | 6d6fee709f72376831fbe6bf9709b9b0eee67d40 /chinese/auto-cn-l10n | |
parent | 190eecb32bd84fbc6218e7e3cf86bae97e80ad48 (diff) | |
download | freebsd-ports-gnome-56ee0ff65069669b28e7b7f168ad52a1b49b2be8.tar.gz freebsd-ports-gnome-56ee0ff65069669b28e7b7f168ad52a1b49b2be8.tar.zst freebsd-ports-gnome-56ee0ff65069669b28e7b7f168ad52a1b49b2be8.zip |
New port: chinese/auto-cn-l10n
The automatic localization for Simplified Chinese zh_CN.eucCN locale
PR: ports/97307
Submitted by: Liu.Yinghong <liu_yinghong -at- yahoo.com.cn>
Diffstat (limited to 'chinese/auto-cn-l10n')
-rw-r--r-- | chinese/auto-cn-l10n/Makefile | 56 | ||||
-rw-r--r-- | chinese/auto-cn-l10n/distinfo | 3 | ||||
-rw-r--r-- | chinese/auto-cn-l10n/pkg-descr | 2 | ||||
-rw-r--r-- | chinese/auto-cn-l10n/pkg-message | 20 | ||||
-rw-r--r-- | chinese/auto-cn-l10n/pkg-plist | 12 |
5 files changed, 93 insertions, 0 deletions
diff --git a/chinese/auto-cn-l10n/Makefile b/chinese/auto-cn-l10n/Makefile new file mode 100644 index 000000000000..044a967bf01c --- /dev/null +++ b/chinese/auto-cn-l10n/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: zh-auto-cn-l10n +# Date created: 12 May 2006 +# Whom: Liu.Yinghong <liu_yinghong@yahoo.com.cn> +# +# $FreeBSD$ + +PORTNAME= auto-cn-l10n +PORTVERSION= 1.0 +CATEGORIES= chinese +MASTER_SITES= ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/ +DISTNAME= zh-${PORTNAME}-${PORTVERSION} + +MAINTAINER= liu_yinghong@yahoo.com.cn +COMMENT= The automatic localization for Simplified Chinese zh_CN.eucCN locale + +NO_BUILD= yes +PKGMESSAGE= ${WRKDIR}/pkg-message + +OPTIONS= FIREFLYTTF "Firefly TrueType Font" on \ + FCITX "GBK Chinese XIM server" on \ + SCIM "Smart Common Input Method platform" off \ + MINICHINPUT "A tiny version of Chinput" off \ + RELAXCONF "A set of utilities for FreeBSD LiveCD" on + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_FIREFLYTTF) +RUN_DEPENDS+= ${LOCALBASE}/share/fonts/TrueType/fireflysung.ttf:${PORTSDIR}/chinese/fireflyttf +.endif + +.if !defined(WITHOUT_FCITX) +RUN_DEPENDS+= fcitx:${PORTSDIR}/chinese/fcitx +.endif + +.if defined(WITH_SCIM) +RUN_DEPENDS+= scim:${PORTSDIR}/textproc/scim +.endif + +.if defined(WITH_MINICHINPUT) +RUN_DEPENDS+= chinput:${PORTSDIR}/chinese/miniChinput +.endif + +.if !defined(WITHOUT_RELAXCONF) +RUN_DEPENDS+= relaxconf:${PORTSDIR}/sysutils/relaxconf +.endif + +do-install: + ${MKDIR} ${PREFIX}/share/skel/zh_CN.eucCN + ${CP} ${WRKSRC}/* ${PREFIX}/share/skel/zh_CN.eucCN + +post-install: + @${SED} "s|%%PREFIX%%|${PREFIX}|g" \ + ${.CURDIR}/pkg-message > ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/chinese/auto-cn-l10n/distinfo b/chinese/auto-cn-l10n/distinfo new file mode 100644 index 000000000000..d178efd62466 --- /dev/null +++ b/chinese/auto-cn-l10n/distinfo @@ -0,0 +1,3 @@ +MD5 (zh-auto-cn-l10n-1.0.tar.gz) = 7915264582b2754ccba233fe1971722c +SHA256 (zh-auto-cn-l10n-1.0.tar.gz) = e6b7eb2b32fe570aa3726b48cdd968b572ee02cdf8ea837995fd3a0aaf8dad29 +SIZE (zh-auto-cn-l10n-1.0.tar.gz) = 7310 diff --git a/chinese/auto-cn-l10n/pkg-descr b/chinese/auto-cn-l10n/pkg-descr new file mode 100644 index 000000000000..84d34db06158 --- /dev/null +++ b/chinese/auto-cn-l10n/pkg-descr @@ -0,0 +1,2 @@ +Simplified Chinese (GB2312 encoding) zh_CN.eucCN automatic localization +Install this port and you will have a Simplified Chinese FreeBSD system diff --git a/chinese/auto-cn-l10n/pkg-message b/chinese/auto-cn-l10n/pkg-message new file mode 100644 index 000000000000..cfe53931e80d --- /dev/null +++ b/chinese/auto-cn-l10n/pkg-message @@ -0,0 +1,20 @@ +************************************************************************** + +English Instructions: + Please tell your users to merge their old dotfiles with the new ones, in + %%PREFIX%%/share/skel/zh_CN.eucCN/dot.* + + For future adduser + # adduser -k %%PREFIX%%/share/skel/zh_CN.eucCN + +************************************************************************** + +简体中文说明: + 请告诉您的用户比较他们的新旧设置,放在 + %%PREFIX%%/share/skel/zh_CN.eucCN/dot.* + + 如果以后需要新增用户,请用类似以下的方式: + # adduser -k %%PREFIX%%/share/skel/zh_CN.eucCN + +************************************************************************** + diff --git a/chinese/auto-cn-l10n/pkg-plist b/chinese/auto-cn-l10n/pkg-plist new file mode 100644 index 000000000000..bfaef057dda6 --- /dev/null +++ b/chinese/auto-cn-l10n/pkg-plist @@ -0,0 +1,12 @@ +share/skel/zh_CN.eucCN/dot.Xdefaults +share/skel/zh_CN.eucCN/dot.cshrc +share/skel/zh_CN.eucCN/dot.emacs +share/skel/zh_CN.eucCN/dot.fonts.conf +share/skel/zh_CN.eucCN/dot.gtkrc.mine +share/skel/zh_CN.eucCN/dot.inputrc +share/skel/zh_CN.eucCN/dot.muttrc +share/skel/zh_CN.eucCN/dot.profile +share/skel/zh_CN.eucCN/dot.vimrc +share/skel/zh_CN.eucCN/dot.xinitrc +share/skel/zh_CN.eucCN/dot.xselector +@dirrmtry share/skel/zh_CN.eucCN |