Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 2004 07:30:16 GMT
From:      statue <statue@freebsd.netlab.cse.yzu.edu.tw>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/71238: New port: chinese/wangttf2
Message-ID:  <200409030730.i837UG6d083282@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/71238; it has been noted by GNATS.

From: statue <statue@freebsd.netlab.cse.yzu.edu.tw>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/71238: New port: chinese/wangttf2
Date: Fri, 3 Sep 2004 15:28:25 +0800 (CST)

 diff -ruN wangttf.orig/Makefile wangttf/Makefile
 --- wangttf.orig/Makefile	Sat Jul 24 16:10:37 2004
 +++ wangttf/Makefile	Fri Sep  3 15:27:00 2004
 @@ -1,24 +1,33 @@
  # New ports collection makefile for:	zh-wangttf
 -# Date created:		19 Nov 2000
 -# Whom:			Jing-Tang Keith Jang <keith@FreeBSD.org>
 +# Date created:		1 Sep 2004
 +# Whom:			Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
  #
  # $FreeBSD: ports/chinese/wangttf/Makefile,v 1.10 2004/07/23 19:10:07 anholt Exp $
  #
  
  PORTNAME=	wangttf
 -PORTVERSION=	1.0
 -PORTREVISION=	2
 +PORTVERSION=	1.3
  CATEGORIES=	chinese x11-fonts
 -MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/statue/wangttf/
 -DISTFILES=	wcl-01.ttf.bz2 wcl-02.ttf.bz2 wcl-03.ttf.bz2 wcl-04.ttf.bz2 \
 -		wcl-05.ttf.bz2 wcl-06.ttf.bz2 wcl-07.ttf.bz2 wcl-08.ttf.bz2 \
 -		wcl-09.ttf.bz2 wcl-10.ttf.bz2
 +MASTER_SITES=	ftp://cle.linux.org.tw/pub2/fonts/wangfonts/ \
 +		ftp://cle.linux.org.tw/pub2/fonts/wangfonts/WCL/
 +DISTFILES=	wp010-05.ttf wp010-08.ttf wp110-05.ttf wp110-08.ttf \
 +		wp210-05.ttf wp210-08.ttf wp310-05.ttf wp310-08.ttf \
 +		wt001.ttf wt002.ttf wt003.ttf wt004.ttf wt005.ttf \
 +		wt006.ttf wt009.ttf wt011.ttf wt014.ttf wt021.ttf \
 +		wt024.ttf wt028.ttf wt034.ttf wt040.ttf wt064.ttf \
 +		wt071.ttf wtcc02.ttf wtcc15.ttf wtg-06cut1x.ttf \
 +		wthc06.ttf wts11.ttf wts43.ttf wts47.ttf wts55.ttf \
 +		WCL-01.ttf WCL-02.ttf WCL-03.ttf WCL-04.ttf WCL-05.ttf \
 +		WCL-06.ttf WCL-07.ttf WCL-08.ttf WCL-09.ttf WCL-10.ttf
  EXTRACT_ONLY=
  
  MAINTAINER=	ports@FreeBSD.org
 -COMMENT=	Ten Chinese Big5 TrueType fonts, made by Dr. Hann-Tzong Wang
 +COMMENT=	Many Chinese Big5 TrueType fonts, made by Dr. Hann-Tzong Wang
  
 -RUN_DEPENDS=	ttfm.sh:${PORTSDIR}/chinese/ttfm
 +BUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
 +		ttfm.sh:${PORTSDIR}/chinese/ttfm
 +RUN_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
 +		ttfm.sh:${PORTSDIR}/chinese/ttfm
  
  DIST_SUBDIR=	zh-wangttf
  USE_BZIP2=	yes
 @@ -27,45 +36,18 @@
  SHAREMODE=	644
  FONTDIR=	${PREFIX}/share/fonts/TrueType
  XFONTDIR=	${X11BASE}/lib/X11/fonts/TrueType
 -INSTALL_ENV=	PKG_PREFIX=${PREFIX} \
 -		DEFAULT=${DEFAULT} WANT_CJK=${WANT_CJK} WANT_GS=${WANT_GS} \
 -		WITHOUT_X=${WITHOUT_X}
  
  .include <bsd.port.pre.mk>
  
 -.if defined(WANT_CJK)
 -RUN_DEPENDS+=	bg5latex:${PORTSDIR}/chinese/CJK
 -.endif
 -.if defined(WANT_GS)
 -RUN_DEPENDS+=	${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps
 -.endif
 -
 -pre-fetch:
 -.if defined(WANT_CJK)
 -	@${ECHO} "CJK support will be added."
 -.endif
 -.if defined(WANT_GS)
 -	@${ECHO} "Ghostscript support will be added."
 -.endif
 -.if defined(WITHOUT_X)
 -	@${ECHO} "X Window support will NOT be added."
 -.endif
 -.if !defined(WANT_CJK) && !defined(WANT_GS) && !defined(WITHOUT_X)
 -	@${ECHO} --
 -	@${ECHO} "Type \"make WANT_CJK=yes\" if you want CJK support."
 -	@${ECHO} "Type \"make WANT_GS=yes\" if you want Ghostscript support."
 -	@${ECHO} "Type \"make WITHOUT_X=yes\" if you DONT want X Window support."
 -	@${ECHO} "You can use them in combinations."
 -	@${ECHO} --
 -.endif
 -
  do-install:
  	@${MKDIR} ${FONTDIR}
 +	@${ECHO_MSG} "===> Running ttfm.sh"
  .for i in ${DISTFILES}
  	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${i} ${FONTDIR}
 -	@${EXTRACT_CMD} -dv ${FONTDIR}/${i}
 +	-@${PREFIX}/bin/ttfm.sh --add xttfm ${i}
  .endfor
 +	@${ECHO_MSG} "===> Running fc-cache"
 +	-@${X11BASE}/bin/fc-cache -f -v ${XFONTDIR}
  	@${INSTALL_DATA} ${FILESDIR}/wangttf.txt ${FONTDIR}
 -	@${SETENV} ${INSTALL_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
  
  .include <bsd.port.post.mk>
 diff -ruN wangttf.orig/distinfo wangttf/distinfo
 --- wangttf.orig/distinfo	Sun May  4 15:59:24 2003
 +++ wangttf/distinfo	Fri Sep  3 14:54:59 2004
 @@ -1,10 +1,84 @@
 -MD5 (zh-wangttf/wcl-01.ttf.bz2) = e2de3cf01d8fa5c50aa705640d241e54
 -MD5 (zh-wangttf/wcl-02.ttf.bz2) = 9507f9b09507e3e7c570e352a5f452c3
 -MD5 (zh-wangttf/wcl-03.ttf.bz2) = 8617f5f2ebe640473e58148e161907e2
 -MD5 (zh-wangttf/wcl-04.ttf.bz2) = 8905974311051cc07ddc5706a416448b
 -MD5 (zh-wangttf/wcl-05.ttf.bz2) = bd5f3364e8314a7644af2e0ec42c58b0
 -MD5 (zh-wangttf/wcl-06.ttf.bz2) = 29df64f06a44aaa4bb668ba670d51bf5
 -MD5 (zh-wangttf/wcl-07.ttf.bz2) = 4eaf11d221c9e7c913c92981cdf48895
 -MD5 (zh-wangttf/wcl-08.ttf.bz2) = 9dada703f211e8be2ac0a6548d917b4c
 -MD5 (zh-wangttf/wcl-09.ttf.bz2) = 34142c5006a044853974ef26bf435499
 -MD5 (zh-wangttf/wcl-10.ttf.bz2) = b8b6ac07d6ae3a9aeb4df3855a7a200b
 +MD5 (zh-wangttf/wp010-05.ttf) = 01fbc81ed9c6e36008987178a7c30986
 +SIZE (zh-wangttf/wp010-05.ttf) = 13355096
 +MD5 (zh-wangttf/wp010-08.ttf) = 205de7e2d986e4d6b2d2a09dd6acfda1
 +SIZE (zh-wangttf/wp010-08.ttf) = 13738112
 +MD5 (zh-wangttf/wp110-05.ttf) = 6e58c15f5b6985bfe26b2395cde4ddd5
 +SIZE (zh-wangttf/wp110-05.ttf) = 3471712
 +MD5 (zh-wangttf/wp110-08.ttf) = 4504ae1ed52a19cab453013e85b95e96
 +SIZE (zh-wangttf/wp110-08.ttf) = 3573788
 +MD5 (zh-wangttf/wp210-05.ttf) = 5baa79b70368a5a183d96774c6f46cfe
 +SIZE (zh-wangttf/wp210-05.ttf) = 951176
 +MD5 (zh-wangttf/wp210-08.ttf) = e3cf0fc8c8bf7428c5fc97ae8e3ef345
 +SIZE (zh-wangttf/wp210-08.ttf) = 973288
 +MD5 (zh-wangttf/wp310-05.ttf) = ff28296363d753bc70775a387a9cdbd9
 +SIZE (zh-wangttf/wp310-05.ttf) = 484160
 +MD5 (zh-wangttf/wp310-08.ttf) = c7219bb01db9d05fe260188a38fb3ec8
 +SIZE (zh-wangttf/wp310-08.ttf) = 490828
 +MD5 (zh-wangttf/wt001.ttf) = b4720f5780de9aeb849030f697f3b6d7
 +SIZE (zh-wangttf/wt001.ttf) = 9279296
 +MD5 (zh-wangttf/wt002.ttf) = f2f3d2d4caae6c8f466dd0f643ffd57e
 +SIZE (zh-wangttf/wt002.ttf) = 8941952
 +MD5 (zh-wangttf/wt003.ttf) = 7644749d33786de5e872e52487ba91fc
 +SIZE (zh-wangttf/wt003.ttf) = 9518652
 +MD5 (zh-wangttf/wt004.ttf) = c21ba6607079772416a6d80f5a5d80ae
 +SIZE (zh-wangttf/wt004.ttf) = 9354124
 +MD5 (zh-wangttf/wt005.ttf) = 55f218b03f295959e3ea53ef2567813f
 +SIZE (zh-wangttf/wt005.ttf) = 8878332
 +MD5 (zh-wangttf/wt006.ttf) = 7eea4d0eccbfb2ce07ea73de5d5e0f3a
 +SIZE (zh-wangttf/wt006.ttf) = 8644640
 +MD5 (zh-wangttf/wt009.ttf) = 7755ff413dfbe9925ea01d6602431198
 +SIZE (zh-wangttf/wt009.ttf) = 8300092
 +MD5 (zh-wangttf/wt011.ttf) = 8304f6c4b257d4341293b27efa68f952
 +SIZE (zh-wangttf/wt011.ttf) = 6580908
 +MD5 (zh-wangttf/wt014.ttf) = c9c90ee32f0610d69d6ea2e7f9d6022b
 +SIZE (zh-wangttf/wt014.ttf) = 6968748
 +MD5 (zh-wangttf/wt021.ttf) = 9be6d68c52e4f5b2c4a71d17858d690c
 +SIZE (zh-wangttf/wt021.ttf) = 8456040
 +MD5 (zh-wangttf/wt024.ttf) = e9e587e62dc59894d09596fde208cf0a
 +SIZE (zh-wangttf/wt024.ttf) = 9720048
 +MD5 (zh-wangttf/wt028.ttf) = e8cf8b1f32b6282fcb60b2d5d2453146
 +SIZE (zh-wangttf/wt028.ttf) = 4986568
 +MD5 (zh-wangttf/wt034.ttf) = 46b3b6060383d461babdc93305007618
 +SIZE (zh-wangttf/wt034.ttf) = 3922320
 +MD5 (zh-wangttf/wt040.ttf) = 4ac87291b0ed3c12720d74a44f114117
 +SIZE (zh-wangttf/wt040.ttf) = 6439332
 +MD5 (zh-wangttf/wt064.ttf) = df069bfe1626097b91c4b126910dcda5
 +SIZE (zh-wangttf/wt064.ttf) = 8573804
 +MD5 (zh-wangttf/wt071.ttf) = 16372c5c0f213b616a38c29440a55392
 +SIZE (zh-wangttf/wt071.ttf) = 9618472
 +MD5 (zh-wangttf/wtcc02.ttf) = 0942766efd8964f10026e44aa87ae65b
 +SIZE (zh-wangttf/wtcc02.ttf) = 8142968
 +MD5 (zh-wangttf/wtcc15.ttf) = 9d849b244ea6fbb94c4de0284ad00843
 +SIZE (zh-wangttf/wtcc15.ttf) = 3621492
 +MD5 (zh-wangttf/wtg-06cut1x.ttf) = 4f474606c2b815dd5c3719a288cd6599
 +SIZE (zh-wangttf/wtg-06cut1x.ttf) = 7306776
 +MD5 (zh-wangttf/wthc06.ttf) = e05c8637e4ba22c2d4bf8b9b9497e1b3
 +SIZE (zh-wangttf/wthc06.ttf) = 6278764
 +MD5 (zh-wangttf/wts11.ttf) = 61c81f15990f2a65486929fcfc7a3afd
 +SIZE (zh-wangttf/wts11.ttf) = 10573088
 +MD5 (zh-wangttf/wts43.ttf) = 3652cb384fa232c374c359656aeebe37
 +SIZE (zh-wangttf/wts43.ttf) = 10520732
 +MD5 (zh-wangttf/wts47.ttf) = f94644639fc0aa9dbc518b119efadd2a
 +SIZE (zh-wangttf/wts47.ttf) = 10744384
 +MD5 (zh-wangttf/wts55.ttf) = 9cf0462a3584b54ab239254a9d54103a
 +SIZE (zh-wangttf/wts55.ttf) = 9535468
 +MD5 (zh-wangttf/WCL-01.ttf) = 100e522189d23a7012782aa7245063b6
 +SIZE (zh-wangttf/WCL-01.ttf) = 23798432
 +MD5 (zh-wangttf/WCL-02.ttf) = 1f28fdc3ccf5978a209eea80c35ed49b
 +SIZE (zh-wangttf/WCL-02.ttf) = 6989408
 +MD5 (zh-wangttf/WCL-03.ttf) = 8bb8483ef934d0e1653188d8d5da30ae
 +SIZE (zh-wangttf/WCL-03.ttf) = 14606912
 +MD5 (zh-wangttf/WCL-04.ttf) = 03e8b631e2b4db851413c4b0150c3299
 +SIZE (zh-wangttf/WCL-04.ttf) = 22304340
 +MD5 (zh-wangttf/WCL-05.ttf) = 72e5b92edfd1ca4466f819852ffcb646
 +SIZE (zh-wangttf/WCL-05.ttf) = 21618724
 +MD5 (zh-wangttf/WCL-06.ttf) = b1cfbc177a5bee7ab195c0d37ef06bc5
 +SIZE (zh-wangttf/WCL-06.ttf) = 11044612
 +MD5 (zh-wangttf/WCL-07.ttf) = de31ef8de37919b351bf108121b1ad1e
 +SIZE (zh-wangttf/WCL-07.ttf) = 12714396
 +MD5 (zh-wangttf/WCL-08.ttf) = 7fbdfb6ba8e3d3371e3fa617d674410e
 +SIZE (zh-wangttf/WCL-08.ttf) = 10610264
 +MD5 (zh-wangttf/WCL-09.ttf) = 5f27e23f99953cd8b1ead4bf51134daa
 +SIZE (zh-wangttf/WCL-09.ttf) = 12253524
 +MD5 (zh-wangttf/WCL-10.ttf) = 65a68562f1637aa982a2f1f28dcc1994
 +SIZE (zh-wangttf/WCL-10.ttf) = 12008704
 diff -ruN wangttf.orig/files/wangttf.txt wangttf/files/wangttf.txt
 --- wangttf.orig/files/wangttf.txt	Sun Nov 19 12:26:02 2000
 +++ wangttf/files/wangttf.txt	Wed Sep  1 19:01:59 2004
 @@ -1,17 +1,101 @@
 -wcl-01.ttf 新潮體-波浪
 -wcl-02.ttf 特明體-標準
 -wcl-03.ttf 波卡體-空陰
 -wcl-04.ttf 綜藝體-雙空陰
 -wcl-05.ttf 標楷體-空心
 -wcl-06.ttf 仿宋體-標準
 -wcl-07.ttf 粗剛體-標準
 -wcl-08.ttf 粗黑體-實陰
 -wcl-09.ttf 粗圓體-雙空
 -wcl-10.ttf 海報體-半天水
 +  第一次修改: Seventeen <seventeen@cle.linux.org.tw> 20040305.
 +  Version 040305。
 +  加入 GNU GPL 使用許可證內容。
  
 -Version: 王漢宗字集(Linux版), 欲購買完整字集者, 請洽電話 (03)463-0383
 +  第二次修改: Edward G.J. Lee <edt1023@cle.linux.org.tw> 20040326.
 +  Version 040326。修改紀錄請參考 Changes.txt。
  
 -版權隸屬數學博士王漢宗先生, 本字型資料必須遵守 General Public License(GPL)
 -的規定方可使用
 +  第三次修改: Edward G.J. Lee <edt1023@cle.linux.org.tw> 20040724.
 +  Version 1.3。修改紀錄請參考 Changes.txt。
 +
 +
 +  wt0*.ttf  繁體 Unicode 字型,僅含 Big-5 字集。
 +  wp*.ttf   繁體注音 Unicode 字型,僅含 Big-5 字集。
 +  wtcc*.ttf 繁體海報體 Unicode 字型,僅含 Big-5 字集。
 +  wthc*.ttf 繁體鋼筆行楷 Unicode 字型,僅含 Big-5 字集。
 +  wtg-*.ttf 繁體俏皮 Unicode 字型,僅含 Big-5 字集。
 +  wts*.ttf  繁簡體 Unicode 字型,含繁簡 Big-5/GB2312 字集。
 +            可用於 Big-5 繁體,會立即轉換成簡體來表現。
 +
 +  WCL 目錄為王漢宗博士以前捐贈的十套 WCL 系列 TTF 字型。修改自
 +  螢火飛(firefly)所修改過的版本。目前標記之版本號為 Version 1.3。
 +  全部的王博士的自由字型改採統一的版本號。
 +
 +  http://firefly.idv.tw/setfont-xft/freefonts/zh-tw/
 +
 +
 +  FOP font metrics,這是供 FOP 使用的字型描述檔:
 +
 +  FOP-wangnew.tar.gz
 +  WCL/FOP-wcl.tar.gz
 +
 +
 +  Type1 目錄為供 LaTeX-CJK/dvips/pdflatex/dvipdfm 使用的中文 Type1
 +  字型,由王漢宗博士 TTF 字型,經 ttf2pt1 轉換而成。CJK/FOP 字型名
 +  稱對照表如下:
 +
 +  TTF 字型檔名   中文字體      PostScript 名            CJK/FOP 字型名
 +
 +  wt001.ttf      細明          HanWangMingLight           hwml
 +  wt002.ttf      中明          HanWangMingMedium          hwmm
 +  wt003.ttf      粗明          HanWangMingBold            hwmb
 +  wt004.ttf      特明          HanWangMingHeavy           hwmh
 +  wt005.ttf      超明          HanWangMingBlack           hwmbk
 +  wt006.ttf      細圓          HanWangYenLight            hwyl
 +  wt009.ttf      特圓          HanWangYenHeavy            hwyh
 +  wt011.ttf      細黑          HanWangHeiLight            hwhl
 +  wt014.ttf      特黑          HanWangHeiHeavy            hwhh
 +  wt021.ttf      中隸書        HanWangLiSuMedium          hwlsm
 +  wt024.ttf      中仿宋        HanWangFangSongMedium      hwfsm
 +  wt028.ttf      疊圓          HanWangKanDaYan            hwkdy
 +  wt034.ttf      勘流亭        HanWangKanTan              hwkt
 +  wt040.ttf      綜藝體        HanWangZonYi               hwzy
 +  wt064.ttf      顏體          HanWangYanKai              hwyk
 +  wt071.ttf      中行書        HanWangShinSuMedium        hwssm
 +  wtcc02.ttf     酷儷海報      HanWangCC02                hwcc02
 +  wtcc15.ttf     正海報        HanWangCC15                hwcc15
 +  wthc06.ttf     鋼筆行楷      HanWangGB06                hwhc
 +  wtg-06cut1.ttf 超黑俏皮動物  HanWangGSolid06cut1        hwgsc1
 +  wp010-05.ttf   中明注音體    HanWangMingMediumChuIn     hwmmci
 +  wp110-05.ttf   中明破音字1   HanWangMingMediumChuIn1    hwmmci1
 +  wp210-05.ttf   中明破音字2   HanWangMingMediumChuIn2    hwmmci2
 +  wp310-05.ttf   中明破音字3   HanWangMingMediumChuIn3    hwmmci3
 +  wp010-08.ttf   中楷注音體    HanWangKaiMediumChuIn      hwkmci
 +  wp110-08.ttf   中楷破音字1   HanWangKaiMediumChuIn1     hwkmci1
 +  wp210-08.ttf   中楷破音字2   HanWangKaiMediumChuIn2     hwkmci2
 +  wp310-08.ttf   中楷破音字3   HanWangKaiMediumChuIn3     hwkmci3
 +  wts11.ttf      粗楷體簡體    HanWang KaiBold-Gb5        wts11
 +  wts43.ttf      中魏碑簡體    HanWang WeiBeiMedium-Gb5   wts43
 +  wts47.ttf      中仿宋簡體    HanWang FangSongMedium-Gb5 wts47
 +  wts55.ttf      細新宋簡體    HanWang SinSongThin-Gb5    wts55
 +
 +  WCL-01.ttf     波浪體        HanWangWCL01               wcl01
 +  WCL-02.ttf     特明體        HanWangWCL02               wcl02
 +  WCL-03.ttf     波卡體空陰    HanWangWCL03               wcl03
 +  WCL-04.ttf     綜藝體雙空陰  HanWangWCL04               wcl04
 +  WCL-05.ttf     標楷體空心    HanWangWCL05               wcl05
 +  WCL-06.ttf     仿宋體        HanWangWCL06               wcl06
 +  WCL-07.ttf     粗鋼體        HanWangWCL07               wcl07
 +  WCL-08.ttf     粗黑體實陰    HanWangWCL08               wcl08
 +  WCL-09.ttf     粗圓體雙空    HanWangWCL09               wcl09
 +  WCL-10.ttf     海報體半天水  HanWangWCL10               wcl10
 +
 +
 +  所有的字型 sample 可參考 sample-*.pdf:
 +
 +  sample-ooo.pdf   OO.o 的範例
 +  sample-fop.pdf   FOP 的範例
 +  sample-ltx.pdf   LaTeX 的範例
 +  sample-1.png     PNG 圖檔第一頁
 +  sample-2.png     PNG 圖檔第二頁
 +
 +
 +
 +
 +CLE Project 字型維護:
 +
 +Seventeen <seventeen@cle.linux.org.tw>
 +Edward G.J. Lee <edt1023@cle.linux.org.tw>
 +
 +ftp://cle.linux.org.tw/pub2/fonts/wangfonts
  
 -(C)Copyright Dr. Hann-Tzong Wang, 1999
 diff -ruN wangttf.orig/pkg-deinstall wangttf/pkg-deinstall
 --- wangttf.orig/pkg-deinstall	Sun Sep 28 21:39:24 2003
 +++ wangttf/pkg-deinstall	Thu Jan  1 08:00:00 1970
 @@ -1,26 +0,0 @@
 -#!/bin/sh
 -
 -if [ "$2" != "DEINSTALL" ]; then
 -  exit 0
 -fi
 -
 -PKGNAME=$1
 -PREFIX=${PKG_PREFIX}
 -TTFM=${PKG_PREFIX}/bin/ttfm.sh
 -
 -# No default kai & ming for wangttf.
 -FONTDIR=${PREFIX}/share/fonts/TrueType
 -FONTS="wcl-01.ttf wcl-02.ttf wcl-03.ttf wcl-04.ttf wcl-05.ttf \
 -       wcl-06.ttf wcl-07.ttf wcl-08.ttf wcl-09.ttf wcl-10.ttf"
 -
 -if [ -r $FONTDIR/$PKGNAME ]; then
 -    for i in `cat $FONTDIR/$PKGNAME`; do
 -        for f in $FONTS; do
 -            $TTFM --remove $i $f
 -        done
 -    done
 -fi
 -
 -rm -f $FONTDIR/$PKGNAME
 -
 -exit 0
 diff -ruN wangttf.orig/pkg-descr wangttf/pkg-descr
 --- wangttf.orig/pkg-descr	Sun Nov 19 12:25:55 2000
 +++ wangttf/pkg-descr	Wed Sep  1 19:06:55 2004
 @@ -1,3 +1,3 @@
 -This port installs ten Chinese Big5 TrueType fonts, made by
 +This port installs many Chinese Big5 TrueType fonts, made by
  Dr. Hann-Tzong Wang.  They are distributed under GPL.  For
 -more information, please see wangttf.txt for details.
 +more information, please see wangttf2.txt for details.
 diff -ruN wangttf.orig/pkg-install wangttf/pkg-install
 --- wangttf.orig/pkg-install	Sun Sep 28 21:39:24 2003
 +++ wangttf/pkg-install	Thu Jan  1 08:00:00 1970
 @@ -1,41 +0,0 @@
 -#!/bin/sh
 -
 -if [ "$2" = "PRE-INSTALL" ]; then
 -  exit 0
 -fi
 -
 -PKGNAME=$1
 -PREFIX=${PKG_PREFIX}
 -TTFM=${PREFIX}/bin/ttfm.sh
 -
 -# No default kai & ming for wangttf.
 -FONTDIR=${PREFIX}/share/fonts/TrueType
 -FONTS="wcl-01.ttf wcl-02.ttf wcl-03.ttf wcl-04.ttf wcl-05.ttf \
 -       wcl-06.ttf wcl-07.ttf wcl-08.ttf wcl-09.ttf wcl-10.ttf"
 -
 -if [ ! -x $TTFM ]; then
 -    echo "$TTFM not found!"
 -    exit 1
 -fi
 -
 -rm -f $FONTDIR/$PKGNAME
 -
 -if [ "X$WANT_CJK" != "X" ]; then
 -    # There's no CJK module now.
 -fi
 -
 -if [ "X$WANT_GS" != "X" ]; then
 -    for f in $FONTS; do
 -        $TTFM --add gscjk $FONTDIR/$f
 -    done
 -    echo "gscjk" >> $FONTDIR/$PKGNAME
 -fi
 -
 -if [ "X$WITHOUT_X" = "X" ]; then
 -    for f in $FONTS; do
 -        $TTFM --add xttfm $FONTDIR/$f
 -    done
 -    echo "xttfm" >> $FONTDIR/$PKGNAME
 -fi
 -
 -exit 0
 diff -ruN wangttf.orig/pkg-plist wangttf/pkg-plist
 --- wangttf.orig/pkg-plist	Sat Dec  9 00:23:16 2000
 +++ wangttf/pkg-plist	Fri Sep  3 14:56:34 2004
 @@ -1,13 +1,131 @@
 -share/fonts/TrueType/wangttf.txt
 -share/fonts/TrueType/wcl-01.ttf
 -share/fonts/TrueType/wcl-02.ttf
 -share/fonts/TrueType/wcl-03.ttf
 -share/fonts/TrueType/wcl-04.ttf
 -share/fonts/TrueType/wcl-05.ttf
 -share/fonts/TrueType/wcl-06.ttf
 -share/fonts/TrueType/wcl-07.ttf
 -share/fonts/TrueType/wcl-08.ttf
 -share/fonts/TrueType/wcl-09.ttf
 -share/fonts/TrueType/wcl-10.ttf
 +share/fonts/TrueType/wangttf2.txt
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-01.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-02.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-03.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-04.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-05.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-06.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-07.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-08.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-09.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-10.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp010-05.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp010-08.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp110-05.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp110-08.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp210-05.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp210-08.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp310-05.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp310-08.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt001.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt002.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt003.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt004.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt005.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt006.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt009.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt011.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt014.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt021.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt024.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt028.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt034.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt040.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt064.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt071.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wtcc02.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wtcc15.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wtg-06cut1x.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wthc06.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wts11.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wts43.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wts47.ttf || true
 +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wts55.ttf || true
 +share/fonts/TrueType/WCL-01.ttf
 +share/fonts/TrueType/WCL-02.ttf
 +share/fonts/TrueType/WCL-03.ttf
 +share/fonts/TrueType/WCL-04.ttf
 +share/fonts/TrueType/WCL-05.ttf
 +share/fonts/TrueType/WCL-06.ttf
 +share/fonts/TrueType/WCL-07.ttf
 +share/fonts/TrueType/WCL-08.ttf
 +share/fonts/TrueType/WCL-09.ttf
 +share/fonts/TrueType/WCL-10.ttf
 +share/fonts/TrueType/wp010-05.ttf
 +share/fonts/TrueType/wp010-08.ttf
 +share/fonts/TrueType/wp110-05.ttf
 +share/fonts/TrueType/wp110-08.ttf
 +share/fonts/TrueType/wp210-05.ttf
 +share/fonts/TrueType/wp210-08.ttf
 +share/fonts/TrueType/wp310-05.ttf
 +share/fonts/TrueType/wp310-08.ttf
 +share/fonts/TrueType/wt001.ttf
 +share/fonts/TrueType/wt002.ttf
 +share/fonts/TrueType/wt003.ttf
 +share/fonts/TrueType/wt004.ttf
 +share/fonts/TrueType/wt005.ttf
 +share/fonts/TrueType/wt006.ttf
 +share/fonts/TrueType/wt009.ttf
 +share/fonts/TrueType/wt011.ttf
 +share/fonts/TrueType/wt014.ttf
 +share/fonts/TrueType/wt021.ttf
 +share/fonts/TrueType/wt024.ttf
 +share/fonts/TrueType/wt028.ttf
 +share/fonts/TrueType/wt034.ttf
 +share/fonts/TrueType/wt040.ttf
 +share/fonts/TrueType/wt064.ttf
 +share/fonts/TrueType/wt071.ttf
 +share/fonts/TrueType/wtcc02.ttf
 +share/fonts/TrueType/wtcc15.ttf
 +share/fonts/TrueType/wtg-06cut1x.ttf
 +share/fonts/TrueType/wthc06.ttf
 +share/fonts/TrueType/wts11.ttf
 +share/fonts/TrueType/wts43.ttf
 +share/fonts/TrueType/wts47.ttf
 +share/fonts/TrueType/wts55.ttf
 +@exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-01.ttf || true
 +@exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-02.ttf || true
 +@exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-03.ttf || true
 +@exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-04.ttf || true
 +@exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-05.ttf || true
 +@exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-06.ttf || true
 +@exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-07.ttf || true
 +@exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-08.ttf || true
 +@exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-09.ttf || true
 +@exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-10.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp010-05.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp010-08.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp110-05.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp110-08.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp210-05.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp210-08.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp310-05.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp310-08.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt001.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt002.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt003.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt004.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt005.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt006.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt009.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt011.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt014.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt021.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt024.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt028.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt034.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt040.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt064.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt071.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wtcc02.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wtcc15.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wtg-06cut1x.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wthc06.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wts11.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wts43.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wts47.ttf || true
 +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wts55.ttf || true
 +@exec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true
 +@unexec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true
  @unexec rmdir %D/share/fonts/TrueType 2>/dev/null || true
  @unexec rmdir %D/share/fonts 2>/dev/null || true



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