diff options
Diffstat (limited to 'chinese/wangttf')
-rw-r--r-- | chinese/wangttf/Makefile | 2 | ||||
-rw-r--r-- | chinese/wangttf/pkg-deinstall | 2 | ||||
-rw-r--r-- | chinese/wangttf/pkg-install | 12 |
3 files changed, 2 insertions, 14 deletions
diff --git a/chinese/wangttf/Makefile b/chinese/wangttf/Makefile index 4a7acf5e0fb0..eb0d7c148984 100644 --- a/chinese/wangttf/Makefile +++ b/chinese/wangttf/Makefile @@ -7,7 +7,7 @@ PORTNAME= wangttf PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 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 \ diff --git a/chinese/wangttf/pkg-deinstall b/chinese/wangttf/pkg-deinstall index 41d36045d4d3..84f316d04652 100644 --- a/chinese/wangttf/pkg-deinstall +++ b/chinese/wangttf/pkg-deinstall @@ -15,7 +15,7 @@ FONTS="wcl-01.ttf wcl-02.ttf wcl-03.ttf wcl-04.ttf wcl-05.ttf \ if [ -r $FONTDIR/$PKGNAME ]; then for i in `cat $FONTDIR/$PKGNAME`; do - for f in $FONTS $DEFAULTMING $DEFAULTKAI; do + for f in $FONTS; do $TTFM --remove $i $f done done diff --git a/chinese/wangttf/pkg-install b/chinese/wangttf/pkg-install index a581fd1b4b2b..a3c68a54d8ae 100644 --- a/chinese/wangttf/pkg-install +++ b/chinese/wangttf/pkg-install @@ -28,12 +28,6 @@ if [ "X$WANT_GS" != "X" ]; then for f in $FONTS; do $TTFM --add gscjk $FONTDIR/$f done - for f in $DEFAULTMING; do - $TTFM --setdefault gscjk $FONTDIR/$f - done - for f in $DEFAULTKAI; do - $TTFM --setdefault_kai gscjk $FONTDIR/$f - done echo "gscjk" >> $FONTDIR/$PKGNAME fi @@ -41,12 +35,6 @@ if [ "X$WITHOUT_X" = "X" ]; then for f in $FONTS; do $TTFM --add xttfm $FONTDIR/$f done - for f in $DEFAULTMING; do - $TTFM --setdefault xttfm $FONTDIR/$f - done - for f in $DEFAULTKAI; do - $TTFM --setdefault_kai xttfm $FONTDIR/$f - done echo "xttfm" >> $FONTDIR/$PKGNAME fi |