head	1.14;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.13
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.13
	RELEASE_7_1_0:1.13
	RELEASE_6_4_0:1.13
	RELEASE_5_EOL:1.13
	RELEASE_7_0_0:1.13
	RELEASE_6_3_0:1.13
	PRE_XORG_7:1.12
	RELEASE_4_EOL:1.12
	RELEASE_6_2_0:1.12
	RELEASE_6_1_0:1.11
	RELEASE_5_5_0:1.11
	RELEASE_6_0_0:1.11
	RELEASE_5_4_0:1.8
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.6
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2;
locks; strict;
comment	@# @;


1.14
date	2012.11.17.05.54.57;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2007.05.19.20.00.44;	author flz;	state Exp;
branches;
next	1.12;

1.12
date	2006.05.03.23.38.32;	author edwin;	state Exp;
branches;
next	1.11;

1.11
date	2005.07.25.21.58.06;	author linimon;	state Exp;
branches;
next	1.10;

1.10
date	2005.05.01.11.41.17;	author vanilla;	state Exp;
branches;
next	1.9;

1.9
date	2005.05.01.00.42.58;	author vanilla;	state Exp;
branches;
next	1.8;

1.8
date	2005.03.05.18.30.20;	author leeym;	state Exp;
branches;
next	1.7;

1.7
date	2005.01.08.15.50.02;	author sem;	state Exp;
branches;
next	1.6;

1.6
date	2004.02.23.19.46.00;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2004.02.17.22.47.20;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2003.11.21.03.09.42;	author linimon;	state Exp;
branches;
next	1.3;

1.3
date	2003.09.27.01.11.24;	author leeym;	state Exp;
branches;
next	1.2;

1.2
date	2003.05.15.02.24.24;	author kevlo;	state Exp;
branches;
next	1.1;

1.1
date	2003.05.13.01.19.36;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Switch exporter over
@
text
@# New ports collection makefile for:	kon2 with 16dot font
# Date created:         31 March 2003
# Whom:                 Chen Chuan-Hsing <statue@@freebsd.sinica.edu.tw>
#
# $FreeBSD: head/chinese/kon2/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTREVISION=	3

MASTERDIR=	${.CURDIR}/../../japanese/kon2-16dot
CATEGORIES=	chinese

MAINTAINER=	ports@@FreeBSD.org

BUILD_DEPENDS+=	${NONEXISTENT}:${PORTSDIR}/chinese/kcfonts:patch \
		${NONEXISTENT}:${PORTSDIR}/chinese/cce:extract

KCFONTS_WRKSRC=	`cd ${PORTSDIR}/chinese/kcfonts; make -V WRKSRC`
CCE_WRKSRC=	`cd ${PORTSDIR}/chinese/cce; make -V WRKSRC`

PLIST_FILES=	share/fonts/bdf/kc15f.bdf.gz \
		share/fonts/bdf/gb16fs.bdf.gz \
		share/fonts/bdf/8x16.bdf.gz

