From 261a5cdaa078fd3e0b778923025145664df21cc6 Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 8 Feb 1997 00:36:02 +0000 Subject: This is the Hanzi Converter, which converts between GB and BIG-5 codes. --- chinese/hc/Makefile | 33 +++++++++++++++++++++++++++++++++ chinese/hc/distinfo | 2 ++ chinese/hc/files/patch-01 | 17 +++++++++++++++++ chinese/hc/pkg-comment | 1 + chinese/hc/pkg-descr | 9 +++++++++ chinese/hc/pkg-plist | 6 ++++++ 6 files changed, 68 insertions(+) create mode 100644 chinese/hc/Makefile create mode 100644 chinese/hc/distinfo create mode 100644 chinese/hc/files/patch-01 create mode 100644 chinese/hc/pkg-comment create mode 100644 chinese/hc/pkg-descr create mode 100644 chinese/hc/pkg-plist (limited to 'chinese') diff --git a/chinese/hc/Makefile b/chinese/hc/Makefile new file mode 100644 index 0000000..164a4e3 --- /dev/null +++ b/chinese/hc/Makefile @@ -0,0 +1,33 @@ +# ex:ts=8 +# Ports collection makefile for: hc +# Version required: 3.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= cn-hc-3.0 +CATEGORIES= chinese +MASTER_SITES= ftp://ftp.ifcss.org/pub/software/unix/convert/ \ + ftp://ftp.edu.tw/Chinese/ifcss/software/unix/convert/ \ + ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/convert/ +DISTFILES= hc-30.tar.gz hc-supp.tab + +MAINTAINER= obrien@NUXI.com + +WRKSRC= ${WRKDIR}/hc3 +EXTRACT_ONLY= hc-30.tar.gz +ALL_TARGET= hc b2g g2b +MAN1= hc.1 + +do-install: + @${MKDIR} ${PREFIX}/share/chinese + ${INSTALL_PROGRAM} ${WRKSRC}/hc ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/b2g ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/g2b ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/hc.tab ${PREFIX}/share/chinese + ${INSTALL_DATA} ${DISTDIR}/hc-supp.tab ${PREFIX}/share/chinese + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 + +.include diff --git a/chinese/hc/distinfo b/chinese/hc/distinfo new file mode 100644 index 0000000..3165186 --- /dev/null +++ b/chinese/hc/distinfo @@ -0,0 +1,2 @@ +MD5 (hc-30.tar.gz) = e3a0fad6154e1d3f4e8abbb52abf28e1 +MD5 (hc-supp.tab) = 5b12db3fbe75b4b252a4f588a1d25a58 diff --git a/chinese/hc/files/patch-01 b/chinese/hc/files/patch-01 new file mode 100644 index 0000000..2e56bff --- /dev/null +++ b/chinese/hc/files/patch-01 @@ -0,0 +1,17 @@ +--- Makefile.orig Wed Mar 10 23:22:44 1993 ++++ Makefile Tue Feb 4 02:48:17 1997 +@@ -5,12 +5,12 @@ + + b2g: + echo "#! /bin/csh" > b2g +- echo $(PWD)/hc "-m b2g -t" $(PWD)/hc.tab "$$*" >> b2g ++ echo $(PREFIX)/bin/hc "-m b2g -t" $(PREFIX)/share/chinese/hc.tab "$$*" >> b2g + chmod a+x b2g + + g2b: + echo "#! /bin/csh" > g2b +- echo $(PWD)/hc -m g2b -t $(PWD)/hc.tab "$$*" >> g2b ++ echo $(PREFIX)/bin/hc -m g2b -t $(PREFIX)/share/chinese/hc.tab "$$*" >> g2b + chmod a+x g2b + + clean: diff --git a/chinese/hc/pkg-comment b/chinese/hc/pkg-comment new file mode 100644 index 0000000..747400a --- /dev/null +++ b/chinese/hc/pkg-comment @@ -0,0 +1 @@ +Hanzi Converter -- converts between GB and BIG-5 codes diff --git a/chinese/hc/pkg-descr b/chinese/hc/pkg-descr new file mode 100644 index 0000000..2a8e2d2 --- /dev/null +++ b/chinese/hc/pkg-descr @@ -0,0 +1,9 @@ +This is the Hanzi Converter, which converts between GB and BIG-5 codes. + +The program converts a GB file to a BIG-5 file, or a BIG-5 file to a GB file. +GB (GuoBiao) refers to the standard implementation of "GB2312-80" of +Mainland China, in which the two bytes representing a GB code have their +most significant bit set to 1. BIG-5 refers to the Big Five standard +published in 1984 by Taiwan's Institute for Information Industry. + +-- David O'Brien diff --git a/chinese/hc/pkg-plist b/chinese/hc/pkg-plist new file mode 100644 index 0000000..136dbd5 --- /dev/null +++ b/chinese/hc/pkg-plist @@ -0,0 +1,6 @@ +bin/hc +bin/b2g +bin/g2b +share/chinese/hc.tab +share/chinese/hc-supp.tab +man/man1/hc.1.gz -- cgit v1.1