summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-07-15 10:24:53 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-07-15 10:24:53 +0000
commit154b043dfdea09a4d07ed76f999cac56072b157d (patch)
tree6bcd4a6cfe98382e25a4c9d490eb64e4f6b8fb97
parentPORTSDIR should be referred after pre.mk. (diff)
add ntu_kai48.hbf for BIG5 printing.
PR: 54496 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Notes
Notes: svn path=/head/; revision=84914
-rw-r--r--chinese/cnprint/Makefile8
-rw-r--r--chinese/cnprint/distinfo2
-rw-r--r--chinese/cnprint/pkg-message9
-rw-r--r--chinese/cnprint/pkg-plist2
4 files changed, 10 insertions, 11 deletions
diff --git a/chinese/cnprint/Makefile b/chinese/cnprint/Makefile
index 98bbc00ad0cf..57c90317853d 100644
--- a/chinese/cnprint/Makefile
+++ b/chinese/cnprint/Makefile
@@ -12,7 +12,8 @@ MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/cnprint/ \
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 @@ DISTFILES= cnprint330b.c \
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@freebsd.sinica.edu.tw
COMMENT= Convert Chinese-Big5/GB encoded files to Postscript, using TTF fonts
@@ -46,6 +48,8 @@ do-build:
${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:
diff --git a/chinese/cnprint/distinfo b/chinese/cnprint/distinfo
index 76904ea4c651..441e59d4bda8 100644
--- a/chinese/cnprint/distinfo
+++ b/chinese/cnprint/distinfo
@@ -13,3 +13,5 @@ MD5 (cnprint-3.30b/cc48.sym.gz) = 1d9598a4dbe4eef5a1ff8cc309fbc718
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 --git a/chinese/cnprint/pkg-message b/chinese/cnprint/pkg-message
deleted file mode 100644
index 3ca85879b272..000000000000
--- a/chinese/cnprint/pkg-message
+++ /dev/null
@@ -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 --git a/chinese/cnprint/pkg-plist b/chinese/cnprint/pkg-plist
index d296a57e94a8..6ce4a284f00d 100644
--- a/chinese/cnprint/pkg-plist
+++ b/chinese/cnprint/pkg-plist
@@ -11,6 +11,8 @@ share/cnprint/jiskan24.hbf
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