Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  7 Nov 2000 18:38:24 -0600 (CST)
From:      keichii@iteration.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22673: New port: chinese/auto-tw-l10n
Message-ID:  <20001108003824.212B85730D@peorth.iteration.net>

next in thread | raw e-mail | index | archive | help

>Number:         22673
>Category:       ports
>Synopsis:       new port: chinese/auto-tw-l10n
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 07 16:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael C. Wu
>Release:        5.0-CURRENT
>Organization:
iteration.net
>Environment:

Tested on PRE_SMPNG, 4.1-BETA, and HEAD
Also tested by: keith@freebsd.org, kevlo@freebsd.org

>Description:

This port follows the proposed automatic L10N for ports discussed
at the BSDCon2000 I18N meeting.  User only needs to install
the port to gain a fully localized Traditional Chinese system.

>How-To-Repeat:

Please commit.

>Fix:



# 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-tw-l10n
#	auto-tw-l10n/pkg-plist
#	auto-tw-l10n/pkg-descr
#	auto-tw-l10n/pkg-comment
#	auto-tw-l10n/Makefile
#	auto-tw-l10n/distinfo
#
echo c - auto-tw-l10n
mkdir -p auto-tw-l10n > /dev/null 2>&1
echo x - auto-tw-l10n/pkg-plist
sed 's/^X//' >auto-tw-l10n/pkg-plist << 'END-of-auto-tw-l10n/pkg-plist'
X@comment this plist intentionally left empty
END-of-auto-tw-l10n/pkg-plist
echo x - auto-tw-l10n/pkg-descr
sed 's/^X//' >auto-tw-l10n/pkg-descr << 'END-of-auto-tw-l10n/pkg-descr'
XTraditional Chinese (BIG-5 encoding) zh_TW.Big5 automatic localization
XInstall this port and you will have a Traditional Chinese FreeBSD system
END-of-auto-tw-l10n/pkg-descr
echo x - auto-tw-l10n/pkg-comment
sed 's/^X//' >auto-tw-l10n/pkg-comment << 'END-of-auto-tw-l10n/pkg-comment'
XThe automatic localization port for Traditional Chinese zh_TW.Big5 locale
END-of-auto-tw-l10n/pkg-comment
echo x - auto-tw-l10n/Makefile
sed 's/^X//' >auto-tw-l10n/Makefile << 'END-of-auto-tw-l10n/Makefile'
XPORTNAME=	auto-l10n
XPORTVERSION=	1.0
X
XCATEGORIES=	chinese
X
XMASTER_SITES=	ftp://ftp.iteration.net/pub/patch_chinese/
X
XDISTNAME=	zh-tw-skel
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	keichii@iteration.net
X
XLIB_DEPENDS=	#
XRUN_DEPENDS=	${X11BASE}/lib/aout/zh-XFree86-aoutlibs-3.3.6:${.CURDIR}/../XFree86-aoutlibs \
X		cle_base:${PORTSDIR}/chinese/cle_base \
X		big5fs:${PORTSDIR}/chinese/big5fs \
X		kcfonts:${PORTSDIR}/chinese/kcfonts \
X		arphicttf:${PORTSDIR}/chinese/arphicttf \
X		moefonts-cid:${PORTSDIR}/chinese/moefonts-cid \
X		moettf:{$PORTSDIR}/chinese/moettf \
X		autoconvert:${PORTSDIR}/chinese/autoconvert \
X		bg5ps:${PORTSDIR}/chinese/bg5ps \
X		acroread-chtfont:${PORTSDIR}/chinese/acroread-chtfont \
X		big5con:${PORTSDIR}/chinese/big5con \
X		libtabe:${PORTSDIR}/chinese/libtabe \
X		linux-gtk:${PORTSDIR}/chinese/linux-gtk \
X		mutt:{$PORTSDIR}/chinese/mutt \
X		netscape47-communicator:{$PORTSDIR}/chinese/netscape47-communicator \
X		nvi-big5:{$PORTSDIR}/chinese/nvi-big5 \
X		pine4:{$PORTSDIR}/chinese/pine4 \
X		pyDict:{$PORTSDIR}/chinese/pyDict \
X		rxvt-big5:{$PORTSDIR}/chinese/rxvt-big5 \
X		aterm:${PORTSDIR}/chinese/aterm \
X		telnet:{$PORTSDIR}/chinese/telnet \
X		tin:{$PORTSDIR}/chinese/tin \
X		tintin++:{$PORTSDIR}/chinese/tintin++ \
X		ve:{$PORTSDIR}/chinese/ve \
X		xcin25:{$PORTSDIR}/chinese/xcin25 \
X		xemacs21:{$PORTSDIR}/chinese/xemacs21 \
X		xmms:{$PORTSDIR}/chinese/xmms \
X
X
XNO_BUILD=       yes
X
Xdo-install:     # empty
X
Xpost-install:
X
X	@${ECHO} "*************************************************************"
X	@${ECHO} "* English Instructions:                                     *"
X	@${ECHO} "* After your install, you should type the following command *"
X	@${ECHO} "* as the normal user.                                       *"
X	@${ECHO} "* WARNING: You should back up your configuration dotfiles   *" 
X	@${ECHO} "* WARNING: BEFORE you type the following.                   *"
X	@${ECHO} "* cd /usr/ports/chinese/auto-tw-l10n && make install-user   *"
X	@${ECHO} "*************************************************************"
X	@${ECHO} "* 中文大五碼說明:(English users ignore following           *"
X	@${ECHO} "* 在您安裝完畢後,請以您平常的使用者shell打下面這行指令     *"
X	@${ECHO} "* 注意:請將您的使用者目錄各設定檔先備份                    *"
X	@${ECHO} "* cd /usr/ports/chinese/auto-tw-l10n && make install-user   *" 
X	@${ECHO} "*************************************************************"
X
Xinstall-user:
X
X#Temporary hack before adduser is modified
X#	For future adduser 
X#	adduser -l10n -v $HOME
X
X	/bin/cp ${.CURDIR}/work/zh_TW.Big5/* ${HOME}/
X
X	@${ECHO} "*************************************************************"
X	@${ECHO} "* English Instructions:                                     *"
X	@${ECHO} "* Merge your backed up old dotfiles with the new ones.      *"
X	@${ECHO} "*************************************************************"
X	@${ECHO} "* 中文大五碼說明:(English users ignore following           *"
X	@${ECHO} "* 請比對您的舊設定跟新設定                                  *"
X	@${ECHO} "*************************************************************"
X
X
X.include <bsd.port.mk>
X	
END-of-auto-tw-l10n/Makefile
echo x - auto-tw-l10n/distinfo
sed 's/^X//' >auto-tw-l10n/distinfo << 'END-of-auto-tw-l10n/distinfo'
XMD5 (zh-tw-skel.tgz) = ebbec39888e5381f029dcb99e61f55a5
END-of-auto-tw-l10n/distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001108003824.212B85730D>