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>
This commit is contained in:
parent
7b77ad547c
commit
f48475fc4c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164303
@ -12,6 +12,7 @@
|
||||
SUBDIR += arnettf
|
||||
SUBDIR += arphicttf
|
||||
SUBDIR += aterm
|
||||
SUBDIR += auto-cn-l10n
|
||||
SUBDIR += auto-tw-l10n
|
||||
SUBDIR += autoconvert
|
||||
SUBDIR += bg5pdf
|
||||
|
56
chinese/auto-cn-l10n/Makefile
Normal file
56
chinese/auto-cn-l10n/Makefile
Normal file
@ -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>
|
3
chinese/auto-cn-l10n/distinfo
Normal file
3
chinese/auto-cn-l10n/distinfo
Normal file
@ -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
|
2
chinese/auto-cn-l10n/pkg-descr
Normal file
2
chinese/auto-cn-l10n/pkg-descr
Normal file
@ -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
|
20
chinese/auto-cn-l10n/pkg-message
Normal file
20
chinese/auto-cn-l10n/pkg-message
Normal file
@ -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
|
||||
|
||||
**************************************************************************
|
||||
|
12
chinese/auto-cn-l10n/pkg-plist
Normal file
12
chinese/auto-cn-l10n/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user