diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-04 21:20:38 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-04 21:20:38 +0800 |
commit | 8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27 (patch) | |
tree | 510c6f1578924b66a5e49ff324fa63a8aa0e980f /chinese | |
parent | 22b238699bb20fe738cb4762fc1597a0afa7078d (diff) | |
download | marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.gz marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.bz2 marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.lz marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.xz marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.zst marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.zip |
- Fix build
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7548 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/chinput3/Makefile | 47 | ||||
-rw-r--r-- | chinese/chinput3/distinfo | 3 | ||||
-rw-r--r-- | chinese/chinput3/files/pkg-message.in | 10 | ||||
-rw-r--r-- | chinese/chinput3/pkg-descr | 7 | ||||
-rw-r--r-- | chinese/chinput3/pkg-plist | 31 |
5 files changed, 98 insertions, 0 deletions
diff --git a/chinese/chinput3/Makefile b/chinese/chinput3/Makefile new file mode 100644 index 000000000..fc3087d3b --- /dev/null +++ b/chinese/chinput3/Makefile @@ -0,0 +1,47 @@ +# Ports collection makefile for: chinput3 +# Date created: 03/31/2002 +# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= chinput +PORTVERSION= 3.0.2.5 +PORTREVISION= 3 +CATEGORIES= chinese x11 +MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/chinput3/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= Chinese GB2312,BIG5 code input server + +LATEST_LINK= zh-chinput3 +USE_XLIB= yes +USE_GETTEXT= yes +USE_GNOME= gtk12 imlib + +PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message + +.include <bsd.port.pre.mk> + +.if ${ARCH} != "i386" +BROKEN= "Does not compile on !i386" +.endif + +post-patch: + @${REINPLACE_CMD} -e '/extern int ForwardEvent();/d' \ + ${WRKSRC}/src/Chinput-*/src/*.c + @${FIND} ${WRKSRC} -type f | \ + ${XARGS} ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' + +pre-build: + @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \ + -e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|; \ + s|-I/usr/include|-I${LOCALBASE}/include|; \ + s|-L/usr/lib|-L${LOCALBASE}/lib|; \ + s|-L/usr/X11R6|-L${LOCALBASE}/lib -L/usr/X11R6|' + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/chinese/chinput3/distinfo b/chinese/chinput3/distinfo new file mode 100644 index 000000000..95ab98af9 --- /dev/null +++ b/chinese/chinput3/distinfo @@ -0,0 +1,3 @@ +MD5 (chinput-3.0.2.5.tar.gz) = dee38df80e6408aca70ee4f367cc988a +SHA256 (chinput-3.0.2.5.tar.gz) = d5385896b14bea80e951595d7ae65ca117def876f8c738453143a1a3f32968af +SIZE (chinput-3.0.2.5.tar.gz) = 3012129 diff --git a/chinese/chinput3/files/pkg-message.in b/chinese/chinput3/files/pkg-message.in new file mode 100644 index 000000000..acc0298d8 --- /dev/null +++ b/chinese/chinput3/files/pkg-message.in @@ -0,0 +1,10 @@ +------------------------------------------------------------------------------- +Please check the following files: + %%X11BASE%%/lib/X11/locale/zh_CN/XI18N_OBJS +If not exist, copy %%X11BASE%%/lib/X11/locale/zh/XI18N_OBJS to it. + +Remember to set environment varible XMODIFIERS: + csh/tcsh: setenv XMODIFIERS @im=Chinput + sh/bash: export XMODIFIERS='@im=Chinput' +and set LANG, LC_CTYPE to zh_CN.EUC. +------------------------------------------------------------------------------- diff --git a/chinese/chinput3/pkg-descr b/chinese/chinput3/pkg-descr new file mode 100644 index 000000000..38698c4ef --- /dev/null +++ b/chinese/chinput3/pkg-descr @@ -0,0 +1,7 @@ +Ported from Chinput3 on Linux platform . + +Chinese GB,BIG5 code input server. + +WWW: http://www.opencjk.org/~yumj/ + +Porting Author: cjaker@263.net diff --git a/chinese/chinput3/pkg-plist b/chinese/chinput3/pkg-plist new file mode 100644 index 000000000..780ac2a06 --- /dev/null +++ b/chinese/chinput3/pkg-plist @@ -0,0 +1,31 @@ +bin/chinput +bin/kpengine +bin/zwincontrol +lib/Chinput/Chinput.ad +lib/Chinput/hzbig5.dat +lib/Chinput/hzgb.dat +lib/Chinput/im/libimm_server.so +lib/Chinput/im/libimmclient.a +lib/Chinput/im/cce_pinyin.so +lib/Chinput/im/cce_hzinput.so +lib/Chinput/im/TL_hzinput.so +lib/Chinput/im/sys-gb.tab +lib/Chinput/im/sys-big5.tab +lib/Chinput/im/bin/cin2tab +lib/Chinput/im/bin/txt2tab +lib/Chinput/im/bin/tab2txt +lib/Chinput/im/cce/pinyin.map +lib/Chinput/im/cce/sysphrase.tab +lib/Chinput/im/cce/usrphrase.tab +lib/Chinput/im/gb/sp.tab +lib/Chinput/im/gb/WuBi.tab +lib/Chinput/im/gb/CCDOSPY.tab +lib/Chinput/im/gbk/gbkpy_mb.tab +lib/Chinput/im/tl_sysphrase.gb.bin +share/locale/zh_CN/LC_MESSAGES/zwincontrol.mo +@dirrm lib/Chinput/im/gbk +@dirrm lib/Chinput/im/gb +@dirrm lib/Chinput/im/cce +@dirrm lib/Chinput/im/bin +@dirrm lib/Chinput/im +@dirrm lib/Chinput |