Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 21:31:16 +0800 (CST)
From:      Statue <statue@freebsd.sinica.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50819: New port: chinese/kon2
Message-ID:  <20030411133116.7131A75B@freebsd.sinica.edu.tw>
Resent-Message-ID: <200304111340.h3BDe9jq014056@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         50819
>Category:       ports
>Synopsis:       New port: chinese/kon2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 11 06:40:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Statue
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #2: Mon Sep 9 10:45:46 CST 2002 ycheng@freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386


	
>Description:
kon2 with Big5 support.
	
>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	kon2/
#	kon2/Makefile
#	kon2/pkg-plist
#
echo c - kon2/
mkdir -p kon2/ > /dev/null 2>&1
echo x - kon2/Makefile
sed 's/^X//' >kon2/Makefile << 'END-of-kon2/Makefile'
X# New ports collection makefile for:	kon2 with 16dot font
X# Date created:         31 March 2003
X# Whom:                 Chen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
X#
X# $FreeBSD$
X#
X
XCATEGORIES=	chinese
X
XMASTERDIR=	${.CURDIR}/../../japanese/kon2-16dot
X
XMAINTAINER=	statue@freebsd.sinica.edu.tw
X
XBUILD_DEPENDS=	${LOCALBASE}/share/fonts/bdf/kc15f.bdf.gz:${PORTSDIR}/chinese/kcfonts:build
X
XUSE_REINPLACE=	yes
XPLIST=		pkg-plist
XKCFONTS_WRKSRC=	`cd ${PORTSDIR}/chinese/kcfonts; make -V WRKSRC`
X
Xpost-patch:
X	${REINPLACE_CMD} -e "s;jiskan16.bdf.gz;kc15f.bdf.gz;g" \
X		-e "s;8x16rk.bdf.gz;kc8x15.bdf.gz;g" \
X		-e "s;ja_JP.ujis:Coding;ja_JP.ujis;g" \
X		-e "s;zh_TW.big5;zh_TW.big5:Coding;g" \
X		-e "s;BIG5.HKU-0;BIG5-0;g" \
X		${WRKSRC}/kon.cfg.FreeBSD
X	${REINPLACE_CMD} -e "s;BIG5.HKU-0;BIG5-0;g" \
X		-e "s;BIG5,      0;BIG5,      0xfefe;g" \
X		${WRKSRC}/lib/coding.c
X
Xpre-install:
X	${MKDIR} ${PREFIX}/share/fonts/bdf
X	cd ${KCFONTS_WRKSRC} && ./kc15f | ${GZIP_CMD} - > ${PREFIX}/share/fonts/bdf/kc15f.bdf.gz
X	cd ${KCFONTS_WRKSRC} && ${CAT} kc8x15.bdf | ${GZIP_CMD} - > ${PREFIX}/share/fonts/bdf/kc8x15.bdf.gz
X
X.include "${MASTERDIR}/Makefile"
END-of-kon2/Makefile
echo x - kon2/pkg-plist
sed 's/^X//' >kon2/pkg-plist << 'END-of-kon2/pkg-plist'
Xbin/fld
Xbin/kon
Xetc/kon.cfg
Xshare/fonts/bdf/7x14rk.bdf.gz
Xshare/fonts/bdf/k14.bdf.gz
Xshare/fonts/bdf/8x16rk.bdf.gz
Xshare/fonts/bdf/jiskan16.bdf.gz
Xshare/fonts/bdf/kc15f.bdf.gz
Xshare/fonts/bdf/kc8x15.bdf.gz
Xshare/doc/kon2/README
Xshare/doc/kon2/README.FreeBSD
X@dirrm share/doc/kon2
X@dirrm share/fonts/bdf
END-of-kon2/pkg-plist
exit

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030411133116.7131A75B>