aboutsummaryrefslogtreecommitdiff
path: root/chinese/gb2ps
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-02-08 00:18:56 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-02-08 00:18:56 +0000
commit0e4de2e765c3dd5f9fe6b02088e5337febb57997 (patch)
tree4bfdbb6d7918e9056c02262fe851d14b043d7fd8 /chinese/gb2ps
parent27a94d2f9ddb0b7b471e91021d5d6b394d4d8101 (diff)
downloadports-0e4de2e765c3dd5f9fe6b02088e5337febb57997.tar.gz
ports-0e4de2e765c3dd5f9fe6b02088e5337febb57997.zip
Notes
Diffstat (limited to 'chinese/gb2ps')
-rw-r--r--chinese/gb2ps/Makefile41
-rw-r--r--chinese/gb2ps/distinfo6
-rw-r--r--chinese/gb2ps/files/patch-0114
-rw-r--r--chinese/gb2ps/pkg-comment1
-rw-r--r--chinese/gb2ps/pkg-descr17
-rw-r--r--chinese/gb2ps/pkg-plist8
6 files changed, 87 insertions, 0 deletions
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 <bsd.port.mk>
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