summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
Diffstat (limited to 'chinese')
-rw-r--r--chinese/arphicttf/Makefile2
-rw-r--r--chinese/arphicttf/pkg-deinstall4
-rw-r--r--chinese/arphicttf/pkg-install14
3 files changed, 2 insertions, 18 deletions
diff --git a/chinese/arphicttf/Makefile b/chinese/arphicttf/Makefile
index 51ca042..ae7ecb0 100644
--- a/chinese/arphicttf/Makefile
+++ b/chinese/arphicttf/Makefile
@@ -12,7 +12,7 @@ CATEGORIES= chinese x11-fonts
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
-MAINTAINER= keith@FreeBSD.org
+MAINTAINER= statue@freebsd.sinica.edu.tw
COMMENT= Four Chinese Big5/GB TrueType fonts made by Arphic Technology
RUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm
diff --git a/chinese/arphicttf/pkg-deinstall b/chinese/arphicttf/pkg-deinstall
index c29500f..b98eafc 100644
--- a/chinese/arphicttf/pkg-deinstall
+++ b/chinese/arphicttf/pkg-deinstall
@@ -10,12 +10,10 @@ TTFM=${PKG_PREFIX}/bin/ttfm.sh
FONTDIR=${PREFIX}/share/fonts/TrueType
FONTS="bkai00mp.ttf bsmi00lp.ttf gbsn00lp.ttf gkai00mp.ttf"
-DEFAULTMING="default_ming-big5-0.ttf default_ming-gb2312.1980-0.ttf"
-DEFAULTKAI="default_kai-big5-0.ttf default_kai-gb2312.1980-0.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/arphicttf/pkg-install b/chinese/arphicttf/pkg-install
index 8f4c161..1707030 100644
--- a/chinese/arphicttf/pkg-install
+++ b/chinese/arphicttf/pkg-install
@@ -10,8 +10,6 @@ TTFM=${PREFIX}/bin/ttfm.sh
FONTDIR=${PREFIX}/share/fonts/TrueType
FONTS="bkai00mp.ttf bsmi00lp.ttf gbsn00lp.ttf gkai00mp.ttf"
-DEFAULTMING="bsmi00lp.ttf gbsn00lp.ttf"
-DEFAULTKAI="bkai00mp.ttf gkai00mp.ttf"
if [ ! -x $TTFM ]; then
echo "$TTFM not found!"
@@ -24,12 +22,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
@@ -37,12 +29,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
OpenPOWER on IntegriCloud