summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-07-15 10:24:53 +0000
committerleeym <leeym@FreeBSD.org>2003-07-15 10:24:53 +0000
commit91d2d28b708c740af7dad05e6b944f5bd4f6f748 (patch)
tree73467a1d75849b3b64e470357daae80057dd47ee /chinese
parent6b5e77b23d95266f88822728cef283dd7c7b4fa7 (diff)
downloadFreeBSD-ports-91d2d28b708c740af7dad05e6b944f5bd4f6f748.zip
FreeBSD-ports-91d2d28b708c740af7dad05e6b944f5bd4f6f748.tar.gz
add ntu_kai48.hbf for BIG5 printing.
PR: 54496 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Diffstat (limited to 'chinese')
-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 98bbc00..57c9031 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 76904ea..441e59d 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 3ca8587..0000000
--- 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 d296a57..6ce4a28 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
OpenPOWER on IntegriCloud