Initial import of xcin 2.3.04.
Xcin is a Chinese-Input server for the X-Window. It doens't need the locale.
This commit is contained in:
parent
da4b2c6251
commit
284716ff81
52
chinese/xcin/Makefile
Normal file
52
chinese/xcin/Makefile
Normal file
@ -0,0 +1,52 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2000/05/31 09:54:43 kevlo Exp $
|
||||
|
||||
DISTNAME= xcin-2.3.04-3
|
||||
PKGNAME= zh-xcin-2.3.04
|
||||
CATEGORIES= chinese
|
||||
NEED_VERSION= 1.230
|
||||
MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/xcin/old/ \
|
||||
ftp://ftp.ncu.edu.tw/OS/Linux/Chinese/xcin/xcin/ \
|
||||
ftp://linux.cis.nctu.edu.tw/packages/chinese/X/xcin/xcin/
|
||||
|
||||
MAINTAINER= kevlo@openbsd.org
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/chinese/taipei16.pcf.gz::chinese/taipeifonts
|
||||
|
||||
HAS_CONFIGURE= Yes
|
||||
CONFIGURE_ARGS= --os=OpenBSD --no-menu
|
||||
FAKE= Yes
|
||||
|
||||
CINS= cj.cin cj.tab cj.tab.rev phone.tab phone.cin phone.tab phone.tab.rev \
|
||||
pinyin.cin pinyin.tab pinyin.tab.rev array30.cin array30.tab \
|
||||
array30.tab.rev zmdbosh.cin zmdbosh.tab zmdbosh.tab.rev
|
||||
|
||||
BINS= cin2tab et.kbm et26.kbm hsu.kbm lphrase phs_out pho.sel1st \
|
||||
pho.tab pin2tsin sample.phs.out tsa2d tsa2rel tsd2a \
|
||||
tsin tsin.idx tsin.rel tsin_pin.map tsin.rel.src tsin.src \
|
||||
voca.box zo.kbm
|
||||
|
||||
HOWTOS= Boshiamy.HOWTO Xfonts.HOWTO cin2tab.HOWTO xcin.HOWTO
|
||||
|
||||
post-configure:
|
||||
@cp ${FILESDIR}/config.status ${WRKSRC}
|
||||
|
||||
post-extract:
|
||||
@cp ${FILESDIR}/OpenBSD ${WRKSRC}/script/os_def
|
||||
|
||||
pre-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/xcin/docs
|
||||
|
||||
post-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/xcin ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/man/cin2tab.1 ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/man/xcin.1 ${PREFIX}/man/man1
|
||||
@for i in ${CINS} ; do cp $(WRKSRC)/input_tab/$$i ${PREFIX}/lib/xcin; done
|
||||
@for i in ${BINS} ; do cp $(WRKSRC)/src/$$i ${PREFIX}/lib/xcin; done
|
||||
@for i in ${HOWTOS} ; do cp $(WRKSRC)/doc/howto/$$i ${PREFIX}/lib/xcin/docs; done
|
||||
|
||||
.include <bsd.port.mk>
|
5
chinese/xcin/files/OpenBSD
Normal file
5
chinese/xcin/files/OpenBSD
Normal file
@ -0,0 +1,5 @@
|
||||
OS=OpenBSD
|
||||
CC=gcc
|
||||
CFLAGS=-O2
|
||||
XINC=/usr/X11R6/include
|
||||
XLIB=/usr/X11R6/lib
|
31
chinese/xcin/files/config.status
Normal file
31
chinese/xcin/files/config.status
Normal file
@ -0,0 +1,31 @@
|
||||
OS=OpenBSD
|
||||
CC=gcc
|
||||
CFLAGS=-O2
|
||||
XINC=/usr/X11R6/include
|
||||
XLIB=/usr/X11R6/lib
|
||||
|
||||
INSTALL_XCIN=yes
|
||||
INSTALL_INPTABS=yes
|
||||
INSTALL_DOCS=no
|
||||
INSTALL_UTILS=yes
|
||||
|
||||
PATH_XCIN_PREFIX=/usr/local
|
||||
PATH_XCIN_BIN=/usr/local/bin
|
||||
PATH_XCIN_DIR=/usr/local/lib/xcin
|
||||
PATH_XCIN_MAN=/usr/local/man
|
||||
|
||||
OPT_XCIN_CFONT=-taipei-ming16-medium-r-normal-*-16-160-*-*-*-*-big5-0
|
||||
OPT_XCIN_EFONT=12x24
|
||||
OPT_UTIL_CIN2TAB=yes
|
||||
OPT_UTIL_TSINTOOLS=yes
|
||||
OPT_INPTAB_SRC=yes
|
||||
OPT_INPTAB_PHONE=yes
|
||||
OPT_INPTAB_PINYIN=yes
|
||||
OPT_INPTAB_CJ=yes
|
||||
OPT_INPTAB_ZBOSH=yes
|
||||
OPT_INPTAB_CANTON=no
|
||||
OPT_INPTAB_AR30=yes
|
||||
INSTALL=/usr/bin/install -c
|
||||
INSTALL_PROGRAM=$(INSTALL)
|
||||
INSTALL_DATA=$(INSTALL) -m 644
|
||||
INSTALL_DIR=$(INSTALL) -d
|
3
chinese/xcin/files/md5
Normal file
3
chinese/xcin/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (xcin-2.3.04-3.tar.gz) = 737a6ea93237b12903c3088a06730c63
|
||||
RMD160 (xcin-2.3.04-3.tar.gz) = 692ebdfa11c6324079f2c39e001f290f1ae4b6ab
|
||||
SHA1 (xcin-2.3.04-3.tar.gz) = 235a3ab78a01d62b79bcc41eaab084580671e2c5
|
11
chinese/xcin/patches/patch-aa
Normal file
11
chinese/xcin/patches/patch-aa
Normal file
@ -0,0 +1,11 @@
|
||||
--- script/configure.menu.orig Wed May 31 22:15:04 2000
|
||||
+++ script/configure.menu Wed May 31 22:16:17 2000
|
||||
@@ -266,7 +266,7 @@
|
||||
{
|
||||
PATH_XCIN_PREFIX=$1
|
||||
PATH_XCIN_BIN=$PATH_XCIN_PREFIX/bin
|
||||
- PATH_XCIN_DIR=$PATH_XCIN_PREFIX/lib/xcin
|
||||
+ PATH_XCIN_DIR=$PATH_XCIN_PREFIX/lib/X11/xcin
|
||||
PATH_XCIN_MAN=$PATH_XCIN_PREFIX/man
|
||||
}
|
||||
|
39
chinese/xcin/patches/patch-ab
Normal file
39
chinese/xcin/patches/patch-ab
Normal file
@ -0,0 +1,39 @@
|
||||
--- src/Makefile.in.orig Wed Feb 24 16:30:33 1999
|
||||
+++ src/Makefile.in Thu Jun 1 01:23:23 2000
|
||||
@@ -152,29 +152,29 @@
|
||||
|
||||
install_xcin: xcin $(KBMS) $(INPUT0) tsintab
|
||||
if [ ! -d $(PATH_XCIN_BIN) ]; then $(INSTALL_DIR) $(PATH_XCIN_BIN); fi
|
||||
- $(INSTALL) xcin $(PATH_XCIN_BIN)
|
||||
- echo $(PATH_XCIN_BIN)/xcin >> filelist
|
||||
+ $(INSTALL_PROGRAM) xcin $(DESTDIR)$(PATH_XCIN_BIN)
|
||||
+ echo $(DESTDIR)$(PATH_XCIN_BIN)/xcin >> filelist
|
||||
|
||||
if [ ! -d $(PATH_XCIN_DIR) ]; then $(INSTALL_DIR) $(PATH_XCIN_DIR); fi
|
||||
for f in $(TSINTABS) $(KBMS) $(INPUT0) voca.box; do\
|
||||
- cp $$f $(PATH_XCIN_DIR); echo $(PATH_XCIN_DIR)/$$f >> filelist;\
|
||||
+ cp $$f $(DESTDIR)$(PATH_XCIN_DIR); echo $(DESTDIR)$(PATH_XCIN_DIR)/$$f >> filelist;\
|
||||
done
|
||||
|
||||
install_cin2tab: cin2tab
|
||||
if [ ! -d $(PATH_XCIN_DIR) ]; then $(INSTALL_DIR) $(PATH_XCIN_DIR); fi
|
||||
- $(INSTALL) cin2tab $(PATH_XCIN_DIR)
|
||||
- echo $(PATH_XCIN_DIR)/cin2tab >> filelist
|
||||
+ $(INSTALL_PROGRAM) cin2tab $(DESTDIR)$(PATH_XCIN_DIR)
|
||||
+ echo $(DESTDIR)$(PATH_XCIN_DIR)/cin2tab >> filelist
|
||||
|
||||
install_tsintools: tsintools
|
||||
if [ ! -d $(PATH_XCIN_DIR) ]; then $(INSTALL_DIR) $(PATH_XCIN_DIR); fi
|
||||
for f in $(TSINTOOLS); do\
|
||||
- $(INSTALL) $$f $(PATH_XCIN_DIR); echo $(PATH_XCIN_DIR)/$$f >> filelist;\
|
||||
+ $(INSTALL_PROGRAM) $$f $(DESTDIR)$(PATH_XCIN_DIR); echo $(DESTDIR)$(PATH_XCIN_DIR)/$$f >> filelist;\
|
||||
done
|
||||
|
||||
install_tsintabsrc:
|
||||
if [ ! -d $(PATH_XCIN_DIR) ]; then $(INSTALL_DIR) $(PATH_XCIN_DIR); fi
|
||||
for f in $(TSINTABSRC); do\
|
||||
- cp $$f $(PATH_XCIN_DIR); echo $(PATH_XCIN_DIR)/$$f >> filelist;\
|
||||
+ cp $$f $(DESTDIR)$(PATH_XCIN_DIR); echo $(DESTDIR)$(PATH_XCIN_DIR)/$$f >> filelist;\
|
||||
done
|
||||
|
||||
clean:
|
34
chinese/xcin/patches/patch-ac
Normal file
34
chinese/xcin/patches/patch-ac
Normal file
@ -0,0 +1,34 @@
|
||||
--- input_tab/Makefile.in.orig Wed May 31 22:42:23 2000
|
||||
+++ input_tab/Makefile.in Thu Jun 1 01:42:46 2000
|
||||
@@ -15,13 +15,28 @@
|
||||
(cd ../src; make cin2tab)
|
||||
ln -s ../src/cin2tab .
|
||||
|
||||
-%.tab: %.cin cin2tab
|
||||
- ./cin2tab $(basename $<)
|
||||
+phone.tab: cin2tab phone.cin
|
||||
+ ./cin2tab phone
|
||||
+
|
||||
+array30.tab: cin2tab array30.cin
|
||||
+ ./cin2tab array30
|
||||
+
|
||||
+cj.tab: cin2tab cj.cin
|
||||
+ ./cin2tab cj
|
||||
+
|
||||
+cantonese.tab: cin2tab cantonese.cin
|
||||
+ ./cin2tab cantonese
|
||||
+
|
||||
+pinyin.tab: cin2tab pinyin.cin
|
||||
+ ./cin2tab pinyin
|
||||
+
|
||||
+zmdbosh.tab: cin2tab zmdbosh.cin
|
||||
+ ./cin2tab zmdbosh
|
||||
|
||||
install: all
|
||||
if [ ! -d $(PATH_XCIN_DIR) ]; then $(INSTALL_DIR) $(PATH_XCIN_DIR); fi
|
||||
for f in $(install_tabs); do\
|
||||
- cp $$f $(PATH_XCIN_DIR); echo $(PATH_XCIN_DIR)/$$f >> filelist;\
|
||||
+ cp $$f $(DESTDIR)$(PATH_XCIN_DIR); echo $(DESTDIR)$(PATH_XCIN_DIR)/$$f >> filelist;\
|
||||
done
|
||||
|
||||
clean:
|
38
chinese/xcin/patches/patch-ad
Normal file
38
chinese/xcin/patches/patch-ad
Normal file
@ -0,0 +1,38 @@
|
||||
--- doc/Makefile.in.orig Thu Jun 1 00:26:45 2000
|
||||
+++ doc/Makefile.in Thu Jun 1 00:27:10 2000
|
||||
@@ -1,8 +1,8 @@
|
||||
include ../config.status
|
||||
|
||||
MANS = @INSTALLALL@
|
||||
-HOWTO = xcin.HOWTO cin2tab.HOWTO Boshiamy.HOWTO Xfonts.HOWTO
|
||||
-MISC = README.xcin XCIN.client.doc
|
||||
+#HOWTO = xcin.HOWTO cin2tab.HOWTO Boshiamy.HOWTO Xfonts.HOWTO
|
||||
+#MISC = README.xcin XCIN.client.doc
|
||||
|
||||
install:
|
||||
if [ ! -d $(PATH_XCIN_MAN) ]; then $(INSTALL_DIR) $(PATH_XCIN_MAN); fi
|
||||
@@ -11,15 +11,15 @@
|
||||
$(INSTALL_DATA) man/$$f $(PATH_XCIN_MAN)/man1; \
|
||||
echo $(PATH_XCIN_MAN)/man1/$$f >> filelist; \
|
||||
done
|
||||
- if [ ! -d $(PATH_XCIN_DIR)/docs ]; then $(INSTALL_DIR) $(PATH_XCIN_DIR)/docs; fi
|
||||
- for f in $(HOWTO); do \
|
||||
- $(INSTALL_DATA) howto/$$f $(PATH_XCIN_DIR)/docs; \
|
||||
- echo $(PATH_XCIN_DIR)/docs/$$f >> filelist; \
|
||||
- done
|
||||
- for f in $(MISC); do \
|
||||
- $(INSTALL_DATA) misc/$$f $(PATH_XCIN_DIR)/docs; \
|
||||
- echo $(PATH_XCIN_DIR)/docs/$$f >> filelist; \
|
||||
- done
|
||||
+# if [ ! -d $(PATH_XCIN_DIR)/docs ]; then $(INSTALL_DIR) $(PATH_XCIN_DIR)/docs; fi
|
||||
+# for f in $(HOWTO); do \
|
||||
+# $(INSTALL_DATA) howto/$$f $(PATH_XCIN_DIR)/docs; \
|
||||
+# echo $(PATH_XCIN_DIR)/docs/$$f >> filelist; \
|
||||
+# done
|
||||
+# for f in $(MISC); do \
|
||||
+# $(INSTALL_DATA) misc/$$f $(PATH_XCIN_DIR)/docs; \
|
||||
+# echo $(PATH_XCIN_DIR)/docs/$$f >> filelist; \
|
||||
+# done
|
||||
|
||||
clean:
|
||||
rm -f *.o core
|
1
chinese/xcin/pkg/COMMENT
Normal file
1
chinese/xcin/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
A chinese input utility in X
|
14
chinese/xcin/pkg/DESCR
Normal file
14
chinese/xcin/pkg/DESCR
Normal file
@ -0,0 +1,14 @@
|
||||
Thanks to Mr. Edward Der-Hua Liu and others who developed the xcin
|
||||
system. With the wonderful program, we can do a lot of operations with
|
||||
Chinese under the X Window System in the UN*X world. As time goes on,
|
||||
more and more people use it, and more and more comments appear. The
|
||||
package hs been upgraded with time but it seems that the install process
|
||||
is not convenient and self-consistent. These confuse a lot of people,
|
||||
especially for new users in the UN*X world. We often see the `Big FAQs'
|
||||
about xcin such as `how can I install the Chinese fonts' or `the cj2cin
|
||||
command not found' or `the crxvt terminal is too big!!' or something
|
||||
appears in the newsgroup again and again. In fact, such problems are
|
||||
easy to remedy. Because I really like this program and feel that I may
|
||||
do something to improve this package, I try my best to re-write the
|
||||
Makefiles and auto-configuration programs of this package to try to
|
||||
solve these troubles. This comes the `xcin-2.3' project.
|
45
chinese/xcin/pkg/PLIST
Normal file
45
chinese/xcin/pkg/PLIST
Normal file
@ -0,0 +1,45 @@
|
||||
bin/xcin
|
||||
lib/xcin/array30.cin
|
||||
lib/xcin/array30.tab
|
||||
lib/xcin/array30.tab.rev
|
||||
lib/xcin/cin2tab
|
||||
lib/xcin/cj.cin
|
||||
lib/xcin/cj.tab
|
||||
lib/xcin/cj.tab.rev
|
||||
lib/xcin/et.kbm
|
||||
lib/xcin/et26.kbm
|
||||
lib/xcin/hsu.kbm
|
||||
lib/xcin/lphrase
|
||||
lib/xcin/phone.cin
|
||||
lib/xcin/phone.tab
|
||||
lib/xcin/phone.tab.rev
|
||||
lib/xcin/phs_out
|
||||
lib/xcin/pho.sel1st
|
||||
lib/xcin/pho.tab
|
||||
lib/xcin/pin2tsin
|
||||
lib/xcin/pinyin.cin
|
||||
lib/xcin/pinyin.tab
|
||||
lib/xcin/pinyin.tab.rev
|
||||
lib/xcin/sample.phs.out
|
||||
lib/xcin/tsa2d
|
||||
lib/xcin/tsa2rel
|
||||
lib/xcin/tsd2a
|
||||
lib/xcin/tsin
|
||||
lib/xcin/tsin.idx
|
||||
lib/xcin/tsin.rel
|
||||
lib/xcin/tsin_pin.map
|
||||
lib/xcin/tsin.rel.src
|
||||
lib/xcin/tsin.src
|
||||
lib/xcin/voca.box
|
||||
lib/xcin/zmdbosh.cin
|
||||
lib/xcin/zmdbosh.tab
|
||||
lib/xcin/zmdbosh.tab.rev
|
||||
lib/xcin/zo.kbm
|
||||
lib/xcin/docs/Boshiamy.HOWTO
|
||||
lib/xcin/docs/Xfonts.HOWTO
|
||||
lib/xcin/docs/cin2tab.HOWTO
|
||||
lib/xcin/docs/xcin.HOWTO
|
||||
man/man1/cin2tab.1
|
||||
man/man1/xcin.1
|
||||
@dirrm lib/xcin/docs
|
||||
@dirrm lib/xcin
|
Loading…
x
Reference in New Issue
Block a user