aboutsummaryrefslogtreecommitdiff
path: root/chinese/kon2
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-04-15 20:25:58 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-04-15 20:25:58 +0000
commit35fc0a2af42b44966eaec5b7b1b72f7aed7bcf3e (patch)
treef820f1d1a6975ae8b9f212d1ec0820fd21f6f0ae /chinese/kon2
parente4a3c5ded317f123e9ce9d9341449265f7604312 (diff)
downloadports-35fc0a2af42b44966eaec5b7b1b72f7aed7bcf3e.tar.gz
ports-35fc0a2af42b44966eaec5b7b1b72f7aed7bcf3e.zip
Notes
Diffstat (limited to 'chinese/kon2')
-rw-r--r--chinese/kon2/Makefile10
-rw-r--r--chinese/kon2/files/patch-kon.cfg.FreeBSD18
2 files changed, 12 insertions, 16 deletions
diff --git a/chinese/kon2/Makefile b/chinese/kon2/Makefile
index abfab83f996a..7d41f1e142c0 100644
--- a/chinese/kon2/Makefile
+++ b/chinese/kon2/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: kon2 with 16dot font
-# Date created: 31 March 2003
-# Whom: Chen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
-#
+# Created by: Chen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
# $FreeBSD$
-#
PORTREVISION= 3
@@ -37,7 +33,7 @@ post-install: post-install-zhkon2
post-install-zhkon2:
@${MKDIR} ${PREFIX}/share/fonts/bdf
cd ${KCFONTS_WRKSRC} && ./kc15f | ${GZIP_CMD} - > ${PREFIX}/share/fonts/bdf/kc15f.bdf.gz
- cd ${CCE_WRKSRC} && cat fonts/gb16fs.bdf | ${GZIP_CMD} - > ${PREFIX}/share/fonts/bdf/gb16fs.bdf.gz
- cd ${CCE_WRKSRC} && cat fonts/8x16.bdf | ${GZIP_CMD} - > ${PREFIX}/share/fonts/bdf/8x16.bdf.gz
+ cd ${CCE_WRKSRC} && ${CAT} fonts/gb16fs.bdf | ${GZIP_CMD} - > ${PREFIX}/share/fonts/bdf/gb16fs.bdf.gz
+ cd ${CCE_WRKSRC} && ${CAT} fonts/8x16.bdf | ${GZIP_CMD} - > ${PREFIX}/share/fonts/bdf/8x16.bdf.gz
.include "${MASTERDIR}/Makefile"
diff --git a/chinese/kon2/files/patch-kon.cfg.FreeBSD b/chinese/kon2/files/patch-kon.cfg.FreeBSD
index 581483d536bf..a3f1d00ef9ab 100644
--- a/chinese/kon2/files/patch-kon.cfg.FreeBSD
+++ b/chinese/kon2/files/patch-kon.cfg.FreeBSD
@@ -3,15 +3,15 @@
@@ -115,8 +115,10 @@
# Startup command definition (usually font loading commands are specified)
- bdf-zcat16:@@KON16FONT@@
-+ gzip -cd @@PREFIX@@/share/fonts/bdf/8x16.bdf.gz | /usr/local/bin/fld -t bdf -n
- gzip -cd @@PREFIX@@/share/fonts/bdf/jiskan16.bdf.gz | /usr/local/bin/fld -t bdf -n
-- gzip -cd @@PREFIX@@/share/fonts/bdf/8x16rk.bdf.gz | /usr/local/bin/fld -t bdf -n
-+ gzip -cd @@PREFIX@@/share/fonts/bdf/kc15f.bdf.gz | /usr/local/bin/fld -t bdf -n
-+ gzip -cd @@PREFIX@@/share/fonts/bdf/gb16fs.bdf.gz | /usr/local/bin/fld -t bdf -n
- bdf-zcat14:@@KON14FONT@@
- gzip -cd @@PREFIX@@/share/fonts/bdf/k14.bdf.gz | /usr/local/bin/fld -t bdf -n
- gzip -cd @@PREFIX@@/share/fonts/bdf/7x14rk.bdf.gz | /usr/local/bin/fld -t bdf -n
+ bdf-zcat16:%%KON16FONT%%
++ gzip -cd %%PREFIX%%/share/fonts/bdf/8x16.bdf.gz | /usr/local/bin/fld -t bdf -n
+ gzip -cd %%PREFIX%%/share/fonts/bdf/jiskan16.bdf.gz | /usr/local/bin/fld -t bdf -n
+- gzip -cd %%PREFIX%%/share/fonts/bdf/8x16rk.bdf.gz | /usr/local/bin/fld -t bdf -n
++ gzip -cd %%PREFIX%%/share/fonts/bdf/kc15f.bdf.gz | /usr/local/bin/fld -t bdf -n
++ gzip -cd %%PREFIX%%/share/fonts/bdf/gb16fs.bdf.gz | /usr/local/bin/fld -t bdf -n
+ bdf-zcat14:%%KON14FONT%%
+ gzip -cd %%PREFIX%%/share/fonts/bdf/k14.bdf.gz | /usr/local/bin/fld -t bdf -n
+ gzip -cd %%PREFIX%%/share/fonts/bdf/7x14rk.bdf.gz | /usr/local/bin/fld -t bdf -n
@@ -199,16 +201,16 @@
# BIG5.HKU-0, GB2312.1980-1, JISX0208.1983-0, KSC5601.1987-0
# EUC, SJIS