summaryrefslogtreecommitdiff
path: root/chinese/autoconvert
diff options
context:
space:
mode:
authorYukihiro Nakai <nakai@FreeBSD.org>1999-10-27 10:53:09 +0000
committerYukihiro Nakai <nakai@FreeBSD.org>1999-10-27 10:53:09 +0000
commit332ea81f80ee8db3e91b76632f74a50272bdcc23 (patch)
tree8cab5b98108db23daa53960d6ffa0fd59777b195 /chinese/autoconvert
parentUpdate to 0.3 (diff)
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
Notes
Notes: svn path=/head/; revision=22692
Diffstat (limited to 'chinese/autoconvert')
-rw-r--r--chinese/autoconvert/Makefile26
-rw-r--r--chinese/autoconvert/distinfo1
-rw-r--r--chinese/autoconvert/files/patch-aa9
-rw-r--r--chinese/autoconvert/files/patch-ab16
-rw-r--r--chinese/autoconvert/pkg-comment1
-rw-r--r--chinese/autoconvert/pkg-descr8
-rw-r--r--chinese/autoconvert/pkg-plist12
7 files changed, 73 insertions, 0 deletions
diff --git a/chinese/autoconvert/Makefile b/chinese/autoconvert/Makefile
new file mode 100644
index 000000000000..9544e21342c1
--- /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 000000000000..a154b2bea60c
--- /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 000000000000..e6d57b162fdc
--- /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 000000000000..499e3058e349
--- /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 000000000000..e13d6a77bdc1
--- /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 000000000000..61141a96a28b
--- /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 000000000000..9c9b5a58a7b8
--- /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