summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-11-29 17:37:57 +0000
committerwiz <wiz@pkgsrc.org>2001-11-29 17:37:57 +0000
commit7a49acab777b0ee6068a35aeb78ca0083c7af78a (patch)
tree6f1d307cf85a71f8e996981d5a3512067aa61ece /fonts
parent04719f077d24d7ad2b1b90400f5b307381481cbb (diff)
downloadpkgsrc-7a49acab777b0ee6068a35aeb78ca0083c7af78a.tar.gz
Run mkttfdir on install and uninstall. Install to ..../TrueType instead
of .../arphicttf. Based on pkg/14642 by Rui-Xiang Guo.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/arphicttf/Makefile6
-rw-r--r--fonts/arphicttf/PLIST18
2 files changed, 11 insertions, 13 deletions
diff --git a/fonts/arphicttf/Makefile b/fonts/arphicttf/Makefile
index 2181bf5372d..6f0d0d47ace 100644
--- a/fonts/arphicttf/Makefile
+++ b/fonts/arphicttf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/09/09 20:36:23 agc Exp $
+# $NetBSD: Makefile,v 1.3 2001/11/29 17:37:57 wiz Exp $
#
DISTNAME= arphicttf-2.11
@@ -11,7 +11,7 @@ DISTFILES= ${FONT_SETS} ${MISC_FILES}
MAINTAINER= rxg@ms25.url.com.tw
COMMENT= Chinese Big5/GB TrueType fonts made by Arphic Technology
-DEPENDS+= mkttfdir-1*:../../fonts/mkttfdir
+DEPENDS+= mkttfdir>=1.1nb1:../../fonts/mkttfdir
FONT_SETS= bkai00mp.ttf.gz \
bsmi00lp.ttf.gz \
@@ -29,7 +29,7 @@ NO_CONFIGURE= yes
NO_BUILD= yes
USE_X11BASE= yes
-FONTDIR= ${PREFIX}/lib/X11/fonts/arphicttf
+FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
do-install:
${INSTALL_DATA_DIR} ${FONTDIR}
diff --git a/fonts/arphicttf/PLIST b/fonts/arphicttf/PLIST
index 47164e42a93..bddd335ef3f 100644
--- a/fonts/arphicttf/PLIST
+++ b/fonts/arphicttf/PLIST
@@ -1,10 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:48:56 zuntum Exp $
-lib/X11/fonts/arphicttf/bkai00mp.ttf
-lib/X11/fonts/arphicttf/bsmi00lp.ttf
-lib/X11/fonts/arphicttf/encodings.dir
-lib/X11/fonts/arphicttf/fonts.alias
-lib/X11/fonts/arphicttf/fonts.dir
-lib/X11/fonts/arphicttf/fonts.scale
-lib/X11/fonts/arphicttf/gbsn00lp.ttf
-lib/X11/fonts/arphicttf/gkai00mp.ttf
-@dirrm lib/X11/fonts/arphicttf
+@comment $NetBSD: PLIST,v 1.2 2001/11/29 17:37:57 wiz Exp $
+lib/X11/fonts/TrueType/bkai00mp.ttf
+lib/X11/fonts/TrueType/bsmi00lp.ttf
+lib/X11/fonts/TrueType/gbsn00lp.ttf
+lib/X11/fonts/TrueType/gkai00mp.ttf
+@exec mkttfdir %D/lib/X11/fonts/TrueType
+@unexec mkttfdir %D/lib/X11/fonts/TrueType
+@unexec rmdir %D/lib/X11/fonts/TrueType