From 0e4de2e765c3dd5f9fe6b02088e5337febb57997 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 8 Feb 1997 00:18:56 +0000 Subject: GB2PS converts Chinese GB (simple) encoded text to PostScript. --- chinese/gb2ps/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ chinese/gb2ps/distinfo | 6 ++++++ chinese/gb2ps/files/patch-01 | 14 ++++++++++++++ chinese/gb2ps/pkg-comment | 1 + chinese/gb2ps/pkg-descr | 17 +++++++++++++++++ chinese/gb2ps/pkg-plist | 8 ++++++++ 6 files changed, 87 insertions(+) create mode 100644 chinese/gb2ps/Makefile create mode 100644 chinese/gb2ps/distinfo create mode 100644 chinese/gb2ps/files/patch-01 create mode 100644 chinese/gb2ps/pkg-comment create mode 100644 chinese/gb2ps/pkg-descr create mode 100644 chinese/gb2ps/pkg-plist (limited to 'chinese/gb2ps') diff --git a/chinese/gb2ps/Makefile b/chinese/gb2ps/Makefile new file mode 100644 index 000000000000..30318e1faa2c --- /dev/null +++ b/chinese/gb2ps/Makefile @@ -0,0 +1,41 @@ +# ex:ts=8 +# Ports collection makefile for: gb2ps +# Version required: 2.02 +# 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 $ +# + +DISTNAME= gb2ps.2.02 +PKGNAME= gb2ps-2.02 +CATEGORIES= chinese +MASTER_SITES= ftp://ftp.ifcss.org/pub/software/unix/print/ \ + ftp://ftp.ifcss.org/pub/software/fonts/gb/misc/ \ + ftp://ftp.edu.tw/Chinese/ifcss/software/unix/print/ \ + ftp://ftp.edu.tw/Chinese/ifcss/software/fonts/gb/misc/ \ + ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/print/ \ + ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/fonts/gb/misc/ +DISTFILES= ${DISTNAME}.tar.gz \ + csong24.ccf.gz ckai24.ccf.gz cfang24.ccf.gz chei24.ccf.gz \ + cfan24.ccf.gz + +MAINTAINER= obrien@NUXI.com + +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +WRKSRC= ${WRKDIR}/GB2PS + +do-install: + @${MKDIR} ${PREFIX}/share/chinese/gb + ${INSTALL_PROGRAM} ${WRKSRC}/gb2ps ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/cover.ps ${PREFIX}/share/chinese +.for font in csong24.ccf ckai24.ccf cfang24.ccf chei24.ccf cfan24.ccf + ${GUNZIP_CMD} -c ${DISTDIR}/${font}.gz > ${PREFIX}/share/chinese/gb/${font} +.endfor +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/gb2ps + ${INSTALL_MAN} ${WRKSRC}/gb2ps.help ${PREFIX}/share/doc/gb2ps +.endif + + +.include diff --git a/chinese/gb2ps/distinfo b/chinese/gb2ps/distinfo new file mode 100644 index 000000000000..7c724009ae27 --- /dev/null +++ b/chinese/gb2ps/distinfo @@ -0,0 +1,6 @@ +MD5 (gb2ps.2.02.tar.gz) = ca06fcdb504b181b47c1ff4f6edfd97f +MD5 (csong24.ccf.gz) = f30b985e5d526fbb4f209e31a1d1edcb +MD5 (ckai24.ccf.gz) = d2ac212fe09ccdedb4e5a83a017fddd6 +MD5 (cfang24.ccf.gz) = 5689e95d9528815edf662c9497b79a8e +MD5 (chei24.ccf.gz) = 61ccf11e56a371c92209f31be02f8c13 +MD5 (cfan24.ccf.gz) = 6a511d88c427eaf9b2085ef9ebd23fd8 diff --git a/chinese/gb2ps/files/patch-01 b/chinese/gb2ps/files/patch-01 new file mode 100644 index 000000000000..adb18cb55c61 --- /dev/null +++ b/chinese/gb2ps/files/patch-01 @@ -0,0 +1,14 @@ +--- Makefile.orig Sun Aug 16 22:34:14 1992 ++++ Makefile Wed Feb 5 00:03:39 1997 +@@ -5,9 +5,9 @@ + # COVERPAGE -- the absolute path and name of coverpage PS file + # -- default is current directory + +-CFONT=./ ++CFONT=${PREFIX}/share/chinese/gb/ + +-COVERPAGE=./cover.ps ++COVERPAGE=${PREFIX}/share/chinese/cover.ps + + CFLAGS = -DCFONT=\"${CFONT}\" -DCOVERPAGE=\"${COVERPAGE}\" + diff --git a/chinese/gb2ps/pkg-comment b/chinese/gb2ps/pkg-comment new file mode 100644 index 000000000000..1460afd29de7 --- /dev/null +++ b/chinese/gb2ps/pkg-comment @@ -0,0 +1 @@ +converts Chinese GB (simple) encoded text to PostScript diff --git a/chinese/gb2ps/pkg-descr b/chinese/gb2ps/pkg-descr new file mode 100644 index 000000000000..3bd2cd3b793f --- /dev/null +++ b/chinese/gb2ps/pkg-descr @@ -0,0 +1,17 @@ +GB2PS converts Chinese GB (simple) encoded text to PostScript. + +It automatically supports the HZ encoding. It even allows you to mix +GB and HZ code together. + +Examples: + input: gb2ps -h + output: the usage of GB2PS + + input: gb2ps cm9203d.gb cm + output: PS programs cm + + input: gb2ps -b 3 -e 5 cm9208a.hz cm + output: PS program cm from page 3 to page 5. + +then you can print out the chinese document by sending the PS output +to your PS printer. diff --git a/chinese/gb2ps/pkg-plist b/chinese/gb2ps/pkg-plist new file mode 100644 index 000000000000..0253fd98b773 --- /dev/null +++ b/chinese/gb2ps/pkg-plist @@ -0,0 +1,8 @@ +bin/gb2ps +share/chinese/cover.ps +share/chinese/gb/csong24.ccf +share/chinese/gb/ckai24.ccf +share/chinese/gb/cfang24.ccf +share/chinese/gb/chei24.ccf +share/chinese/gb/cfan24.ccf +share/doc/gb2ps/gb2ps.help -- cgit v1.2.3