aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/zhcon/Makefile26
-rw-r--r--chinese/zhcon/distinfo1
-rw-r--r--chinese/zhcon/files/patch-aa11
-rw-r--r--chinese/zhcon/pkg-comment1
-rw-r--r--chinese/zhcon/pkg-descr8
-rw-r--r--chinese/zhcon/pkg-plist23
7 files changed, 71 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 24928961de5b..de29700df647 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
#
+ SUBDIR += zhcon
SUBDIR += CJK
SUBDIR += FreeWnn-lib
SUBDIR += FreeWnn-server
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile
new file mode 100644
index 000000000000..f94219bf0983
--- /dev/null
+++ b/chinese/zhcon/Makefile
@@ -0,0 +1,26 @@
+# Ports collection makefile for: zhcon
+# Date created: Sun Sep 9, 2001
+# Whom: statue@freebsd.sinica.edu.tw
+#
+# $FreeBSD$
+#
+
+PORTNAME= zhcon
+PORTVERSION= 0.14f
+CATEGORIES= chinese
+MASTER_SITES= http://freebsd.sinica.edu.tw/~statue/ \
+ ftp://ftp.gnuchina.org/pub/linux/chinese/inputmethod/console/zhcon/BSDPort/
+
+MAINTAINER= statue@freebsd.sinica.edu.tw
+
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+
+MAN1= zhcon.1
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} > 500012
+post-patch:
+ @${PERL} -pi -e 's,machine/console.h>,sys/consio.h>\n#include <sys/fbio.h>\n#include <sys/kbio.h>\n,' ${WRKSRC}/${PORTNAME}/*.cpp
+.endif
+.include <bsd.port.post.mk>
diff --git a/chinese/zhcon/distinfo b/chinese/zhcon/distinfo
new file mode 100644
index 000000000000..6e28cd61c593
--- /dev/null
+++ b/chinese/zhcon/distinfo
@@ -0,0 +1 @@
+MD5 (zhcon-0.14f.tar.gz) = d7a8c49bc7b7d97cd30385f0110806bc
diff --git a/chinese/zhcon/files/patch-aa b/chinese/zhcon/files/patch-aa
new file mode 100644
index 000000000000..8bef2bd5570f
--- /dev/null
+++ b/chinese/zhcon/files/patch-aa
@@ -0,0 +1,11 @@
+--- configure.orig Sat Sep 8 19:16:35 2001
++++ configure Sat Sep 8 19:16:51 2001
+@@ -707,7 +707,7 @@
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+- for ac_prog in ginstall scoinst install; do
++ for ac_prog in install scoinst ginstall; do
+ if test -f $ac_dir/$ac_prog; then
+ if test $ac_prog = install &&
+ grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
diff --git a/chinese/zhcon/pkg-comment b/chinese/zhcon/pkg-comment
new file mode 100644
index 000000000000..07f4e3b5e4a8
--- /dev/null
+++ b/chinese/zhcon/pkg-comment
@@ -0,0 +1 @@
+A fast Console Chinese System which supports framebuffer device
diff --git a/chinese/zhcon/pkg-descr b/chinese/zhcon/pkg-descr
new file mode 100644
index 000000000000..7af51b5c5a7b
--- /dev/null
+++ b/chinese/zhcon/pkg-descr
@@ -0,0 +1,8 @@
+Zhcon is a fast Linux Console Chinese System which supports
+framebuffer device.It can display Chinese,Japanese or Korean
+double byte characters.Supported language encodings include:
+GB2312,GBK,BIG5,JIS and KSCM.
+It can also use input methods(table based) from M$pwin98 and
+UCDOS for M$-DOG.
+
+WWW: http://sourceforge.net/projects/zhcon/
diff --git a/chinese/zhcon/pkg-plist b/chinese/zhcon/pkg-plist
new file mode 100644
index 000000000000..f39ab9de999e
--- /dev/null
+++ b/chinese/zhcon/pkg-plist
@@ -0,0 +1,23 @@
+bin/zhcon
+lib/zhcon/asc16
+lib/zhcon/big516
+lib/zhcon/cjf.mb
+lib/zhcon/cjj.mb
+lib/zhcon/dzm.mb
+lib/zhcon/ed.mb
+lib/zhcon/gb16
+lib/zhcon/gbk16
+lib/zhcon/jis16
+lib/zhcon/jp.mb
+lib/zhcon/kscm16
+lib/zhcon/pt.mb
+lib/zhcon/py.mb
+lib/zhcon/sp.mb
+lib/zhcon/wb.mb
+lib/zhcon/wbew.mb
+lib/zhcon/wbh.mb
+lib/zhcon/winpy.mb
+lib/zhcon/winsp.mb
+lib/zhcon/winzm.mb
+lib/zhcon/zhcon.cfg
+@dirrm lib/zhcon/