post-patch: post-patch-zhkon2
post-patch-zhkon2:
	@@${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/term.c \
		${WRKSRC}/src/display/vga.c
	@@cd ${WRKSRC} && ${PATCH} < ${.CURDIR}/files/patch-lib::coding.c
	@@cd ${WRKSRC} && ${PATCH} < ${.CURDIR}/files/patch-kon.cfg.FreeBSD

post-build: post-build-zhkon2
post-build-zhkon2:
	@@cd ${KCFONTS_WRKSRC} && ${MAKE} kc15f

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

.include "${MASTERDIR}/Makefile"
@


1.13
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@remove USE_REINPLACE for all ports with categories starting with C
@
text
@d8 1
a8 1
PORTREVISION=	2
@


1.11
log
@Reset bouncing maintainer address.  These ports are now available for
adoption.

Note that I have left the maintainer's own ftp site as a MASTERSITE
because it still appears to be active (for now, anyways).

Hat:	portmgr
@
text
@a17 1
USE_REINPLACE=	yes
@


1.10
log
@1: use chinese/cce bitmaps replace x11-fonts/xorg-fonts-miscbitmaps.
2: bump version.

PR:		ports/80498
Submitted by:	maintainer
@
text
@d13 1
a13 1
MAINTAINER=	statue@@freebsd.netlab.cse.yzu.edu.tw
@


1.9
log
@add gb2312 font support.

PR:		ports/80482
Submitted by:	maintainer
@
text
@d8 1
a8 1
PORTREVISION=	1
d16 1
a16 1
		${NONEXISTENT}:${PORTSDIR}/x11-fonts/xorg-fonts-miscbitmaps:extract
d20 1
a20 1
GB16ST_WRKSRC=	`cd ${PORTSDIR}/x11-fonts/xorg-fonts-miscbitmaps; make -V WRKSRC`
d23 1
a23 1
		share/fonts/bdf/gb16st.bdf.gz \
d41 2
a42 2
	cd ${GB16ST_WRKSRC} && cat fonts/bdf/misc/gb16st.bdf | ${GZIP_CMD} - > ${PREFIX}/share/fonts/bdf/gb16st.bdf.gz
	cd ${GB16ST_WRKSRC} && cat fonts/bdf/misc/8x16.bdf | ${GZIP_CMD} - > ${PREFIX}/share/fonts/bdf/8x16.bdf.gz
@


1.8
log
@- utilize PORTDOCS in japanese/kon2-16dot (master)
- utilize PLIST_FILES in chinese/kon2 (slave)
- change target in chinese/kon2 (slave) to avoid conflicts
- remove extra directory in japanese/kon2-16dot (master)
- some minor fixes
@
text
@a10 1
EXTRA_PATCHES=	${.CURDIR}/files/patch-lib::coding.c
d15 2
a16 1
BUILD_DEPENDS+=	${NONEXISTENT}:${PORTSDIR}/chinese/kcfonts:patch
d20 1
d22 3
a24 1
PLIST_FILES=	share/fonts/bdf/kc15f.bdf.gz
a27 10
	@@${REINPLACE_CMD} -e "s;jiskan16.bdf.gz;kc15f.bdf.gz;g" \
		-e "s;ja_JP.ujis:Coding;ja_JP.ujis:;g" \
		-e "s;zh_TW.big5:;zh_TW.big5:Coding;g" \
		-e "s;BIG5.HKU-0;BIG5-0;g" \
		-e "s,GB2312.1980,GBK,g" \
		${WRKSRC}/kon.cfg.FreeBSD
	@@${REINPLACE_CMD} -e "s;BIG5.HKU-0;BIG5-0;g" \
		-e "s;BIG5,      0;BIG5, 0xfefe;g" \
		-e "s,GB2312.1980,GBK,g" \
		${WRKSRC}/lib/coding.c
d30 2
d41 2
@


1.7
log
@- Pass maintainership to submitter

PR:		ports/75730
Submitted by:	statue(at)freebsd.netlab.cse.yzu.edu.tw
@
text
@d16 1
a16 1
BUILD_DEPENDS+=	${LOCALBASE}/share/fonts/bdf/kc15f.bdf.gz:${PORTSDIR}/chinese/kcfonts:patch
a18 1
PLIST=		pkg-plist
d21 5
a25 2
post-patch:
	${REINPLACE_CMD} -e "s;jiskan16.bdf.gz;kc15f.bdf.gz;g" \
d31 1
a31 1
	${REINPLACE_CMD} -e "s;BIG5.HKU-0;BIG5-0;g" \
d35 1
a35 1
	${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/term.c \
d38 8
a45 4
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
@


1.6
log
@- Unbreak.

PR:		ports/63245
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.5
log
@BROKEN: Does not compile.  This port is scheduled for removal on April 17
if it is still broken.
@
text
@d8 2
d16 1
a16 3
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
a20 5
FCITX_WRKSRC=	`cd ${PORTSDIR}/chinese/fcitx; make -V WRKSRC`

BROKEN=		"Does not compile"
DEPRECATED=	${BROKEN}
EXPIRATION_DATE=2004-04-17
a32 1
	cd ${WRKSRC} && ${PATCH} < ${.CURDIR}/files/kon.cfg.FreeBSD-patch
a39 3
	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
@


1.4
log
@statue@@freebsd.sinica.edu.tw has asked for all the maintained
ports to be reset to ports@@FreeBSD.org.  We're sorry to see you
go and want to thank you for your help in the past.

PR:		ports/59515
Submitted by:	statue@@freebsd.sinica.edu.tw
@
text
@d23 4
@


1.3
log
@for 5.x, add a patch to modify /dev/vga to /dev/ttyv0

PR:		57257
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d12 1
a12 1
MAINTAINER=	statue@@freebsd.sinica.edu.tw
@


1.2
log
@Move files/patch-kon.cfg.FreeBSD to files/kon.cfg.FreeBSD-patch for post-patch

PR: 52222
Submitted by: MAINTAINER
@
text
@d35 2
@


1.1
log
@Add kon2 ,
kanji On Console -- Display kanji characters on your own
console.

PR:		50819
Submitted by:	Chen Chuan-Hsing <statue@@freebsd.sinica.edu.tw>
@
text
@d9 1
a9 2
EXTRA_PATCHES=	${.CURDIR}/files/patch-kon.cfg.FreeBSD \
	       	${.CURDIR}/files/patch-lib::coding.c
d34 1
@

