aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-11-08 09:07:04 +0800
committerkevlo <kevlo@FreeBSD.org>2000-11-08 09:07:04 +0800
commit755bc085a4ff11aaf9e10df2090e97071387fa20 (patch)
treec88f67bc632aba02b872f17fad35256c89cb632c
parentbcde7ea72cd5b3b26519fbcdef05166c4afef767 (diff)
downloadfreebsd-ports-gnome-755bc085a4ff11aaf9e10df2090e97071387fa20.tar.gz
freebsd-ports-gnome-755bc085a4ff11aaf9e10df2090e97071387fa20.tar.zst
freebsd-ports-gnome-755bc085a4ff11aaf9e10df2090e97071387fa20.zip
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. PR: 22673 Submitted by: Michael C. Wu <keichii@peorth.iteration.net>
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/auto-tw-l10n/Makefile80
-rw-r--r--chinese/auto-tw-l10n/distinfo1
-rw-r--r--chinese/auto-tw-l10n/pkg-comment1
-rw-r--r--chinese/auto-tw-l10n/pkg-descr2
-rw-r--r--chinese/auto-tw-l10n/pkg-plist1
6 files changed, 86 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 3c64ccac3f79..6cfdd0a1bd12 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -8,6 +8,7 @@
SUBDIR += acroread-chtfont
SUBDIR += arphicttf
SUBDIR += aterm
+ SUBDIR += auto-tw-l10n
SUBDIR += autoconvert
SUBDIR += bg5ps
SUBDIR += big5con
diff --git a/chinese/auto-tw-l10n/Makefile b/chinese/auto-tw-l10n/Makefile
new file mode 100644
index 000000000000..be316c1e2a5f
--- /dev/null
+++ b/chinese/auto-tw-l10n/Makefile
@@ -0,0 +1,80 @@
+# $FreeBSD$
+
+PORTNAME= auto-l10n
+PORTVERSION= 1.0
+
+CATEGORIES= chinese
+
+MASTER_SITES= ftp://ftp.iteration.net/pub/patch_chinese/
+
+DISTNAME= zh-tw-skel
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= keichii@iteration.net
+
+RUN_DEPENDS= ${X11BASE}/lib/aout/zh-XFree86-aoutlibs-3.3.6:${.CURDIR}/../XFree86-aoutlibs \
+ cle_base:${PORTSDIR}/chinese/cle_base \
+ big5fs:${PORTSDIR}/chinese/big5fs \
+ kcfonts:${PORTSDIR}/chinese/kcfonts \
+ arphicttf:${PORTSDIR}/chinese/arphicttf \
+ moefonts-cid:${PORTSDIR}/chinese/moefonts-cid \
+ moettf:{$PORTSDIR}/chinese/moettf \
+ autoconvert:${PORTSDIR}/chinese/autoconvert \
+ bg5ps:${PORTSDIR}/chinese/bg5ps \
+ acroread-chtfont:${PORTSDIR}/chinese/acroread-chtfont \
+ big5con:${PORTSDIR}/chinese/big5con \
+ libtabe:${PORTSDIR}/chinese/libtabe \
+ linux-gtk:${PORTSDIR}/chinese/linux-gtk \
+ mutt:{$PORTSDIR}/chinese/mutt \
+ netscape47-communicator:{$PORTSDIR}/chinese/netscape47-communicator \
+ nvi-big5:{$PORTSDIR}/chinese/nvi-big5 \
+ pine4:{$PORTSDIR}/chinese/pine4 \
+ pyDict:{$PORTSDIR}/chinese/pyDict \
+ rxvt-big5:{$PORTSDIR}/chinese/rxvt-big5 \
+ aterm:${PORTSDIR}/chinese/aterm \
+ telnet:{$PORTSDIR}/chinese/telnet \
+ tin:{$PORTSDIR}/chinese/tin \
+ tintin++:{$PORTSDIR}/chinese/tintin++ \
+ ve:{$PORTSDIR}/chinese/ve \
+ xcin25:{$PORTSDIR}/chinese/xcin25 \
+ xemacs21:{$PORTSDIR}/chinese/xemacs21 \
+ xmms:{$PORTSDIR}/chinese/xmms \
+
+
+NO_BUILD= yes
+
+post-install:
+
+ @${ECHO} "*************************************************************"
+ @${ECHO} "* English Instructions: *"
+ @${ECHO} "* After your install, you should type the following command *"
+ @${ECHO} "* as the normal user. *"
+ @${ECHO} "* WARNING: You should back up your configuration dotfiles *"
+ @${ECHO} "* WARNING: BEFORE you type the following. *"
+ @${ECHO} "* cd /usr/ports/chinese/auto-tw-l10n && make install-user *"
+ @${ECHO} "*************************************************************"
+ @${ECHO} "* 中文大五碼說明:(English users ignore following *"
+ @${ECHO} "* 在您安裝完畢後,請以您平常的使用者shell打下面這行指令 *"
+ @${ECHO} "* 注意:請將您的使用者目錄各設定檔先備份 *"
+ @${ECHO} "* cd /usr/ports/chinese/auto-tw-l10n && make install-user *"
+ @${ECHO} "*************************************************************"
+
+install-user:
+
+#Temporary hack before adduser is modified
+# For future adduser
+# adduser -l10n -v $HOME
+
+ /bin/cp ${.CURDIR}/work/zh_TW.Big5/* ${HOME}/
+
+ @${ECHO} "*************************************************************"
+ @${ECHO} "* English Instructions: *"
+ @${ECHO} "* Merge your backed up old dotfiles with the new ones. *"
+ @${ECHO} "*************************************************************"
+ @${ECHO} "* 中文大五碼說明:(English users ignore following *"
+ @${ECHO} "* 請比對您的舊設定跟新設定 *"
+ @${ECHO} "*************************************************************"
+
+
+.include <bsd.port.mk>
+
diff --git a/chinese/auto-tw-l10n/distinfo b/chinese/auto-tw-l10n/distinfo
new file mode 100644
index 000000000000..197778fe45a6
--- /dev/null
+++ b/chinese/auto-tw-l10n/distinfo
@@ -0,0 +1 @@
+MD5 (zh-tw-skel.tgz) = ebbec39888e5381f029dcb99e61f55a5
diff --git a/chinese/auto-tw-l10n/pkg-comment b/chinese/auto-tw-l10n/pkg-comment
new file mode 100644
index 000000000000..da5a5b08e5f5
--- /dev/null
+++ b/chinese/auto-tw-l10n/pkg-comment
@@ -0,0 +1 @@
+The automatic localization port for Traditional Chinese zh_TW.Big5 locale
diff --git a/chinese/auto-tw-l10n/pkg-descr b/chinese/auto-tw-l10n/pkg-descr
new file mode 100644
index 000000000000..facb01af1a0a
--- /dev/null
+++ b/chinese/auto-tw-l10n/pkg-descr
@@ -0,0 +1,2 @@
+Traditional Chinese (BIG-5 encoding) zh_TW.Big5 automatic localization
+Install this port and you will have a Traditional Chinese FreeBSD system
diff --git a/chinese/auto-tw-l10n/pkg-plist b/chinese/auto-tw-l10n/pkg-plist
new file mode 100644
index 000000000000..549a621fec0c
--- /dev/null
+++ b/chinese/auto-tw-l10n/pkg-plist
@@ -0,0 +1 @@
+@comment this plist intentionally left empty