summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2001-09-08 16:37:56 +0000
committerClive Lin <clive@FreeBSD.org>2001-09-08 16:37:56 +0000
commitf608489412cfc067f51dc2f926b24a3a84b10307 (patch)
tree1cc94293a351bf06229c64b66caff387a5a063fd /chinese
parent1. Upgrade to 1.1.2. They recommend 1.0.1, but 1.1.2 has been out for a (diff)
New port: zhcon
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 Windows 98 and UCDOS for MS-DOS. PR: ports/30433 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Notes
Notes: svn path=/head/; revision=47542
Diffstat (limited to 'chinese')
-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/