diff options
author | leeym <leeym@FreeBSD.org> | 2003-04-15 01:58:54 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-04-15 01:58:54 +0800 |
commit | 24eb9a31d7bd01c2ba36605ac662ac898c3273ac (patch) | |
tree | 073cfaebe28bcee2a246bdbffaa395a837ac7eac | |
parent | 10919de6939a5f103afc7a213f642124909298c1 (diff) | |
download | freebsd-ports-gnome-24eb9a31d7bd01c2ba36605ac662ac898c3273ac.tar.gz freebsd-ports-gnome-24eb9a31d7bd01c2ba36605ac662ac898c3273ac.tar.zst freebsd-ports-gnome-24eb9a31d7bd01c2ba36605ac662ac898c3273ac.zip |
o fix MASTER_SITES
o add new file: moe_kai_pc.ttf
http://www.edu.tw/mandr/bbs/1-4-2/kai.htm
PR: 50091
Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Approved by: maintainer timeout
-rw-r--r-- | chinese/moettf/Makefile | 10 | ||||
-rw-r--r-- | chinese/moettf/distinfo | 1 | ||||
-rw-r--r-- | chinese/moettf/pkg-deinstall | 2 | ||||
-rw-r--r-- | chinese/moettf/pkg-install | 4 | ||||
-rw-r--r-- | chinese/moettf/pkg-plist | 1 |
5 files changed, 12 insertions, 6 deletions
diff --git a/chinese/moettf/Makefile b/chinese/moettf/Makefile index bdfeb0b9533c..a48aac5b4dbc 100644 --- a/chinese/moettf/Makefile +++ b/chinese/moettf/Makefile @@ -7,12 +7,15 @@ PORTNAME= moettf PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= chinese x11-fonts -MASTER_SITES= ftp://www.edu.tw/download/mandr/biauword/5879/ \ - ftp://www.edu.tw/download/mandr/allbook/lishu/ \ +MASTER_SITES= http://www.edu.tw/download/mandr/biauword/5879/ \ + http://www.edu.tw/download/mandr/allbook/lishu/ \ + http://www.edu.tw/download/mandr/biauword/kai/ \ ftp://freebsd.sinica.edu.tw/pub/keith/moettf/ \ ftp://ftp.cc.ntut.edu.tw/OS/Linux/packages/chinese/fonts/twmoefont/ttf/ -DISTFILES= moe_kai.ttf moe_sung.ttf edustds1.exe edustds2.exe edustd-15.exe +DISTFILES= moe_kai.ttf moe_sung.ttf edustds1.exe edustds2.exe \ + edustd-15.exe kai-pc.ttf MAINTAINER= keith@FreeBSD.org COMMENT= Three Chinese BIG5 TrueType fonts: Kai LiShu Sung SungExt @@ -83,6 +86,7 @@ do-install: .endif @${INSTALL_DATA} ${WRKDIR}/moe_lishu.ttf ${FONTDIR} @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/moe_kai.ttf ${FONTDIR} + @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/kai-pc.ttf ${FONTDIR}/moe_kai_pc.ttf @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/moe_sung.ttf ${FONTDIR} @${INSTALL_DATA} ${WRKDIR}/moe_sungext.ttf ${FONTDIR} @${INSTALL_DATA} ${WRKDIR}/moe_sungsym.ttf ${FONTDIR} diff --git a/chinese/moettf/distinfo b/chinese/moettf/distinfo index d04fb1eb4847..7d63e00f3b24 100644 --- a/chinese/moettf/distinfo +++ b/chinese/moettf/distinfo @@ -3,3 +3,4 @@ MD5 (zh-moettf/moe_sung.ttf) = 6bf81e29d64db09d94bb1f03c041d9b2 MD5 (zh-moettf/edustds1.exe) = 58d635e26ea8dc2a5103a03ab8f8d7b2 MD5 (zh-moettf/edustds2.exe) = 883ad85335d6eee2d4ec8a6c9b0a08d8 MD5 (zh-moettf/edustd-15.exe) = 89ccf18a6dabe874026922965910ee3d +MD5 (zh-moettf/kai-pc.ttf) = 5bcc430b7dda6a16a52dd6c8faa9ae64 diff --git a/chinese/moettf/pkg-deinstall b/chinese/moettf/pkg-deinstall index 64fb4b8d3146..055b67745316 100644 --- a/chinese/moettf/pkg-deinstall +++ b/chinese/moettf/pkg-deinstall @@ -9,7 +9,7 @@ PREFIX=${PKG_PREFIX} TTFM=${PKG_PREFIX}/bin/ttfm.sh FONTDIR=${PREFIX}/share/fonts/TrueType -FONTS="moe_lishu.ttf moe_kai.ttf moe_sung.ttf moe_sungext.ttf moe_sungsym.ttf" +FONTS="moe_lishu.ttf moe_kai.ttf moe_sung.ttf moe_sungext.ttf moe_sungsym.ttf moe_kai_pc.ttf" if [ -r $FONTDIR/$PKGNAME ]; then for i in `cat $FONTDIR/$PKGNAME`; do diff --git a/chinese/moettf/pkg-install b/chinese/moettf/pkg-install index 179dcbb24c45..cc556eaeddf1 100644 --- a/chinese/moettf/pkg-install +++ b/chinese/moettf/pkg-install @@ -9,14 +9,14 @@ PREFIX=${PKG_PREFIX} TTFM=${PREFIX}/bin/ttfm.sh FONTDIR=${PREFIX}/share/fonts/TrueType -FONTS="moe_lishu.ttf moe_kai.ttf moe_sung.ttf moe_sungext.ttf moe_sungsym.ttf" +FONTS="moe_lishu.ttf moe_kai.ttf moe_sung.ttf moe_sungext.ttf moe_sungsym.ttf moe_kai_pc.ttf" if [ "X$DEFAULT" != "X" ]; then DEFAULTMING="moe_sung.ttf" DEFAULTKAI="moe_kai.ttf" fi TEMPFILE=`mktemp -q /tmp/moettf.XXXX` -XFONTDIR=/usr/X11R6/lib/X11/fonts/TrueType +XFONTDIR=${X11BASE}/lib/X11/fonts/TrueType if [ ! -x $TTFM ]; then echo "$TTFM not found!" diff --git a/chinese/moettf/pkg-plist b/chinese/moettf/pkg-plist index f4e4f166ee6e..b1e9f70144c2 100644 --- a/chinese/moettf/pkg-plist +++ b/chinese/moettf/pkg-plist @@ -1,4 +1,5 @@ share/fonts/TrueType/moe_kai.ttf +share/fonts/TrueType/moe_kai_pc.ttf share/fonts/TrueType/moe_lishu.ttf share/fonts/TrueType/moe_sung.ttf share/fonts/TrueType/moe_sungext.ttf |