diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1997-02-08 00:02:30 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1997-02-08 00:02:30 +0000 |
commit | 27a94d2f9ddb0b7b471e91021d5d6b394d4d8101 (patch) | |
tree | 535b6f46a9187e22c8f50a36e33ebce94a674334 /chinese | |
parent | Socket++ is a iostream like C++ class library for the UNIX and INET (diff) |
c2t (chinese2text) translates GB/Big5 encoding to tone pinyin.
Notes
Notes:
svn path=/head/; revision=5560
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/c2t/Makefile | 32 | ||||
-rw-r--r-- | chinese/c2t/distinfo | 2 | ||||
-rw-r--r-- | chinese/c2t/files/patch-01 | 8 | ||||
-rw-r--r-- | chinese/c2t/files/patch-02 | 14 | ||||
-rw-r--r-- | chinese/c2t/pkg-comment | 1 | ||||
-rw-r--r-- | chinese/c2t/pkg-descr | 3 | ||||
-rw-r--r-- | chinese/c2t/pkg-plist | 3 |
7 files changed, 63 insertions, 0 deletions
diff --git a/chinese/c2t/Makefile b/chinese/c2t/Makefile new file mode 100644 index 000000000000..b183e83d140e --- /dev/null +++ b/chinese/c2t/Makefile @@ -0,0 +1,32 @@ +# ex:ts=8 +# Ports collection makefile for: c2t +# Version required: 1.0 +# Date created: Mon Feb 03, 1997 +# Whom: David O'Brien (obrien@FreeBSD.org) +# +# $Id: Makefile,v 1.2 1997/01/25 18:08:40 obrien Exp $ +# + +PKGNAME= c2t-1.0 +CATEGORIES= chinese +MASTER_SITES= ftp://ftp.ifcss.org/pub/software/unix/convert/ \ + ftp://ftp.ifcss.org/pub/software/x-win/cxterm/dict/gb/ \ + ftp://ftp.edu.tw/Chinese/ifcss/software/unix/convert/ \ + ftp://ftp.edu.tw/Chinese/ifcss/software/x-win/cxterm/dict/gb/ \ + ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/convert/ \ + ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/x-win/cxterm/dict/gb/ +DISTFILES= c2t.tar.gz TONEPY.tit + +MAINTAINER= obrien@NUXI.com + +NO_WRKSUBDIR= yes +EXTRACT_ONLY= c2t.tar.gz +MAN1= c2t.1 + +do-install: + @${MKDIR} ${PREFIX}/share/chinese/gb + ${INSTALL_PROGRAM} ${WRKSRC}/c2t ${PREFIX}/bin + ${INSTALL_DATA} ${DISTDIR}/TONEPY.tit ${PREFIX}/share/chinese/gb + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/chinese/c2t/distinfo b/chinese/c2t/distinfo new file mode 100644 index 000000000000..e884c5a6bf41 --- /dev/null +++ b/chinese/c2t/distinfo @@ -0,0 +1,2 @@ +MD5 (c2t.tar.gz) = 47a1b77815cc02d9d667216a48d68931 +MD5 (TONEPY.tit) = 076b6d78ea67fff505440353abb5d51e diff --git a/chinese/c2t/files/patch-01 b/chinese/c2t/files/patch-01 new file mode 100644 index 000000000000..c8dcd37d894e --- /dev/null +++ b/chinese/c2t/files/patch-01 @@ -0,0 +1,8 @@ +--- Makefile.orig Tue Feb 23 22:21:39 1993 ++++ Makefile Tue Feb 4 02:10:15 1997 +@@ -1,4 +1,4 @@ +-CC=cc ++CC=cc -DCHINDICT=\"$(PREFIX)/share/chinese/gb/TONEPY.tit\" + + all: c2t + diff --git a/chinese/c2t/files/patch-02 b/chinese/c2t/files/patch-02 new file mode 100644 index 000000000000..ecd6452765f8 --- /dev/null +++ b/chinese/c2t/files/patch-02 @@ -0,0 +1,14 @@ +--- c2t.c.orig Tue Feb 4 02:10:45 1997 ++++ c2t.c Tue Feb 4 02:08:55 1997 +@@ -22,7 +22,11 @@ + int argc; + char **argv; + { ++#ifndef CHINDICT + char *DICT="/home/ftp/software/unix/X-Window/cxterm-dictionary/TONEPY.tit"; ++#else ++ char *DICT=CHINDICT; ++#endif + register int eka=0, toka=0, i=0; + register char hz[4], **pipo=0; + register char **taulu=0, rivi[82]; diff --git a/chinese/c2t/pkg-comment b/chinese/c2t/pkg-comment new file mode 100644 index 000000000000..430617658076 --- /dev/null +++ b/chinese/c2t/pkg-comment @@ -0,0 +1 @@ +translates GB/Big5 encoding to tone pinyin diff --git a/chinese/c2t/pkg-descr b/chinese/c2t/pkg-descr new file mode 100644 index 000000000000..9eb3d7fa915d --- /dev/null +++ b/chinese/c2t/pkg-descr @@ -0,0 +1,3 @@ +c2t (chinese2text) translates GB/Big5 encoding to tone pinyin. + +-- David O'Brien diff --git a/chinese/c2t/pkg-plist b/chinese/c2t/pkg-plist new file mode 100644 index 000000000000..65216467bd45 --- /dev/null +++ b/chinese/c2t/pkg-plist @@ -0,0 +1,3 @@ +bin/c2t +share/chinese/gb/TONEPY.tit +man/man1/c2t.1.gz |