From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 11 06:50:21 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 B033337B4D5 for ; Fri, 11 Apr 2003 06:50:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A028D43FDF for ; Fri, 11 Apr 2003 06:50:18 -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 h3BDoIUp017799 for ; Fri, 11 Apr 2003 06:50:18 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3BDoIeZ017798; Fri, 11 Apr 2003 06:50:18 -0700 (PDT) Resent-Date: Fri, 11 Apr 2003 06:50:18 -0700 (PDT) Resent-Message-Id: <200304111350.h3BDoIeZ017798@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 2F73337B401 for ; Fri, 11 Apr 2003 06:43:23 -0700 (PDT) Received: from freebsd.sinica.edu.tw (freebsd.sinica.edu.tw [140.109.13.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BCFC43F93 for ; Fri, 11 Apr 2003 06:43:22 -0700 (PDT) (envelope-from statue@freebsd.sinica.edu.tw) Received: by freebsd.sinica.edu.tw (Postfix, from userid 1014) id 1012178D; Fri, 11 Apr 2003 21:43:25 +0800 (CST) Message-Id: <20030411134325.1012178D@freebsd.sinica.edu.tw> Date: Fri, 11 Apr 2003 21:43:25 +0800 (CST) From: Statue To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50820: New port: chinese/ntuttf 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:50:22 -0000 >Number: 50820 >Category: ports >Synopsis: New port: chinese/ntuttf >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:50:18 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: Date: Thu, 17 Mar 94 14:18:18 CST From: Lin YawJen HISTORY====== I had written a program to convert fonts from large bitmap into TrueTypefor MS-Windows. For Mac, see ifcss.org:/software/fonts/mac/ the bitmaps came from DYNAFONT (Hua2 Kang1) and ETen.. This is the critical point of this product. COPYRIGHT========= These fonts are created by Mr. Lin Yaw-JenAll Right reserved. These fonts must not be used for any commercial activities. Lab of OA Network Home: 4F, No. 12-2 Alley 2 Lane 250 Sec 5 Nanking East Rd. Department of Computer Science and Information Engineering Taipei Taiwan R.O.C National Taiwan University Tel: 886-2-7641236 Taipei Taiwan R.O.C Fax: 886-2-760184 Email: f1506015@csman.csie.ntu.edu.tw >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: # # ntuttf/ # ntuttf/Makefile # ntuttf/distinfo # ntuttf/pkg-deinstall # ntuttf/pkg-descr # ntuttf/pkg-install # ntuttf/pkg-plist # echo c - ntuttf/ mkdir -p ntuttf/ > /dev/null 2>&1 echo x - ntuttf/Makefile sed 's/^X//' >ntuttf/Makefile << 'END-of-ntuttf/Makefile' X# New ports collection makefile for: NTU Chinese TrueType fonts X# Date created: 11 April 2003 X# Whom: Shen Chuan-Hsing X# X# $FreeBSD$ X# X XPORTNAME= ntuttf XPORTVERSION= 1.0 XCATEGORIES= chinese x11-fonts XMASTER_SITES= ftp://cle.linux.org.tw/pub/fonts/ttf/unicode/ntu/ \ X ftp://freebsd.sinica.edu.tw/pub/statue/ntuttf/ XDISTFILES= NTU_FS_M.TTF NTU_KAI.TTF NTU_LI_M.TTF NTU_MB.TTF \ X NTU_MM.TTF NTU_MR.TTF NTU_TW.TTF XEXTRACT_ONLY= # empty X XMAINTAINER= statue@freebsd.sinica.edu.tw XCOMMENT= Seven Chinese Big5 TrueType fonts made by NTU X XRUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm X XNO_BUILD= yes XSHAREMODE= 644 XUSE_XLIB= yes XFONTDIR= ${PREFIX}/share/fonts/TrueType XXFONTDIR= ${X11BASE}/lib/X11/fonts/TrueType XINSTALL_ENV= PKG_PREFIX=${PREFIX} XFREE86_VERSION=${XFREE86_VERSION} \ X WANT_CJK=${WANT_CJK} WANT_GS=${WANT_GS} \ X WITHOUT_X=${WITHOUT_X} X X.include X X.if defined(WANT_CJK) XRUN_DEPENDS+= bg5latex:${PORTSDIR}/chinese/CJK X.endif X.if defined(WANT_GS) XRUN_DEPENDS+= ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps X.endif X.if ${XFREE86_VERSION} == 3 && !defined(WITHOUT_X) XRUN_DEPENDS+= mkfontdir.pl:${PORTSDIR}/x11-servers/XttXF86srv-common X.endif X Xpre-fetch: X.if defined(WANT_CJK) X @${ECHO} "CJK support will be added." X.endif X.if defined(WANT_GS) X @${ECHO} "Ghostscript support will be added." X.endif X.if defined(WITHOUT_X) X @${ECHO} "X Window support will NOT be added." X.endif X.if !defined(WANT_CJK) && !defined(WANT_GS) && !defined(WITHOUT_X) X @${ECHO} -- X @${ECHO} "Type \"make WANT_CJK=yes\" if you want CJK support." X @${ECHO} "Type \"make WANT_GS=yes\" if you want Ghostscript support." X @${ECHO} "Type \"make WITHOUT_X=yes\" if you DONT want X Window support." X @${ECHO} "You can use them in combinations." X @${ECHO} -- X.endif X Xdo-install: X.if !exists(${FONTDIR}) X @${MKDIR} ${FONTDIR} X.endif X.for i in ${DISTFILES} X @${INSTALL_DATA} ${DISTDIR}/${i} ${FONTDIR} X.endfor X @${SETENV} ${INSTALL_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL X X.include END-of-ntuttf/Makefile echo x - ntuttf/distinfo sed 's/^X//' >ntuttf/distinfo << 'END-of-ntuttf/distinfo' XMD5 (NTU_FS_M.TTF) = dc2a25c8825423a37f36da1c158a32fd XMD5 (NTU_KAI.TTF) = d208682e5c0a6f347d8e1e14962a4887 XMD5 (NTU_LI_M.TTF) = 8dc43f6b02e22a7b4f3d083c16c92e80 XMD5 (NTU_MB.TTF) = e82abcb9de37bbf39a7faa32368d09e3 XMD5 (NTU_MM.TTF) = a2f7fe50c75b222cc16a8f766b787317 XMD5 (NTU_MR.TTF) = b772aea4bc3c340604a0ad98696c766a XMD5 (NTU_TW.TTF) = 68f21e60a8eac47089b612a93e14a04c END-of-ntuttf/distinfo echo x - ntuttf/pkg-deinstall sed 's/^X//' >ntuttf/pkg-deinstall << 'END-of-ntuttf/pkg-deinstall' X#!/bin/sh X Xif [ "$2" != "DEINSTALL" ]; then X exit 0 Xfi X XPKGNAME=$1 XPREFIX=${PKG_PREFIX} XTTFM=${PKG_PREFIX}/bin/ttfm.sh X XFONTDIR=${PREFIX}/share/fonts/TrueType XFONTS="NTU_FS_M.TTF NTU_KAI.TTF NTU_LI_M.TTF NTU_MB.TTF NTU_MM.TTF NTU_MR.TTF NTU_TW.TTF" X Xif [ -r $FONTDIR/$PKGNAME ]; then X for i in `cat $FONTDIR/$PKGNAME`; do X for f in $FONTS; do X $TTFM --remove $i $f X done X done Xfi X Xrm -f $FONTDIR/$PKGNAME X Xexit 0 END-of-ntuttf/pkg-deinstall echo x - ntuttf/pkg-descr sed 's/^X//' >ntuttf/pkg-descr << 'END-of-ntuttf/pkg-descr' XDate: Thu, 17 Mar 94 14:18:18 CST XFrom: Lin YawJen X XHISTORY====== XI had written a program to convert fonts from large bitmap into TrueTypefor XMS-Windows. For Mac, see ifcss.org:/software/fonts/mac/ the bitmaps came Xfrom DYNAFONT (Hua2 Kang1) and ETen.. XThis is the critical point of this product. X X XCOPYRIGHT========= XThese fonts are created by Mr. Lin Yaw-JenAll Right reserved. XThese fonts must not be used for any commercial activities. X XLab of OA Network XHome: 4F, No. 12-2 Alley 2 Lane 250 Sec 5 Nanking East Rd. XDepartment of Computer Science and Information Engineering XTaipei Taiwan R.O.C National Taiwan University XTel: 886-2-7641236 Taipei Taiwan R.O.C XFax: 886-2-760184 Email: f1506015@csman.csie.ntu.edu.tw END-of-ntuttf/pkg-descr echo x - ntuttf/pkg-install sed 's/^X//' >ntuttf/pkg-install << 'END-of-ntuttf/pkg-install' X#!/bin/sh X Xif [ "$2" = "PRE-INSTALL" ]; then X exit 0 Xfi X XPKGNAME=$1 XPREFIX=${PKG_PREFIX} XTTFM=${PREFIX}/bin/ttfm.sh X XFONTDIR=${PREFIX}/share/fonts/TrueType XFONTS="NTU_FS_M.TTF NTU_KAI.TTF NTU_LI_M.TTF NTU_MB.TTF NTU_MM.TTF NTU_MR.TTF NTU_TW.TTF" X Xif [ ! -x $TTFM ]; then X echo "$TTFM not found!" X exit 1 Xfi X Xrm -f $FONTDIR/$PKGNAME X Xif [ "X$WANT_CJK" != "X" ]; then X # There's no CJK module now. Xfi X Xif [ "X$WANT_GS" != "X" ]; then X for f in $FONTS; do X $TTFM --add gscjk $FONTDIR/$f X done X echo "gscjk" >> $FONTDIR/$PKGNAME Xfi X Xif [ "X$WITHOUT_X" = "X" ]; then X for f in $FONTS; do X $TTFM --add xttfm $FONTDIR/$f X done X echo "xttfm" >> $FONTDIR/$PKGNAME Xfi X Xexit 0 END-of-ntuttf/pkg-install echo x - ntuttf/pkg-plist sed 's/^X//' >ntuttf/pkg-plist << 'END-of-ntuttf/pkg-plist' Xshare/fonts/TrueType/NTU_FS_M.TTF Xshare/fonts/TrueType/NTU_KAI.TTF Xshare/fonts/TrueType/NTU_LI_M.TTF Xshare/fonts/TrueType/NTU_MB.TTF Xshare/fonts/TrueType/NTU_MM.TTF Xshare/fonts/TrueType/NTU_MR.TTF Xshare/fonts/TrueType/NTU_TW.TTF X@unexec rmdir %D/share/fonts/TrueType 2>/dev/null || true X@unexec rmdir %D/share/fonts 2>/dev/null || true END-of-ntuttf/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: