diff options
Diffstat (limited to 'chinese/zhcon')
-rw-r--r-- | chinese/zhcon/Makefile | 67 | ||||
-rw-r--r-- | chinese/zhcon/distinfo | 4 | ||||
-rw-r--r-- | chinese/zhcon/files/patch-doc-zhcon.1.in | 166 | ||||
-rw-r--r-- | chinese/zhcon/files/patch-src-winime.cpp | 11 | ||||
-rw-r--r-- | chinese/zhcon/files/patch-src-winime.h | 15 | ||||
-rw-r--r-- | chinese/zhcon/files/pkg-message.in | 8 | ||||
-rw-r--r-- | chinese/zhcon/pkg-descr | 7 | ||||
-rw-r--r-- | chinese/zhcon/pkg-plist | 39 |
8 files changed, 0 insertions, 317 deletions
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile deleted file mode 100644 index d77b2b9d6889..000000000000 --- a/chinese/zhcon/Makefile +++ /dev/null @@ -1,67 +0,0 @@ -# Created by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> -# $FreeBSD$ - -PORTNAME= zhcon -PORTVERSION= 0.2.6 -PORTREVISION= 2 -CATEGORIES= chinese -MASTER_SITES= SF -DISTNAME= ${PORTNAME}-0.2.5 - -PATCH_SITES= ${MASTER_SITES} -PATCHFILES= ${DISTNAME}-to-${PORTVERSION}.diff.gz -PATCH_DIST_STRIP= -p1 - -MAINTAINER= ports@FreeBSD.org -COMMENT= Fast CJK (Chinese/Japanese/Korean) virtual console - -LICENSE= GPLv2 - -GNU_CONFIGURE= yes -ONLY_FOR_ARCHS= i386 -# Don't bother to add ".if !defined(WITHOUT_NLS)", zhcon requires libintl -USES= gettext iconv -CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -SUB_FILES= pkg-message -MAN1= zhcon.1 -PORTDOCS= * - -OPTIONS_DEFINE= BIG5 DOCS -BIG5_DESC= Use Big5 by default (Taiwan, Hong Kong, Macau) - -NO_STAGE= yes -.include <bsd.port.options.mk> - -post-patch: - @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&, ; s,doc/,${DOCSDIR},' \ - ${WRKSRC}/doc/zhcon.1.in - @${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,' \ - ${WRKSRC}/src/display/fbdev.cpp - @${REINPLACE_CMD} -e 's,endian,sys/endian,' \ - ${WRKSRC}/src/display/fblinear*.cpp - @${REINPLACE_CMD} -e '/zhconpath/s,#,, ; s,/usr/lib,${PREFIX}/lib,' \ - ${WRKSRC}/src/zhcon.conf - @${REINPLACE_CMD} -e 's,$$enable_debug = ,x&x,' \ - ${WRKSRC}/configure -.if ${PORT_OPTIONS:MBIG5} - @${REINPLACE_CMD} -e '/defaultencode =/s,gb2312,big5,' \ - ${WRKSRC}/src/zhcon.conf -.endif - -post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/README.html ${WRKSRC}/doc/bpsf.txt \ - ${WRKSRC}/doc/poem.* ${WRKSRC}/ChangeLog ${WRKSRC}/NEWS \ - ${WRKSRC}/README ${WRKSRC}/README.utf8 ${WRKSRC}/THANKS \ - ${WRKSRC}/TODO ${DOCSDIR} - ${TAR} xf ${WRKSRC}/doc/html.tar.gz -C ${DOCSDIR} -.endif - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} - -.include <bsd.port.mk> diff --git a/chinese/zhcon/distinfo b/chinese/zhcon/distinfo deleted file mode 100644 index b799354e6637..000000000000 --- a/chinese/zhcon/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -SHA256 (zhcon-0.2.5.tar.gz) = 4ce4dc1395b6f6a920d44aac069a284bff76df4019ac4164850d263538465d59 -SIZE (zhcon-0.2.5.tar.gz) = 5011644 -SHA256 (zhcon-0.2.5-to-0.2.6.diff.gz) = c9da3f7290f7d74f3ca4f0d78c00c73c0100bcca5eba5d08c629ddc6c7ced9e1 -SIZE (zhcon-0.2.5-to-0.2.6.diff.gz) = 2881 diff --git a/chinese/zhcon/files/patch-doc-zhcon.1.in b/chinese/zhcon/files/patch-doc-zhcon.1.in deleted file mode 100644 index a490c0f9dac8..000000000000 --- a/chinese/zhcon/files/patch-doc-zhcon.1.in +++ /dev/null @@ -1,166 +0,0 @@ ---- doc/zhcon.1.in.orig 2006-04-25 00:38:47.000000000 +0800 -+++ doc/zhcon.1.in 2012-02-28 20:48:51.000000000 +0800 -@@ -1,99 +1,102 @@ --.TH "zhcon" "1" "zhcon @VERSION@" "Chinese" "zhcon user manual" -+.TH "zhcon" "1" "zhcon @VERSION@" "Chinese" "Zhcon user manual" - .SH "NAME" --.LP -+.LP - Zhcon \- a fast CJK console environment for GNU/Linux and BSD - .SH "SYNTAX" --.LP -+.LP - zhcon [prog] - .SH "DESCRIPTION" --.LP --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 KSC. --It can also use input methods(table based) from M$ pwin98 and -+.LP -+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 KSC. -+It can also use input methods (table based) from M$ Pwin98 and - UCDOS for M$\-DOG. - --* Features include: -+Features include: - --* Full support for Linux FrameBuffer device(from 640x480x8bpp to 1024x768x32bpp) -+* Full support for Linux FrameBuffer device (from 640x480x8bpp to -+ 1024x768x32bpp) - --* Multiple language support (GB2312, GBK, BIG5, JIS, KSCM) -+* Multiple language support (GB2312, GBK, Big5, JIS, KSCM) - - * Gpm mouse support under GNU/Linux (in progress) - - * Mouse support under FreeBSD (finished) - --* Auto\-detect and convert between GB2312 and BIG5 encoding(like hztty) -+* Auto\-detect and convert between GB2312 and Big5 encoding (like hztty) - - * Hot key to change language encoding on the fly - --* Can use input method from M$Pwin98 or UCDOS for M$\-DOG -+* Can use input method from M$ Pwin98 or UCDOS for M$\-DOG - --If a command line argument (prog) is given, zhcon will --run this program on start instead of a shell and quit when --that program exits. -+If a command line argument (prog) is given, zhcon will run this program -+on start instead of a shell and quit when that program exits. - For example: --.br -+ - zhcon screen --.br --will run screen on start --.SH "CONFIGURE FILE" --On startup, zhcon first try to load configuration from ~/.zhconrc.If failed, it will use /etc/zhcon.conf by default.The configure file has many options that control the behavior of zhcon.See the comments in the file for instruction on customizing zhcon.Comprehensive document can be found in doc/ directory of source package. - --.SH "KEY SUMMAY" --.LP --CTRL_ALT_H: active online help --.br -+will run screen on start -+.SH "CONFIGURATION FILE" -+On startup, zhcon first try to load configuration from ~/.zhconrc. -+If this fails, it will use /etc/zhcon.conf by default. -+The configuration file has many options that control the behavior of zhcon. -+See the comments in the file for instructions on customizing zhcon. -+Comprehensive documentation can be found in the doc/ directory of installed -+package. -+.SH "KEY SUMMARY" -+.LP -+CTRL_ALT_H: activate online help -+.br - ALT_SPACE: open/close CJK mode --.br -+.br - CTRL_SPACE: open/close input method --.br -+.br - ALT_SPACE: show/hide input bar --.br -+.br - CTRL_,: toggle Full/Half char mode --.br -+.br - CTRL_.: toggle Chinese symbol --.br --CTRL_F1: set encode to GB2312 --.br --CTRL_F2: set encode to GBK --.br --CTRL_F3: set encode to BIG5 --.br --CTRL_F4: set encode to JIS --.br --CTRL_F5: set encode to KSCM --.br -+.br -+CTRL_F1: set encoding to GB2312 -+.br -+CTRL_F2: set encoding to GBK -+.br -+CTRL_F3: set encoding to Big5 -+.br -+CTRL_F4: set encoding to JIS -+.br -+CTRL_F5: set encoding to KSCM -+.br - CTRL_F7: toggle between nativebar and overspot input style --.br --CTRL_F9: toggle GB2312/BIG5 auto\-detect mode --.br -+.br -+CTRL_F9: toggle GB2312/Big5 auto\-detect mode -+.br - CTRL_F10: menu mode --.br --CTRL_ALT_1 \- CTRL_ALT_9: switch to input method 1 to 9 --.br --CTRL_ALT_0: English mode --.br -+.br -+CTRL_ALT_1\-ALT_9: switch to Chinese input method 1 to 9 -+.br -+CTRL_ALT_0: English input mode -+.br - - History mode keys: --.br -+.br - SHIFT_PAGEUP: scroll up half screen in history --.br -+.br - SHIFT_PAGEDOWN: scroll down half screen in history --.br -+.br - SHIFT_ARROWUP: scroll up one line in history --.br -+.br - SHIFT_ARROWDOWN: scroll down one in history -- - .SH "AUTHORS" --.LP --ejoy <ejoy@users.sourceforge.net> --.br -+.LP -+Zhang Le <ejoy@users.sourceforge.net> -+.br - Hu Yong <ccpaging@etang.com> --.br -+.br - Rick Lei <rick@chinaren.com> --.LP --This manpage is written by ejoy. -+.LP -+This manpage was written by Zhang Le. - .SH "SEE ALSO" --.LP -+.LP diff --git a/chinese/zhcon/files/patch-src-winime.cpp b/chinese/zhcon/files/patch-src-winime.cpp deleted file mode 100644 index c017310bfebf..000000000000 --- a/chinese/zhcon/files/patch-src-winime.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/winime.cpp.orig Tue Apr 25 00:38:28 2006 -+++ src/winime.cpp Wed Jul 19 22:29:47 2006 -@@ -184,6 +184,8 @@ - p++; - while (IsGB2312_1(*p) && IsGB2312_2(*(p + 1))) - p += 2; -+ while (IsBIG5_1(*p) && IsBIG5_2(*(p + 1))) -+ p += 2; - return !IsHzCode1(*p); - } - diff --git a/chinese/zhcon/files/patch-src-winime.h b/chinese/zhcon/files/patch-src-winime.h deleted file mode 100644 index 1b878902fa0b..000000000000 --- a/chinese/zhcon/files/patch-src-winime.h +++ /dev/null @@ -1,15 +0,0 @@ ---- src/winime.h.orig Tue Apr 25 00:38:26 2006 -+++ src/winime.h Wed Jul 19 22:27:58 2006 -@@ -68,6 +68,12 @@ - bool IsGB2312_2(char c) const { - return c >= 0xA1 && c <= 0xFE; - } -+ bool IsBIG5_1(char c) const { -+ return c >= 0xA1 && c <= 0xFE; -+ } -+ bool IsBIG5_2(char c) const { -+ return c >= 0x40 && c <= 0x7E; -+ } - - void AddCandilist(char*& p,unsigned& buflen); - void SkipNext(char*& rp); diff --git a/chinese/zhcon/files/pkg-message.in b/chinese/zhcon/files/pkg-message.in deleted file mode 100644 index 8e5e5d2e3a5c..000000000000 --- a/chinese/zhcon/files/pkg-message.in +++ /dev/null @@ -1,8 +0,0 @@ -************************************************************************* - - Make sure you have the following two lines in your kernel config: - - options SC_PIXEL_MODE - options VESA # or set vesa_load="YES" in /boot/loader.conf - -************************************************************************* diff --git a/chinese/zhcon/pkg-descr b/chinese/zhcon/pkg-descr deleted file mode 100644 index 39ec52ce4bc4..000000000000 --- a/chinese/zhcon/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Zhcon is fast CJK (Chinese/Japanese/Korean) virtual console, it can display -Chinese, Japanese, or Korean double byte characters. Supported language -encodings include: GB2312, GBK, Big5, JIS, and KSC; UTF-8 is also supported. - -It can 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 deleted file mode 100644 index 1b4e6ec0e11e..000000000000 --- a/chinese/zhcon/pkg-plist +++ /dev/null @@ -1,39 +0,0 @@ -bin/zhcon -etc/zhcon.conf -lib/zhcon/font/asc12.bpsf -lib/zhcon/font/asc12x.bpsf -lib/zhcon/font/asc14.bpsf -lib/zhcon/font/asc14b.bpsf -lib/zhcon/font/asc16.bpsf -lib/zhcon/font/asc24.bpsf -lib/zhcon/font/big5-12-ming.bpsf -lib/zhcon/font/big5-16.bpsf -lib/zhcon/font/gb-16.bpsf -lib/zhcon/font/gb-24-kai.bpsf -lib/zhcon/font/gbk-16.bpsf -lib/zhcon/font/hzk12.bpsf -lib/zhcon/font/hzk14.bpsf -lib/zhcon/font/hzk16.bpsf -lib/zhcon/font/jis-16.bpsf -lib/zhcon/font/ksc-16.bpsf -lib/zhcon/input/big5-ary30.mb -lib/zhcon/input/big5-cj.mb -lib/zhcon/input/big5-liu5.mb -lib/zhcon/input/big5-phone.mb -lib/zhcon/input/cjf.mb -lib/zhcon/input/cjj.mb -lib/zhcon/input/dzm.mb -lib/zhcon/input/ed.mb -lib/zhcon/input/jp.mb -lib/zhcon/input/pt.mb -lib/zhcon/input/py.mb -lib/zhcon/input/sp.mb -lib/zhcon/input/wb.mb -lib/zhcon/input/wbew.mb -lib/zhcon/input/wbh.mb -lib/zhcon/input/winpy.mb -lib/zhcon/input/winsp.mb -lib/zhcon/input/winzm.mb -@dirrm lib/zhcon/input -@dirrm lib/zhcon/font -@dirrm lib/zhcon |