aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-23 19:46:00 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-23 19:46:00 +0000
commit3c09ae1e4719f8087fa467369c34f3f24c45eed0 (patch)
tree24194bd2187b5fb057973d59e752aff75e1dd857 /chinese
parentbc5579fabaa74d711ac1722ae202263aebcb88ec (diff)
downloadports-3c09ae1e4719f8087fa467369c34f3f24c45eed0.tar.gz
ports-3c09ae1e4719f8087fa467369c34f3f24c45eed0.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/kon2/Makefile15
-rw-r--r--chinese/kon2/files/kon.cfg.FreeBSD-patch10
-rw-r--r--chinese/kon2/pkg-plist1
3 files changed, 3 insertions, 23 deletions
diff --git a/chinese/kon2/Makefile b/chinese/kon2/Makefile
index 3910688c1c0d..127ae37d8558 100644
--- a/chinese/kon2/Makefile
+++ b/chinese/kon2/Makefile
@@ -5,24 +5,19 @@
# $FreeBSD$
#
+PORTREVISION= 1
+
MASTERDIR= ${.CURDIR}/../../japanese/kon2-16dot
EXTRA_PATCHES= ${.CURDIR}/files/patch-lib::coding.c
CATEGORIES= chinese
MAINTAINER= ports@FreeBSD.org
-BUILD_DEPENDS+= ${LOCALBASE}/share/fonts/bdf/kc15f.bdf.gz:${PORTSDIR}/chinese/kcfonts:patch \
- ${LOCALBASE}/share/fonts/bdf/gbkst.bdf.gz:${PORTSDIR}/chinese/fcitx:extract \
- pcf2bdf:${PORTSDIR}/x11-fonts/pcf2bdf
+BUILD_DEPENDS+= ${LOCALBASE}/share/fonts/bdf/kc15f.bdf.gz:${PORTSDIR}/chinese/kcfonts:patch
USE_REINPLACE= yes
PLIST= pkg-plist
KCFONTS_WRKSRC= `cd ${PORTSDIR}/chinese/kcfonts; make -V WRKSRC`
-FCITX_WRKSRC= `cd ${PORTSDIR}/chinese/fcitx; make -V WRKSRC`
-
-BROKEN= "Does not compile"
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2004-04-17
post-patch:
${REINPLACE_CMD} -e "s;jiskan16.bdf.gz;kc15f.bdf.gz;g" \
@@ -35,7 +30,6 @@ post-patch:
-e "s;BIG5, 0;BIG5, 0xfefe;g" \
-e "s,GB2312.1980,GBK,g" \
${WRKSRC}/lib/coding.c
- cd ${WRKSRC} && ${PATCH} < ${.CURDIR}/files/kon.cfg.FreeBSD-patch
${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/term.c \
${WRKSRC}/src/display/vga.c
@@ -43,8 +37,5 @@ pre-install:
${MKDIR} ${PREFIX}/share/fonts/bdf
cd ${KCFONTS_WRKSRC} && gcc -O -pipe -o kc15f tran.c kc15f.c && \
./kc15f | ${GZIP_CMD} - > ${PREFIX}/share/fonts/bdf/kc15f.bdf.gz
- cd ${FCITX_WRKSRC}/fonts && ${GUNZIP_CMD} -cd gbkst16.pcf | pcf2bdf | \
- ${SED} -e 's/gbk/GBK/g' -e '/^$$/d' | ${GZIP_CMD} - > \
- ${PREFIX}/share/fonts/bdf/gbkst16.bdf.gz
.include "${MASTERDIR}/Makefile"
diff --git a/chinese/kon2/files/kon.cfg.FreeBSD-patch b/chinese/kon2/files/kon.cfg.FreeBSD-patch
deleted file mode 100644
index 1c816b710cb6..000000000000
--- a/chinese/kon2/files/kon.cfg.FreeBSD-patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- kon.cfg.FreeBSD.orig Mon May 5 04:38:23 2003
-+++ kon.cfg.FreeBSD Mon May 5 04:38:41 2003
-@@ -116,6 +116,7 @@
- # Startup command definition (usually font loading commands are specified)
- bdf-zcat16:@@KON16FONT@@
- gzip -cd @@PREFIX@@/share/fonts/bdf/kc15f.bdf.gz | /usr/local/bin/fld -t bdf -n
-+ gzip -cd @@PREFIX@@/share/fonts/bdf/gbkst16.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
- bdf-zcat14:@@KON14FONT@@
- gzip -cd @@PREFIX@@/share/fonts/bdf/k14.bdf.gz | /usr/local/bin/fld -t bdf -n
diff --git a/chinese/kon2/pkg-plist b/chinese/kon2/pkg-plist
index f4147adcbb88..b0322221178d 100644
--- a/chinese/kon2/pkg-plist
+++ b/chinese/kon2/pkg-plist
@@ -5,7 +5,6 @@ share/fonts/bdf/7x14rk.bdf.gz
share/fonts/bdf/k14.bdf.gz
share/fonts/bdf/8x16rk.bdf.gz
share/fonts/bdf/jiskan16.bdf.gz
-share/fonts/bdf/gbkst16.bdf.gz
share/fonts/bdf/kc15f.bdf.gz
%%DOCSDIR%%/README
%%DOCSDIR%%/README.FreeBSD