ports/54496: Update port: chinese/cnprint
Statue
statue at freebsd.sinica.edu.tw
Tue Jul 15 10:00:33 UTC 2003
>Number: 54496
>Category: ports
>Synopsis: Update port: chinese/cnprint
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 15 03:00:30 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Statue
>Release: FreeBSD 4.7-PRERELEASE i386
>Organization:
[MAINTAINER]
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #2: Mon Sep 9 10:45:46 CST 2002 ycheng at freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386
>Description:
add ntu_kai48.hbf for BIG5 printing.
>How-To-Repeat:
>Fix:
diff -ruN cnprint.orig/Makefile cnprint/Makefile
--- cnprint.orig/Makefile Tue Jul 15 17:43:45 2003
+++ cnprint/Makefile Tue Jul 15 17:51:26 2003
@@ -12,7 +12,8 @@
http://nba184.med.uth.tmc.edu:3006/~cai/software/cnp/ \
http://nba184.med.uth.tmc.edu:3006/~cai/software/cnp/metrics/ \
http://nba184.med.uth.tmc.edu:3006/~cai/software/cnp/fonts/ \
- ftp://ftp.csc.cuhk.edu.hk/pub/chinese/ifcss/software/fonts/misc/
+ ftp://ftp.csc.cuhk.edu.hk/pub/chinese/ifcss/software/fonts/misc/ \
+ http://www.ibiblio.org/pub/packages/ccic/software/fonts/big5/hbf/
DISTFILES= cnprint330b.c \
cnprint330b.readme \
ttfb330b.c \
@@ -24,7 +25,8 @@
cc48s.hbf cc48.sym.gz \
cc48s.1.gz \
cc48s.2.gz \
- hbf.tar.gz
+ hbf.tar.gz \
+ ntu_kai48.hbf ntu_kai48.bin.gz
MAINTAINER= statue at freebsd.sinica.edu.tw
COMMENT= Convert Chinese-Big5/GB encoded files to Postscript, using TTF fonts
@@ -46,6 +48,8 @@
${CC} cnprint330b.c ttfb330b.c -o cnprint -DPREFIX=\"${PREFIX}\" ; \
${SED} \
-e 's/\(DEFAULT_JIS_FONT\):.*$$/\1: kanji48.hbf/' \
+ -e 's/\(DEFAULT_BIG5FONT\):.*$$/\1: ntu_kai48.hbf/' \
+ -e 's/\(DEFAULT_ENCODING\):.*$$/\1: BIG5/' \
>cnprint.cmd <cnprint33.cmd
do-install:
Binary files cnprint.orig/cnprint330b.tgz and cnprint/cnprint330b.tgz differ
diff -ruN cnprint.orig/distinfo cnprint/distinfo
--- cnprint.orig/distinfo Tue Jul 15 17:43:45 2003
+++ cnprint/distinfo Tue Jul 15 17:48:34 2003
@@ -13,3 +13,5 @@
MD5 (cnprint-3.30b/cc48s.1.gz) = 4e384e83cb759aac6bbef5b1e9ad081a
MD5 (cnprint-3.30b/cc48s.2.gz) = 9196338c8a05eea1e1fef10ba5c52387
MD5 (cnprint-3.30b/hbf.tar.gz) = 45cfc82fe5d10de6872c602e587da8b5
+MD5 (cnprint-3.30b/ntu_kai48.hbf) = 1eb367381dc27c9628e159db00d48342
+MD5 (cnprint-3.30b/ntu_kai48.bin.gz) = 5b50d8961f0473e17d01f8fbe1b7a03e
diff -ruN cnprint.orig/pkg-message cnprint/pkg-message
--- cnprint.orig/pkg-message Tue Jul 15 17:43:45 2003
+++ cnprint/pkg-message Thu Jan 1 08:00:00 1970
@@ -1,9 +0,0 @@
---------------------------------------------------------------------
-Please check the following files:
-
-${PREFIX}/etc/bg5ps.conf.sample
-${PREFIX}/etc/gb2312-bg5ps.conf.sample
-
-Copy one of them to ~/.bg5ps.conf(depend on which encoding you use),
-then modify it to suit your needs. Type `bg5ps -h` for help.
---------------------------------------------------------------------
diff -ruN cnprint.orig/pkg-plist cnprint/pkg-plist
--- cnprint.orig/pkg-plist Tue Jul 15 17:43:45 2003
+++ cnprint/pkg-plist Tue Jul 15 17:48:57 2003
@@ -11,6 +11,8 @@
share/cnprint/kanji48.bin
share/cnprint/kanji48.hbf
share/cnprint/ksc16.hbf
+share/cnprint/ntu_kai48.bin
+share/cnprint/ntu_kai48.hbf
share/cnprint/uwjis-16.hbf
share/cnprint/uwksc-16.hbf
share/cnprint/mshei.htf
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list