1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

- Update to 1.11

- Update MASTER_SITES: host new tarball in my LOCAL
- Change from Big5 to UTF-8 [1]
- Remove out-dated KDE3 option

Changes:
- Change from Big5 to UTF-8 [1]

Suggested by:	kevlo [1]
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-07-22 06:38:17 +00:00
parent 1c0214e191
commit a2b9767e4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278148
4 changed files with 31 additions and 46 deletions

View File

@ -5,14 +5,12 @@
# $FreeBSD$
PORTNAME= auto-tw-l10n
PORTVERSION= 1.10
PORTREVISION= 3
PORTVERSION= 1.11
CATEGORIES= chinese
MASTER_SITES= LOCAL/chinsan
DISTNAME= zh-${PORTNAME}-${PORTVERSION}
MASTER_SITES= LOCAL/sunpoet
MAINTAINER= ports@FreeBSD.org
COMMENT= The automatic localization for Traditional Chinese zh_TW.Big5 locale
COMMENT= The automatic localization for Traditional Chinese zh_TW.UTF-8 locale
RUN_DEPENDS= ${FASTEST_CVSUP}:${PORTSDIR}/sysutils/fastest_cvsup
@ -23,32 +21,19 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-install pkg-message
SUB_LIST= PREFIX=${PREFIX} ZONE=${ZONE} SOURCE_DIR=${WRKSRC} \
WRKDIR=${WRKDIR} FASTEST_CVSUP=${FASTEST_CVSUP}
OPTIONS= KDE3 "Enable KDE support" Off
FASTEST_CVSUP?= ${LOCALBASE}/bin/fastest_cvsup
ZONE?= tw
.include <bsd.port.pre.mk>
post-patch:
.if defined(WITH_KDE3)
@${REINPLACE_CMD} -e '5 s/en_US.ISO8859-1/zh_TW.Big5/g' \
${WRKSRC}/dot.cshrc
@${REINPLACE_CMD} -e '1 s/en_US.ISO8859-1/zh_TW.Big5/g' \
${WRKSRC}/dot.bashrc
@${FIND} ${WRKSRC} -name "*.bak" -delete
.endif
@${FIND} ${WRKSRC} -name "*.orig" -delete
pre-install:
@${SH} ${PKGINSTALL}
@${FIND} ${WRKSRC} -name "*.in" -delete
do-install:
${MKDIR} ${PREFIX}/share/skel/zh_TW.Big5
${CP} ${WRKSRC}/* ${PREFIX}/share/skel/zh_TW.Big5
${MKDIR} ${PREFIX}/share/skel/zh_TW.UTF-8/
${CP} ${WRKSRC}/* ${PREFIX}/share/skel/zh_TW.UTF-8/
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (zh-auto-tw-l10n-1.10.tar.gz) = fe76d8325be82b53182790a565a8447c66646a06cdb43c6f3a8cbcbd5da135d9
SIZE (zh-auto-tw-l10n-1.10.tar.gz) = 8520
SHA256 (auto-tw-l10n-1.11.tar.gz) = 60f9d68913eefaaf41feb4ffd6b9fc0494ff2211bf9efabbe1912a12806331ab
SIZE (auto-tw-l10n-1.11.tar.gz) = 8647

View File

@ -2,24 +2,24 @@
English Instructions:
Please tell your users to merge their old dotfiles with the new ones, in
%%PREFIX%%/share/skel/zh_TW.Big5/dot.*
%%PREFIX%%/share/skel/zh_TW.UTF-8/dot.*
For future adduser
# adduser -k /usr/local/share/skel/zh_TW.Big5
# adduser -k /usr/local/share/skel/zh_TW.UTF-8
Finally, tuning your /etc/make.conf. Please SEE ALSO following file.
==> %%PREFIX%%/share/skel/zh_TW.Big5/make.conf
==> %%PREFIX%%/share/skel/zh_TW.UTF-8/make.conf
**************************************************************************
中文繁體(BIG5)說明:
請告知您的使用者比對他們的舊設定跟新設定,放在
%%PREFIX%%/share/skel/zh_TW.Big5/dot.*
中文繁體(UTF-8)說明:
請告知您的使用者比對他們的舊設定跟新設定,放在
%%PREFIX%%/share/skel/zh_TW.UTF-8/dot.*
若之後新增使用者的話,請用下面類似方式:
# adduser -k /usr/local/share/skel/zh_TW.Big5
若之後新增使用者的話,請用下面類似方式:
# adduser -k /usr/local/share/skel/zh_TW.UTF-8
最後,請參考下面這檔案來修改O /etc/make.conf 以做更好的設定:
==> %%PREFIX%%/share/skel/zh_TW.Big5/make.conf
最後,請參考下面這檔案來修改 /etc/make.conf 以做更好的設定:
==> %%PREFIX%%/share/skel/zh_TW.UTF-8/make.conf
**************************************************************************

View File

@ -1,13 +1,13 @@
share/skel/zh_TW.Big5/MANIFEST
share/skel/zh_TW.Big5/dot.Xdefaults
share/skel/zh_TW.Big5/dot.bashrc
share/skel/zh_TW.Big5/dot.cshrc
share/skel/zh_TW.Big5/dot.emacs
share/skel/zh_TW.Big5/dot.fonts.conf
share/skel/zh_TW.Big5/dot.gtkrc
share/skel/zh_TW.Big5/dot.inputrc
share/skel/zh_TW.Big5/dot.muttrc
share/skel/zh_TW.Big5/dot.vimrc
share/skel/zh_TW.Big5/dot.xinitrc
share/skel/zh_TW.Big5/make.conf
@dirrmtry share/skel/zh_TW.Big5
share/skel/zh_TW.UTF-8/MANIFEST
share/skel/zh_TW.UTF-8/dot.Xdefaults
share/skel/zh_TW.UTF-8/dot.bashrc
share/skel/zh_TW.UTF-8/dot.cshrc
share/skel/zh_TW.UTF-8/dot.emacs
share/skel/zh_TW.UTF-8/dot.fonts.conf
share/skel/zh_TW.UTF-8/dot.gtkrc
share/skel/zh_TW.UTF-8/dot.inputrc
share/skel/zh_TW.UTF-8/dot.muttrc
share/skel/zh_TW.UTF-8/dot.vimrc
share/skel/zh_TW.UTF-8/dot.xinitrc
share/skel/zh_TW.UTF-8/make.conf
@dirrmtry share/skel/zh_TW.UTF-8