ports/71238: New port: chinese/wangttf2
statue
statue at freebsd.netlab.cse.yzu.edu.tw
Fri Sep 3 07:30:17 UTC 2004
The following reply was made to PR ports/71238; it has been noted by GNATS.
From: statue <statue at freebsd.netlab.cse.yzu.edu.tw>
To: freebsd-gnats-submit at 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 at FreeBSD.org>
+# Date created: 1 Sep 2004
+# Whom: Shen Chuan-Hsing <statue at 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 at 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 ·s¼éÅé-ªi®ö
-wcl-02.ttf ¯S©úÅé-¼Ð·Ç
-wcl-03.ttf ªi¥dÅé-ªÅ³±
-wcl-04.ttf ºîÃÀÅé-ÂùªÅ³±
-wcl-05.ttf ¼Ð·¢Åé-ªÅ¤ß
-wcl-06.ttf ¥é§ºÅé-¼Ð·Ç
-wcl-07.ttf ²ÊèÅé-¼Ð·Ç
-wcl-08.ttf ²Ê¶ÂÅé-¹ê³±
-wcl-09.ttf ²Ê¶êÅé-ÂùªÅ
-wcl-10.ttf ®ü³øÅé-¥b¤Ñ¤ô
+ ²Ä¤@¦¸×§ï¡G Seventeen <seventeen at cle.linux.org.tw> 20040305.
+ Version 040305¡C
+ ¥[¤J GNU GPL ¨Ï¥Î³\¥iÃÒ¤º®e¡C
-Version: ¤ýº~©v¦r¶°(Linuxª©), ±ýÁʶR§¹¾ã¦r¶°ªÌ, ½Ð¬¢¹q¸Ü (03)463-0383
+ ²Ä¤G¦¸×§ï¡G Edward G.J. Lee <edt1023 at cle.linux.org.tw> 20040326.
+ Version 040326¡C×§ï¬ö¿ý½Ð°Ñ¦Ò Changes.txt¡C
-ª©ÅvÁõÄݼƾdzդh¤ýº~©v¥ý¥Í, ¥»¦r«¬¸ê®Æ¥²¶·¿í¦u General Public License(GPL)
-ªº³W©w¤è¥i¨Ï¥Î
+ ²Ä¤T¦¸×§ï¡G Edward G.J. Lee <edt1023 at cle.linux.org.tw> 20040724.
+ Version 1.3¡C×§ï¬ö¿ý½Ð°Ñ¦Ò Changes.txt¡C
+
+
+ wt0*.ttf ÁcÅé Unicode ¦r«¬¡A¶È§t Big-5 ¦r¶°¡C
+ wp*.ttf ÁcÅéª`µ Unicode ¦r«¬¡A¶È§t Big-5 ¦r¶°¡C
+ wtcc*.ttf ÁcÅé®ü³øÅé Unicode ¦r«¬¡A¶È§t Big-5 ¦r¶°¡C
+ wthc*.ttf ÁcÅé¿ûµ§¦æ·¢ Unicode ¦r«¬¡A¶È§t Big-5 ¦r¶°¡C
+ wtg-*.ttf ÁcÅé«N¥Ö Unicode ¦r«¬¡A¶È§t Big-5 ¦r¶°¡C
+ wts*.ttf Ác²Åé Unicode ¦r«¬¡A§tÁc² Big-5/GB2312 ¦r¶°¡C
+ ¥i¥Î©ó Big-5 ÁcÅé¡A·|¥ß§YÂà´«¦¨Â²Åé¨Óªí²{¡C
+
+ WCL ¥Ø¿ý¬°¤ýº~©v³Õ¤h¥H«e®½Ãتº¤Q®M WCL ¨t¦C TTF ¦r«¬¡C×§ï¦Û
+ ¿Ã¤õ¸¡]firefly¡^©Ò×§ï¹Lªºª©¥»¡C¥Ø«e¼Ð°O¤§ª©¥»¸¹¬° Version 1.3¡C
+ ¥þ³¡ªº¤ý³Õ¤hªº¦Û¥Ñ¦r«¬§ï±Ä²Î¤@ªºª©¥»¸¹¡C
+
+ http://firefly.idv.tw/setfont-xft/freefonts/zh-tw/
+
+
+ FOP font metrics¡A³o¬O¨Ñ FOP ¨Ï¥Îªº¦r«¬´yzÀÉ:
+
+ FOP-wangnew.tar.gz
+ WCL/FOP-wcl.tar.gz
+
+
+ Type1 ¥Ø¿ý¬°¨Ñ LaTeX-CJK/dvips/pdflatex/dvipdfm ¨Ï¥Îªº¤¤¤å Type1
+ ¦r«¬¡A¥Ñ¤ýº~©v³Õ¤h TTF ¦r«¬¡A¸g ttf2pt1 Âà´«¦Ó¦¨¡CCJK/FOP ¦r«¬¦W
+ ºÙ¹ï·Óªí¦p¤U¡G
+
+ TTF ¦r«¬ÀɦW ¤¤¤å¦rÅé PostScript ¦W CJK/FOP ¦r«¬¦W
+
+ wt001.ttf ²Ó©ú HanWangMingLight hwml
+ wt002.ttf ¤¤©ú HanWangMingMedium hwmm
+ wt003.ttf ²Ê©ú HanWangMingBold hwmb
+ wt004.ttf ¯S©ú HanWangMingHeavy hwmh
+ wt005.ttf ¶W©ú HanWangMingBlack hwmbk
+ wt006.ttf ²Ó¶ê HanWangYenLight hwyl
+ wt009.ttf ¯S¶ê HanWangYenHeavy hwyh
+ wt011.ttf ²Ó¶Â HanWangHeiLight hwhl
+ wt014.ttf ¯S¶Â HanWangHeiHeavy hwhh
+ wt021.ttf ¤¤Áõ®Ñ HanWangLiSuMedium hwlsm
+ wt024.ttf ¤¤¥é§º HanWangFangSongMedium hwfsm
+ wt028.ttf Å|¶ê HanWangKanDaYan hwkdy
+ wt034.ttf °É¬y«F HanWangKanTan hwkt
+ wt040.ttf ºîÃÀÅé HanWangZonYi hwzy
+ wt064.ttf ÃCÅé HanWangYanKai hwyk
+ wt071.ttf ¤¤¦æ®Ñ HanWangShinSuMedium hwssm
+ wtcc02.ttf »ÅÄ×®ü³ø HanWangCC02 hwcc02
+ wtcc15.ttf ¥¿®ü³ø HanWangCC15 hwcc15
+ wthc06.ttf ¿ûµ§¦æ·¢ HanWangGB06 hwhc
+ wtg-06cut1.ttf ¶W¶Â«N¥Ö°Êª« HanWangGSolid06cut1 hwgsc1
+ wp010-05.ttf ¤¤©úª`µÅé HanWangMingMediumChuIn hwmmci
+ wp110-05.ttf ¤¤©ú¯}µ¦r1 HanWangMingMediumChuIn1 hwmmci1
+ wp210-05.ttf ¤¤©ú¯}µ¦r2 HanWangMingMediumChuIn2 hwmmci2
+ wp310-05.ttf ¤¤©ú¯}µ¦r3 HanWangMingMediumChuIn3 hwmmci3
+ wp010-08.ttf ¤¤·¢ª`µÅé HanWangKaiMediumChuIn hwkmci
+ wp110-08.ttf ¤¤·¢¯}µ¦r1 HanWangKaiMediumChuIn1 hwkmci1
+ wp210-08.ttf ¤¤·¢¯}µ¦r2 HanWangKaiMediumChuIn2 hwkmci2
+ wp310-08.ttf ¤¤·¢¯}µ¦r3 HanWangKaiMediumChuIn3 hwkmci3
+ wts11.ttf ²Ê·¢Åé²Åé HanWang KaiBold-Gb5 wts11
+ wts43.ttf ¤¤ÃQ¸O²Åé HanWang WeiBeiMedium-Gb5 wts43
+ wts47.ttf ¤¤¥é§ºÂ²Åé HanWang FangSongMedium-Gb5 wts47
+ wts55.ttf ²Ó·s§ºÂ²Åé HanWang SinSongThin-Gb5 wts55
+
+ WCL-01.ttf ªi®öÅé HanWangWCL01 wcl01
+ WCL-02.ttf ¯S©úÅé HanWangWCL02 wcl02
+ WCL-03.ttf ªi¥dÅéªÅ³± 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 ®ü³øÅé¥b¤Ñ¤ô HanWangWCL10 wcl10
+
+
+ ©Ò¦³ªº¦r«¬ sample ¥i°Ñ¦Ò sample-*.pdf¡G
+
+ sample-ooo.pdf OO.o ªº½d¨Ò
+ sample-fop.pdf FOP ªº½d¨Ò
+ sample-ltx.pdf LaTeX ªº½d¨Ò
+ sample-1.png PNG ¹ÏÀɲĤ@¶
+ sample-2.png PNG ¹ÏÀɲĤG¶
+
+
+
+
+CLE Project ¦r«¬ºûÅ@¡G
+
+Seventeen <seventeen at cle.linux.org.tw>
+Edward G.J. Lee <edt1023 at 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
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-01.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-02.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-03.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-04.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-05.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-06.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-07.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-08.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-09.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-10.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp010-05.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp010-08.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp110-05.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp110-08.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp210-05.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp210-08.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp310-05.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wp310-08.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt001.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt002.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt003.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt004.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt005.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt006.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt009.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt011.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt014.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt021.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt024.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt028.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt034.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt040.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt064.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wt071.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wtcc02.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wtcc15.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wtg-06cut1x.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wthc06.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wts11.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wts43.ttf || true
+ at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/wts47.ttf || true
+ at 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
+ at exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-01.ttf || true
+ at exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-02.ttf || true
+ at exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-03.ttf || true
+ at exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-04.ttf || true
+ at exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-05.ttf || true
+ at exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-06.ttf || true
+ at exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-07.ttf || true
+ at exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-08.ttf || true
+ at exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-09.ttf || true
+ at exec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/WCL-10.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp010-05.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp010-08.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp110-05.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp110-08.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp210-05.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp210-08.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp310-05.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wp310-08.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt001.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt002.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt003.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt004.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt005.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt006.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt009.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt011.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt014.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt021.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt024.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt028.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt034.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt040.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt064.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wt071.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wtcc02.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wtcc15.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wtg-06cut1x.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wthc06.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wts11.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wts43.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wts47.ttf || true
+ at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/wts55.ttf || true
+ at exec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true
+ at 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
More information about the freebsd-ports-bugs
mailing list