aboutsummaryrefslogtreecommitdiff
path: root/chinese/xemacs21
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-10-20 15:48:56 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-10-20 15:48:56 +0000
commitf4a5c5a177f825ab1010bd9da7b56e7391da7c81 (patch)
treeb6a7a3410b36e73ca8f52462afe01c6aa47eb225 /chinese/xemacs21
parent7ccff8de38f8afd99b79e0657a5fa034e7ea6a60 (diff)
downloadports-f4a5c5a177f825ab1010bd9da7b56e7391da7c81.tar.gz
ports-f4a5c5a177f825ab1010bd9da7b56e7391da7c81.zip
Notes
Diffstat (limited to 'chinese/xemacs21')
-rw-r--r--chinese/xemacs21/Makefile32
-rw-r--r--chinese/xemacs21/files/mule-init.el.diff12
-rw-r--r--chinese/xemacs21/pkg-comment1
-rw-r--r--chinese/xemacs21/pkg-message8
-rw-r--r--chinese/xemacs21/pkg-plist39
5 files changed, 92 insertions, 0 deletions
diff --git a/chinese/xemacs21/Makefile b/chinese/xemacs21/Makefile
new file mode 100644
index 000000000000..52d24d82760c
--- /dev/null
+++ b/chinese/xemacs21/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: zh-xemacs21
+# Date created: 1 October 2000
+# Whom: Jing-Tang Keith Jang <keith@freebsd.sinica.edu.tw>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= chinese editors
+
+COMMENT= ${.CURDIR}/pkg-comment
+PLIST= ${.CURDIR}/pkg-plist
+PKGMESSAGE= ${.CURDIR}/pkg-message
+
+XEMACS_MAJOR_VER= 21
+WITH_XIM= xlib
+BUILD_INPUT_METHOD= xcin2.5:${PORTSDIR}/chinese/xcin25
+
+# xemacs21-mule-common needs this.
+WRKDIR= ${.CURDIR}/../../editors/xemacs21-mule/work
+
+# Fix mule-init.el
+post-patch::
+ @${RM} ${WRKSRC}/lisp/mule/mule-init.elc
+ @(cd ${WRKSRC}; ${PATCH} -q < ${.CURDIR}/files/mule-init.el.diff)
+
+post-install::
+ @${MKDIR} ${PREFIX}/lib/xemacs-${XEMACS_VER}/etc/app-defaults/zh_TW.Big5
+ @${INSTALL_DATA} ${.CURDIR}/../xemacs/files/Emacs ${PREFIX}/lib/xemacs-${XEMACS_VER}/etc/app-defaults/zh_TW.Big5
+ @${INSTALL_DATA} ${.CURDIR}/../xemacs/files/sample.emacs ${PREFIX}/lib/xemacs-${XEMACS_VER}/etc/app-defaults/zh_TW.Big5
+ @${CAT} ${PKGMESSAGE}
+
+.include "${.CURDIR}/../../editors/xemacs21-mule/Makefile"
diff --git a/chinese/xemacs21/files/mule-init.el.diff b/chinese/xemacs21/files/mule-init.el.diff
new file mode 100644
index 000000000000..5aa55a413aa9
--- /dev/null
+++ b/chinese/xemacs21/files/mule-init.el.diff
@@ -0,0 +1,12 @@
+--- lisp/mule/mule-init.el.orig Fri Oct 20 14:08:56 2000
++++ lisp/mule/mule-init.el Fri Oct 20 14:09:12 2000
+@@ -76,7 +76,8 @@
+
+ (defvar auto-language-alist
+ '(("^ja" . "Japanese")
+- ("^zh" . "Chinese")
++ ("^zh_CN" . "Chinese-GB")
++ ("^zh_TW" . "Chinese-BIG5")
+ ("^ko" . "Korean"))
+ "Alist of LANG patterns vs. corresponding language environment.
+ Each element looks like (REGEXP . LANGUAGE-ENVIRONMENT).
diff --git a/chinese/xemacs21/pkg-comment b/chinese/xemacs21/pkg-comment
new file mode 100644
index 000000000000..f562c924482a
--- /dev/null
+++ b/chinese/xemacs21/pkg-comment
@@ -0,0 +1 @@
+XEmacs text editor version 21, with XIM support and Big5 settings
diff --git a/chinese/xemacs21/pkg-message b/chinese/xemacs21/pkg-message
new file mode 100644
index 000000000000..ea0bd99bb87d
--- /dev/null
+++ b/chinese/xemacs21/pkg-message
@@ -0,0 +1,8 @@
+---
+Now you have installed zh-XEmacs, do the following:
+cp /usr/local/lib/xemacs-21.1.2/etc/app-defaults/zh_TW.Big5/Emacs ~/Emacs
+cp /usr/local/lib/xemacs-21.1.2/etc/app-defaults/zh_TW.Big5/sample.emacs ~/.emacs
+
+To use XIM, execute xcin2.5 first, set BOTH LANG and LC_CTYPE to zh_TW.Big5,
+then execute xemacs. You should be able to input Chinese now.
+---
diff --git a/chinese/xemacs21/pkg-plist b/chinese/xemacs21/pkg-plist
new file mode 100644
index 000000000000..4d00337a2229
--- /dev/null
+++ b/chinese/xemacs21/pkg-plist
@@ -0,0 +1,39 @@
+bin/b2m
+bin/ctags
+bin/etags
+bin/gnuattach
+bin/gnuclient
+bin/gnudoit
+bin/ootags
+bin/rcs-checkin
+bin/xemacs
+bin/xemacs-%%XEMACS_VER%%
+bin/xemacs21-mule
+lib/xemacs-%%XEMACS_VER%%/etc/app-defaults/zh_TW.Big5/Emacs
+lib/xemacs-%%XEMACS_VER%%/etc/app-defaults/zh_TW.Big5/sample.emacs
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/DOC
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/add-big-package.sh
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/config.values
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/cvtmail
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/digest-doc
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/fakemail
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/gnuserv
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/gzip-el.sh
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/hexl
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/make-docfile
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/make-path
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/mmencode
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/movemail
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/profile
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/rcs2log
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/sorted-doc
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/vcdiff
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/wakeup
+lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/yow
+@exec ln -sf ja %%PREFIX%%/lib/xemacs/mule-packages/etc/app-defaults/ja_JP.EUC
+@unexec rm -f %%PREFIX%%/lib/xemacs/mule-packages/etc/app-defaults/ja_JP.EUC
+@unexec rmdir %%PREFIX%%/lib/xemacs/mule-packages/etc/app-defaults 2>/dev/null || true
+@unexec rmdir %%PREFIX%%/lib/xemacs/mule-packages/etc 2>/dev/null || true
+@unexec rmdir %%PREFIX%%/lib/xemacs/mule-packages 2>/dev/null || true
+@dirrm lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%
+@dirrm lib/xemacs-%%XEMACS_VER%%/etc/app-defaults/zh_TW.Big5