summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1997-12-04 01:56:17 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1997-12-04 01:56:17 +0000
commitcaf403c909aaf712fd47d4ebd25e7cb6504c2fae (patch)
tree0b7f844c6450ed5121c1c25573968e4b2787b740 /chinese
parentUpgrade to December 2, 1997 snapshot and change all CFLAGS = 's to (diff)
zh-rxvt enable the BIG5 support of rxvt-2.4.4,
Extra patchs have been applied to add support for XCIN PR: ports/5066 Submitted by: Frankch Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>
Notes
Notes: svn path=/head/; revision=8973
Diffstat (limited to 'chinese')
-rw-r--r--chinese/rxvt/Makefile18
-rw-r--r--chinese/rxvt/distinfo1
-rw-r--r--chinese/rxvt/files/patch-aa60
-rw-r--r--chinese/rxvt/files/patch-ab39
-rw-r--r--chinese/rxvt/pkg-comment1
-rw-r--r--chinese/rxvt/pkg-descr5
-rw-r--r--chinese/rxvt/pkg-plist2
7 files changed, 126 insertions, 0 deletions
diff --git a/chinese/rxvt/Makefile b/chinese/rxvt/Makefile
new file mode 100644
index 000000000000..279d45d4006c
--- /dev/null
+++ b/chinese/rxvt/Makefile
@@ -0,0 +1,18 @@
+# New ports collection Makefile for: rxvt
+# Version required: 2.4.4
+# Date created: Nov 16 1997
+# Whom: frankch@waru.life.nthu.edu.tw
+
+DISTNAME= rxvt-2.4.4
+PKGNAME= zh-rxvt-2.4.4
+CATEGORIES= chinese x11
+MASTER_SITES= ftp://ftp.math.fu-berlin.de/pub/rxvt/devel/
+
+MAINTAINER= frankch@waru.life.nthu.edu.tw
+
+USE_X11= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-big5=yes --enable-xcin=yes
+MAN1= crxvt.1
+
+.include <bsd.port.mk>
diff --git a/chinese/rxvt/distinfo b/chinese/rxvt/distinfo
new file mode 100644
index 000000000000..05b02c952704
--- /dev/null
+++ b/chinese/rxvt/distinfo
@@ -0,0 +1 @@
+MD5 (rxvt-2.4.4.tar.gz) = 8e9dc637e7b8ed536d8510a32e4f28b7
diff --git a/chinese/rxvt/files/patch-aa b/chinese/rxvt/files/patch-aa
new file mode 100644
index 000000000000..d57c9ba82fed
--- /dev/null
+++ b/chinese/rxvt/files/patch-aa
@@ -0,0 +1,60 @@
+--- Makefile.in.orig Mon Nov 3 02:00:52 1997
++++ Makefile.in Sat Nov 29 00:58:47 1997
+@@ -7,7 +7,7 @@
+ first_rule: all
+ dummy:
+
+-subdirs = src doc rclock src/graphics
++subdirs = src doc src/graphics
+
+ DIST = INSTALL configure Makefile Makefile.in
+
+--- configure.orig Mon Nov 3 02:00:52 1997
++++ configure Sat Nov 29 00:58:47 1997
+@@ -26,6 +26,8 @@
+ ac_help="$ac_help
+ --enable-big5 enable big5 support"
+ ac_help="$ac_help
++ --enable-xcin enable Chinese XCIN input support"
++ac_help="$ac_help
+ --enable-greek enable greek keyboard support"
+ ac_help="$ac_help
+ --with-term=NAME set the terminal to NAME (default "xterm")"
+@@ -651,6 +653,17 @@
+ if test x$enableval = xyes; then
+ cat >> confdefs.h <<\EOF
+ #define BIG5 1
++EOF
++
++ fi
++fi
++
++# Check whether --enable-xcin or --disable-xcin was given.
++if test "${enable_xcin+set}" = set; then
++ enableval="$enable_xcin"
++ if test x$enableval = xyes; then
++ cat >> confdefs.h <<\EOF
++#define XCIN 1
+ EOF
+
+ fi
+--- doc/Makefile.in.orig Mon Nov 3 02:00:52 1997
++++ doc/Makefile.in Sat Nov 29 01:02:43 1997
+@@ -53,7 +53,7 @@
+
+ tags allbin:
+
+-alldoc: lsm rxvt.1
++alldoc: rxvt.1
+
+ clean:
+ $(RMF) $(VERNAME).lsm rxvt.1 *~
+@@ -66,7 +66,7 @@
+ (cd $(srcdir); $(RMF) Makefile)
+
+ install: alldoc
+- $(INSTALL_DATA) rxvt.1 $(DESTDIR)$(mandir)/$(manprefix)rxvt.$(manext)
++ $(INSTALL_DATA) rxvt.1 $(DESTDIR)$(mandir)/$(manprefix)crxvt.$(manext)
+
+ uninstall:
+ -cd $(mandir); $(RMF) $(manprefix)rxvt.$(manext)
diff --git a/chinese/rxvt/files/patch-ab b/chinese/rxvt/files/patch-ab
new file mode 100644
index 000000000000..74d3ce3d5637
--- /dev/null
+++ b/chinese/rxvt/files/patch-ab
@@ -0,0 +1,39 @@
+--- autoconf/acconfig.h.orig Mon Nov 3 02:00:52 1997
++++ autoconf/acconfig.h Sat Nov 29 00:58:47 1997
+@@ -13,6 +13,9 @@
+ /* after compilation, rename executable as `crxvt' */
+ #undef BIG5
+
++/* Define if you want XCIN Chinese Input support */
++#undef XCIN
++
+ /* Define if Xlocale support doesn't work */
+ #undef NO_XLOCALE
+
+--- autoconf/config.h.in.orig Mon Nov 3 02:00:52 1997
++++ autoconf/config.h.in Sat Nov 29 00:58:47 1997
+@@ -58,6 +58,9 @@
+ /* after compilation, rename executable as `crxvt' */
+ #undef BIG5
+
++/* Define if you want XCIN Chinese Input support */
++#undef XCIN
++
+ /* Define if Xlocale support doesn't work */
+ #undef NO_XLOCALE
+
+--- autoconf/configure.in.orig Mon Nov 3 02:00:52 1997
++++ autoconf/configure.in Sat Nov 29 00:58:47 1997
+@@ -63,6 +63,12 @@
+ AC_DEFINE(BIG5)
+ fi])
+
++AC_ARG_ENABLE(xcin,
++[ --enable-xcin enable XCIN support],
++[if test x$enableval = xyes; then
++ AC_DEFINE(XCIN)
++fi])
++
+ AC_ARG_ENABLE(greek,
+ [ --enable-greek enable greek keyboard support],
+ [if test x$enableval = xyes; then
diff --git a/chinese/rxvt/pkg-comment b/chinese/rxvt/pkg-comment
new file mode 100644
index 000000000000..b085e63cb3c8
--- /dev/null
+++ b/chinese/rxvt/pkg-comment
@@ -0,0 +1 @@
+rxvt - a low memory usage xterm replacement that supports color & chinese
diff --git a/chinese/rxvt/pkg-descr b/chinese/rxvt/pkg-descr
new file mode 100644
index 000000000000..3def20021130
--- /dev/null
+++ b/chinese/rxvt/pkg-descr
@@ -0,0 +1,5 @@
+Rxvt is an xterm replacement which uses a little less memory, and is
+suitable for use on machines with small memories.
+The KANJI support was added to rxvt since 2.17, from 2.4.4(3?) the support
+for Chinese BIG5 encoding is also added.
+This port is patched for XCIN, a Chinese Input Server.
diff --git a/chinese/rxvt/pkg-plist b/chinese/rxvt/pkg-plist
new file mode 100644
index 000000000000..e8ff4b64f22c
--- /dev/null
+++ b/chinese/rxvt/pkg-plist
@@ -0,0 +1,2 @@
+bin/crxvt
+man/man1/crxvt.1.gz