diff options
author | nakai <nakai@FreeBSD.org> | 1999-10-27 10:53:09 +0000 |
---|---|---|
committer | nakai <nakai@FreeBSD.org> | 1999-10-27 10:53:09 +0000 |
commit | c6cb444d6f6eb0e1919b73b8afbfdc1bbe2cce5b (patch) | |
tree | 6d6f816867f8e5c11684427f9988698ff6dd28fd /chinese | |
parent | b300b4d189b9f99c996b71c927e71ef0f9812f22 (diff) | |
download | FreeBSD-ports-c6cb444d6f6eb0e1919b73b8afbfdc1bbe2cce5b.zip FreeBSD-ports-c6cb444d6f6eb0e1919b73b8afbfdc1bbe2cce5b.tar.gz |
Initial Import.
Chinese character code converter.
(Such tool is simple, but important for multibyte- people. :)
PR: ports/14528
Submitted by: Yin-Jieh Chen yinjieh@Crazyman.Dorm13.NCTU.edu.tw
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/autoconvert/Makefile | 26 | ||||
-rw-r--r-- | chinese/autoconvert/distinfo | 1 | ||||
-rw-r--r-- | chinese/autoconvert/files/patch-aa | 9 | ||||
-rw-r--r-- | chinese/autoconvert/files/patch-ab | 16 | ||||
-rw-r--r-- | chinese/autoconvert/pkg-comment | 1 | ||||
-rw-r--r-- | chinese/autoconvert/pkg-descr | 8 | ||||
-rw-r--r-- | chinese/autoconvert/pkg-plist | 12 |
7 files changed, 73 insertions, 0 deletions
diff --git a/chinese/autoconvert/Makefile b/chinese/autoconvert/Makefile new file mode 100644 index 0000000..9544e21 --- /dev/null +++ b/chinese/autoconvert/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: autoconvert +# Version required: 0.3.2 +# Date created: 26 Oct 1999 +# Whom: Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw> +# +# $FreeBSD$ +# + +DISTNAME= autoconvert-0.3.2 +CATEGORIES= chinese +MASTER_SITES= http://www.linuxfocus.org/~yu.guanghui/ \ + ftp://ftp.dlut.edu.cn/pub/PEOPLE/saka/ + +MAINTAINER= yinjieh@csie.nctu.edu.tw + +WRKSRC= ${WRKDIR}/autoconvert + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/autob5 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/autogb ${PREFIX}/bin + ${MKDIR} ${PREFIX}/share/autoconvert +.for i in ChangeLog LICENSE Readme TODO Version big5.txt gb.txt hz.txt procmailrc.example + ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/autoconvert +.endfor + +.include <bsd.port.mk> diff --git a/chinese/autoconvert/distinfo b/chinese/autoconvert/distinfo new file mode 100644 index 0000000..a154b2b --- /dev/null +++ b/chinese/autoconvert/distinfo @@ -0,0 +1 @@ +MD5 (autoconvert-0.3.2.tar.gz) = a973d8402a011778d53bc9d9c82dbd06 diff --git a/chinese/autoconvert/files/patch-aa b/chinese/autoconvert/files/patch-aa new file mode 100644 index 0000000..e6d57b1 --- /dev/null +++ b/chinese/autoconvert/files/patch-aa @@ -0,0 +1,9 @@ +--- Makefile.orig Mon Oct 25 19:00:37 1999 ++++ Makefile Tue Oct 26 08:29:33 1999 +@@ -1,5 +1,5 @@ + CC=gcc +-CFLAG=-O2 -g ++CFLAG+=-O2 + + + all:lib.o autob5 autogb hzlib diff --git a/chinese/autoconvert/files/patch-ab b/chinese/autoconvert/files/patch-ab new file mode 100644 index 0000000..499e305 --- /dev/null +++ b/chinese/autoconvert/files/patch-ab @@ -0,0 +1,16 @@ +--- hzconvert/Makefile.orig Mon Oct 25 19:02:21 1999 ++++ hzconvert/Makefile Tue Oct 26 08:29:52 1999 +@@ -1,10 +1,10 @@ + CC=gcc +-CFLAGS=-O2 ++CFLAGS+=-O2 + OBJS=b2g.o b2u.o g2u.o hztogb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o +-%.o:%c ++all:libhzconvert.a ++%.o:%.c + $(CC) $(CFLAGS) -c $< + +-all:libhzconvert.a + libhzconvert.a:$(OBJS) + ar rs libhzconvert.a $(OBJS) + clean: diff --git a/chinese/autoconvert/pkg-comment b/chinese/autoconvert/pkg-comment new file mode 100644 index 0000000..e13d6a7 --- /dev/null +++ b/chinese/autoconvert/pkg-comment @@ -0,0 +1 @@ +An intelligent Chinese encoding converter. diff --git a/chinese/autoconvert/pkg-descr b/chinese/autoconvert/pkg-descr new file mode 100644 index 0000000..61141a9 --- /dev/null +++ b/chinese/autoconvert/pkg-descr @@ -0,0 +1,8 @@ +If you use procmail, there will be an example at: +${PREFIX}/share/autoconvert/procmailrc.example, which helps you to setup +autoconvert as a filter of procmail. + +WWW: http://banyan.dlut.edu.cn/~ygh/ + +- Yin-Jieh Chen +yinjieh@csie.nctu.edu.tw diff --git a/chinese/autoconvert/pkg-plist b/chinese/autoconvert/pkg-plist new file mode 100644 index 0000000..9c9b5a5 --- /dev/null +++ b/chinese/autoconvert/pkg-plist @@ -0,0 +1,12 @@ +bin/autob5 +bin/autogb +share/autoconvert/ChangeLog +share/autoconvert/LICENSE +share/autoconvert/Readme +share/autoconvert/TODO +share/autoconvert/Version +share/autoconvert/big5.txt +share/autoconvert/gb.txt +share/autoconvert/hz.txt +share/autoconvert/procmailrc.example +@dirrm share/autoconvert |