From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 11 06:30:07 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7E2237B401 for ; Fri, 11 Apr 2003 06:30:07 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD29A43FDF for ; Fri, 11 Apr 2003 06:30:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3BDU6Up008755 for ; Fri, 11 Apr 2003 06:30:06 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3BDU6nc008754; Fri, 11 Apr 2003 06:30:06 -0700 (PDT) Resent-Date: Fri, 11 Apr 2003 06:30:06 -0700 (PDT) Resent-Message-Id: <200304111330.h3BDU6nc008754@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Statue Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D770437B401 for ; Fri, 11 Apr 2003 06:21:41 -0700 (PDT) Received: from freebsd.sinica.edu.tw (freebsd.sinica.edu.tw [140.109.13.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CDBD43FB1 for ; Fri, 11 Apr 2003 06:21:41 -0700 (PDT) (envelope-from statue@freebsd.sinica.edu.tw) Received: by freebsd.sinica.edu.tw (Postfix, from userid 1014) id A828D75B; Fri, 11 Apr 2003 21:21:43 +0800 (CST) Message-Id: <20030411132143.A828D75B@freebsd.sinica.edu.tw> Date: Fri, 11 Apr 2003 21:21:43 +0800 (CST) From: Statue To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50818: New port: chinese/kaisu X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Statue List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 13:30:08 -0000 >Number: 50818 >Category: ports >Synopsis: New port: chinese/kaisu >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:30:06 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: KaiSu.pkg.tar is a Chinese PostScript font package. It's the courtesy of Jackson Technology, Ltd., Taiwan to release this font under the terms of the General Public License of the Free Software Fundation. Taiwan NeXT User Group has taken over the distribution since the sales manager Tsui of Jackson announced this news in the user meeting of TwNUG in December 29, 1993. For the past period, we have been modifing and packaging the font. However, due to the lack of time, we have not been able to fully test either the PS font or the install script. If you have any problem installing the package, please send e-mail to the following address: KaiSu@nextstep.dorm6.nctu.edu.tw The KaiSu package contains only a typeface of Big-5 encode Chinese PostScript font. In the future, we will put in a Chinese input program called CInput with the package and other related utilities. For those who are interested in seeing Chinese NeXTSTEP, there is a sample file in the same directory you download the font called Chinese_sample.rtf. >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: # # kaisu/ # kaisu/Makefile # kaisu/distinfo # kaisu/files # kaisu/pkg-deinstall # kaisu/pkg-descr # kaisu/pkg-install # kaisu/pkg-plist # kaisu/files/KaiSu-Regular-ETen-B5-H.gsf # kaisu/files/KaiSu-Regular-ETen-B5-V.gsf # echo c - kaisu/ mkdir -p kaisu/ > /dev/null 2>&1 echo x - kaisu/Makefile sed 's/^X//' >kaisu/Makefile << 'END-of-kaisu/Makefile' X# New ports collection makefile for: KaiSu Chinese PostScript font X# Date created: 30 Mar 2003 X# Whom: Shen Chuan-Hsing X# X# $FreeBSD$ X# X XPORTNAME= kaisu XPORTVERSION= 1.0 XCATEGORIES= chinese print XMASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/kaisu/ \ X http://download.tw.kde.org/pub/CLE/fonts/jackson/ XDISTNAME= KaiSu.pkg_0_7 X XMAINTAINER= statue@freebsd.sinica.edu.tw XCOMMENT= KaiSu is a Chinese PostScript font package X XRUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu \ X ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps X XNO_BUILD= YES X Xpost-extract: X cd ${WRKSRC}/KaiSu-Regular.pkg/ && tar zxvf KaiSu-Regular.tar.Z X Xdo-install: X @${INSTALL_DATA} ${WRKSRC}/KaiSu-Regular.pkg/KaiSu-Regular.font/KaiSu-Regular \ X ${FILESDIR}/KaiSu-Regular-ETen-B5-H.gsf \ X ${FILESDIR}/KaiSu-Regular-ETen-B5-V.gsf \ X ${PREFIX}/share/ghostscript/fonts X @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL X X.include END-of-kaisu/Makefile echo x - kaisu/distinfo sed 's/^X//' >kaisu/distinfo << 'END-of-kaisu/distinfo' XMD5 (KaiSu.pkg_0_7.tar.gz) = 21965419de4db996f7778ac2731d7c22 XMD5 (KaiSu_patch_0_7.tar.gz) = 38c0a140a2c0a3cdf63674277b46a535 END-of-kaisu/distinfo echo c - kaisu/files mkdir -p kaisu/files > /dev/null 2>&1 echo x - kaisu/pkg-deinstall sed 's/^X//' >kaisu/pkg-deinstall << 'END-of-kaisu/pkg-deinstall' X#!/bin/sh X XGSVER=7.05 XGSDIR=${PKG_PREFIX}/share/ghostscript XFONTMAP=${GSDIR}/${GSVER}/lib/Fontmap.GS XFONTMAPTMP=${FONTMAP}.tmp X X# Run just once. Xif [ "x$2" != "xDEINSTALL" ]; then X exit 0 Xfi X Xsed -e "/^\/KaiSu.*/d" ${FONTMAP} > ${FONTMAPTMP} Xmv -f ${FONTMAPTMP} ${FONTMAP} END-of-kaisu/pkg-deinstall echo x - kaisu/pkg-descr sed 's/^X//' >kaisu/pkg-descr << 'END-of-kaisu/pkg-descr' X KaiSu.pkg.tar is a Chinese PostScript font package. It's the Xcourtesy of Jackson Technology, Ltd., Taiwan to release this font Xunder the terms of the General Public License of the Free Software XFundation. Taiwan NeXT User Group has taken over the distribution Xsince the sales manager Tsui of Jackson announced this news in the Xuser meeting of TwNUG in December 29, 1993. For the past period, Xwe have been modifing and packaging the font. However, due to the Xlack of time, we have not been able to fully test either the PS font Xor the install script. If you have any problem installing the package, Xplease send e-mail to the following address: X X KaiSu@nextstep.dorm6.nctu.edu.tw X X The KaiSu package contains only a typeface of Big-5 encode XChinese PostScript font. In the future, we will put in a Chinese input Xprogram called CInput with the package and other related utilities. XFor those who are interested in seeing Chinese NeXTSTEP, there is a Xsample file in the same directory you download the font called XChinese_sample.rtf. END-of-kaisu/pkg-descr echo x - kaisu/pkg-install sed 's/^X//' >kaisu/pkg-install << 'END-of-kaisu/pkg-install' X#!/bin/sh X XGSVER=7.05 XGSDIR=${PKG_PREFIX}/share/ghostscript XFONTMAP=${GSDIR}/${GSVER}/lib/Fontmap.GS X X# Run just once. Xif [ "x$2" != "xPOST-INSTALL" ]; then X exit 0 Xfi X Xecho "/KaiSu-Regular-ETen-B5-H (KaiSu-Regular-ETen-B5-H.gsf) ;" >> ${FONTMAP} Xecho "/KaiSu-Regular-ETen-B5-V (KaiSu-Regular-ETen-B5-V.gsf) ;" >> ${FONTMAP} END-of-kaisu/pkg-install echo x - kaisu/pkg-plist sed 's/^X//' >kaisu/pkg-plist << 'END-of-kaisu/pkg-plist' Xshare/ghostscript/fonts/KaiSu-Regular Xshare/ghostscript/fonts/KaiSu-Regular-ETen-B5-H.gsf Xshare/ghostscript/fonts/KaiSu-Regular-ETen-B5-V.gsf X@dirrm share/ghostscript/fonts/CMap END-of-kaisu/pkg-plist echo x - kaisu/files/KaiSu-Regular-ETen-B5-H.gsf sed 's/^X//' >kaisu/files/KaiSu-Regular-ETen-B5-H.gsf << 'END-of-kaisu/files/KaiSu-Regular-ETen-B5-H.gsf' X/KaiSu-Regular-ETen-B5-H X/KaiSu-Regular (KaiSu-Regular) X/ETen-B5-H (CMap/ETen-B5-H) X X1 index /CMap resourcestatus X{pop pop pop} X{runlibfile} ifelse X/CMap findresource X X3 1 roll X1 index /CIDFont resourcestatus X{pop pop pop} X{runlibfile} ifelse X/CIDFont findresource X X[ exch ] composefont pop END-of-kaisu/files/KaiSu-Regular-ETen-B5-H.gsf echo x - kaisu/files/KaiSu-Regular-ETen-B5-V.gsf sed 's/^X//' >kaisu/files/KaiSu-Regular-ETen-B5-V.gsf << 'END-of-kaisu/files/KaiSu-Regular-ETen-B5-V.gsf' X/KaiSu-Regular-ETen-B5-V X/KaiSu-Regular (KaiSu-Regular) X/ETen-B5-V (CMap/ETen-B5-V) X X1 index /CMap resourcestatus X{pop pop pop} X{runlibfile} ifelse X/CMap findresource X X3 1 roll X1 index /CIDFont resourcestatus X{pop pop pop} X{runlibfile} ifelse X/CIDFont findresource X X[ exch ] composefont pop END-of-kaisu/files/KaiSu-Regular-ETen-B5-V.gsf exit >Release-Note: >Audit-Trail: >Unformatted: