diff options
author | clive <clive@FreeBSD.org> | 2000-12-11 17:32:56 +0000 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2000-12-11 17:32:56 +0000 |
commit | 4c7924bdcad3f3486e1293d14b3118f0fad13cd9 (patch) | |
tree | ee9ba6fd42b71cb16cd59286c9395ec3be4fc28f /converters | |
parent | 6e05dd71615853bd75b9808001794d31f81e7e63 (diff) | |
download | FreeBSD-ports-4c7924bdcad3f3486e1293d14b3118f0fad13cd9.zip FreeBSD-ports-4c7924bdcad3f3486e1293d14b3118f0fad13cd9.tar.gz |
Code translation between Chinese and Japanese including
Chinese {GB,Big5,HZ} and Japanese (EUC-Jis/Shift-Jis/Jis)
This is ENCODING translator, NOT translator.
PR: 23470
Diffstat (limited to 'converters')
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | converters/cn2jp/Makefile | 29 | ||||
-rw-r--r-- | converters/cn2jp/distinfo | 1 | ||||
-rw-r--r-- | converters/cn2jp/files/patch-aa | 127 | ||||
-rw-r--r-- | converters/cn2jp/pkg-comment | 1 | ||||
-rw-r--r-- | converters/cn2jp/pkg-descr | 7 | ||||
-rw-r--r-- | converters/cn2jp/pkg-plist | 9 |
7 files changed, 175 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile index 159c25e..d57a2fe 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -4,6 +4,7 @@ SUBDIR += aish SUBDIR += base64 SUBDIR += btoa + SUBDIR += cn2jp SUBDIR += dumpasn1 SUBDIR += fconv SUBDIR += i18ntools diff --git a/converters/cn2jp/Makefile b/converters/cn2jp/Makefile new file mode 100644 index 0000000..aef07b5 --- /dev/null +++ b/converters/cn2jp/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: cn2jp +# Date created: 09 December 2000 +# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= cn2jp +PORTVERSION= 1.4b +CATEGORIES= converters chinese japanese +MASTER_SITES= http://w3.sys.es.osaka-u.ac.jp/~seke/software/cn2jp/ +DISTNAME= ${PORTNAME}${PORTVERSION} + +MAINTAINER= leeym@cae.ce.ntu.edu.tw + +INSTALLS_SHLIB= yes +WRKSRC= ${WRKDIR}/${PORTNAME} + +TEST_PROGRAM= big2gb/b2g big2jis/b2j gb2big/g2b gb2jis/g2j jis2big/j2b jis2gb/j2g + +do-install: + @${INSTALL_DATA} ${WRKSRC}/libcn2jp.a ${PREFIX}/lib +.for test_program in ${TEST_PROGRAM} + @${INSTALL_PROGRAM} ${WRKSRC}/${test_program} ${PREFIX}/bin +.endfor + @${MKDIR} ${PREFIX}/share/cn2jp + @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/cn2jp/README + +.include <bsd.port.mk> diff --git a/converters/cn2jp/distinfo b/converters/cn2jp/distinfo new file mode 100644 index 0000000..423b2d1 --- /dev/null +++ b/converters/cn2jp/distinfo @@ -0,0 +1 @@ +MD5 (cn2jp1.4b.tar.gz) = 3b13433cffbd4b1f895a4ac5e84d4a4d diff --git a/converters/cn2jp/files/patch-aa b/converters/cn2jp/files/patch-aa new file mode 100644 index 0000000..d645949 --- /dev/null +++ b/converters/cn2jp/files/patch-aa @@ -0,0 +1,127 @@ +--- big2gb/Makefile.orig Sun Dec 10 10:40:10 2000 ++++ big2gb/Makefile Sun Dec 10 10:40:19 2000 +@@ -13,8 +13,8 @@ + $(CC) $(CFLAGS) -o b2g $(OBJS) -llang + + b2g_table.c: big2gb.tbl +- mktable big2gb.tbl +- mktbl2c big2gb.t b2g > b2g_table.c ++ ../table/mktable big2gb.tbl ++ ../table/mktbl2c big2gb.t b2g > b2g_table.c + + tar: + echo "Produce b2g`date '+%m%d'`.tar..." +--- big2jis/Makefile.orig Wed Feb 28 01:44:04 1996 ++++ big2jis/Makefile Sun Dec 10 10:39:12 2000 +@@ -13,8 +13,8 @@ + $(CC) $(CFLAGS) -o b2j $(OBJS) -llang + + b2j_table.c: big2jis.tbl +- mktable big2jis.tbl +- mktbl2c big2jis.t b2j > b2j_table.c ++ ../table/mktable big2jis.tbl ++ ../table/mktbl2c big2jis.t b2j > b2j_table.c + + tar: + echo "Produce b2j`date '+%m%d'`.tar..." +--- gb2big/Makefile.orig Sun Dec 10 10:41:06 2000 ++++ gb2big/Makefile Sun Dec 10 10:41:16 2000 +@@ -13,8 +13,8 @@ + $(CC) $(CFLAGS) -o g2b $(OBJS) -llang + + g2b_table.c: gb2big.tbl +- mktable gb2big.tbl +- mktbl2c gb2big.t g2b > g2b_table.c ++ ../table/mktable gb2big.tbl ++ ../table/mktbl2c gb2big.t g2b > g2b_table.c + + tar: + echo "Produce g2b`date '+%m%d'`.tar..." +--- gb2jis/Makefile.orig Sun Dec 10 10:41:29 2000 ++++ gb2jis/Makefile Sun Dec 10 10:41:39 2000 +@@ -13,8 +13,8 @@ + $(CC) $(CFLAGS) -o g2j $(OBJS) -llang + + g2j_table.c: gb2jis.tbl +- mktable gb2jis.tbl +- mktbl2c gb2jis.t g2j > g2j_table.c ++ ../table/mktable gb2jis.tbl ++ ../table/mktbl2c gb2jis.t g2j > g2j_table.c + + tar: + echo "Produce g2j`date '+%m%d'`.tar..." +--- jis2big/Makefile.orig Sun Dec 10 10:39:44 2000 ++++ jis2big/Makefile Sun Dec 10 10:39:52 2000 +@@ -13,8 +13,8 @@ + $(CC) $(CFLAGS) -o j2b $(OBJS) -llang + + j2b_table.c: jis2big.tbl +- mktable jis2big.tbl +- mktbl2c jis2big.t j2b > j2b_table.c ++ ../table/mktable jis2big.tbl ++ ../table/mktbl2c jis2big.t j2b > j2b_table.c + + tar: + echo "Produce j2b`date '+%m%d'`.tar..." +--- jis2gb/Makefile.orig Sun Dec 10 10:40:37 2000 ++++ jis2gb/Makefile Sun Dec 10 10:40:47 2000 +@@ -13,8 +13,8 @@ + $(CC) $(CFLAGS) -o j2g $(OBJS) -llang + + j2g_table.c: jis2gb.tbl +- mktable jis2gb.tbl +- mktbl2c jis2gb.t j2g > j2g_table.c ++ ../table/mktable jis2gb.tbl ++ ../table/mktbl2c jis2gb.t j2g > j2g_table.c + + tar: + echo "Produce j2g`date '+%m%d'`.tar..." +--- table/Makefile.orig Wed Feb 28 01:43:44 1996 ++++ table/Makefile Sun Dec 10 10:39:12 2000 +@@ -11,25 +11,21 @@ + + mktable: mktable.o + $(CC) $(CFLAGS) -o mktable mktable.o +- rm -f /home/sagittar/seke/bin/mktable +- ln mktable /home/sagittar/seke/bin/mktable + + mktbl2c: mktbl2c.o + $(CC) $(CFLAGS) -o mktbl2c mktbl2c.o +- rm -f /home/sagittar/seke/bin/mktbl2c +- ln mktbl2c /home/sagittar/seke/bin/mktbl2c + + big5.tbl: big5.o + $(CC) $(CFLAGS) -o big5 big5.o +- big5 > big5.tbl ++ ./big5 > big5.tbl + + gb.tbl: gb.o + $(CC) $(CFLAGS) -o gb gb.o +- gb > gb.tbl ++ ./gb > gb.tbl + + jis.tbl: jis.o + $(CC) $(CFLAGS) -o jis jis.o +- jis > jis.tbl ++ ./jis > jis.tbl + + tar: + echo "Produce table`date '+%m%d'`.tar..." +--- Makefile.orig Tue Feb 27 22:35:44 1996 ++++ Makefile Sun Dec 10 10:43:11 2000 +@@ -18,6 +18,7 @@ + + + makeall: ++ cd table; make; cd .. + cd lib; make; cd .. + cd big2jis; make; cd .. + cd jis2big; make; cd .. +@@ -30,7 +31,6 @@ + rm -f libcn2jp.a + ar r libcn2jp.a $(OBJS) + ranlib libcn2jp.a +- cp libcn2jp.a ../../../lib/libcn2jp.a + + gb2hz.o: lib/gb2hz.c + $(CC) -c lib/gb2hz.c diff --git a/converters/cn2jp/pkg-comment b/converters/cn2jp/pkg-comment new file mode 100644 index 0000000..392e3ca --- /dev/null +++ b/converters/cn2jp/pkg-comment @@ -0,0 +1 @@ +cn2jp -- library for code translation between Chinese and Japanese diff --git a/converters/cn2jp/pkg-descr b/converters/cn2jp/pkg-descr new file mode 100644 index 0000000..25226cd --- /dev/null +++ b/converters/cn2jp/pkg-descr @@ -0,0 +1,7 @@ + cn2jp -- library for code translation between Chinese and Japanese + including Chinese {GB,Big5,HZ} and Japanese (EUC-Jis/Shift-Jis/Jis) + + Version 1.4, Aug 1, 1996 + + Seke Wei + (seke@sys.es.osaka-u.ac.jp) diff --git a/converters/cn2jp/pkg-plist b/converters/cn2jp/pkg-plist new file mode 100644 index 0000000..5cf37d1 --- /dev/null +++ b/converters/cn2jp/pkg-plist @@ -0,0 +1,9 @@ +bin/b2g +bin/b2j +bin/g2b +bin/g2j +bin/j2b +bin/j2g +lib/libcn2jp.a +share/cn2jp/README +@dirrm share/cn2jp |