summaryrefslogtreecommitdiff
path: root/fonts/ko-hanyang
diff options
context:
space:
mode:
authorjlam <jlam>2005-12-29 18:17:21 +0000
committerjlam <jlam>2005-12-29 18:17:21 +0000
commit909e1d452bd8e328ef4d390de270ca3b77bf1f0a (patch)
treed3534d29133f9db5991d6ecad761546aa6aa87a4 /fonts/ko-hanyang
parent9152fbab40b80b2c4e86d82aa0ab01ee0dba0e1b (diff)
downloadpkgsrc-909e1d452bd8e328ef4d390de270ca3b77bf1f0a.tar.gz
Convert to use the font hooks in the pkginstall framework. We no
longer need to run mkfontdir ourselves, and those @exec/@unexec lines may be removed from the PLISTs.
Diffstat (limited to 'fonts/ko-hanyang')
-rw-r--r--fonts/ko-hanyang/Makefile10
-rw-r--r--fonts/ko-hanyang/PLIST4
2 files changed, 5 insertions, 9 deletions
diff --git a/fonts/ko-hanyang/Makefile b/fonts/ko-hanyang/Makefile
index c4b775ccc9a..84819d48002 100644
--- a/fonts/ko-hanyang/Makefile
+++ b/fonts/ko-hanyang/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/12/05 20:50:14 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2005/12/29 18:17:21 jlam Exp $
#
DISTNAME= hanyang-font-pcf
@@ -13,7 +13,7 @@ COMMENT= X11 fonts for KSC 5601 standard
CONFLICTS+= ksc5601fonts-[0-9]*
USE_X11BASE= yes
-USE_TOOLS+= gzip mkfontdir:run
+USE_TOOLS+= gzip
EXTRACT_ONLY= # empty
MAKE_ENV+= FONTDIR=${FONTDIR:Q} GZIP_CMD=${GZIP_CMD:Q}
@@ -23,7 +23,8 @@ EXTRACT_ONLY+= hanyang-font-pcf.tar.gz
HANYANG_PCF= hgm10.pcf hgm12.pcf hgm14.pcf hgm16.pcf hgm18.pcf hgm20.pcf \
hmm10.pcf hmm12.pcf hmm14.pcf hmm16.pcf hmm18.pcf hmm20.pcf
-FONTDIR=${PREFIX}/lib/X11/fonts/local
+FONTDIR= ${PREFIX}/lib/X11/fonts/local
+FONTS_DIRS.x11= ${FONTDIR}
post-extract:
${MKDIR} ${WRKSRC}
@@ -38,7 +39,4 @@ post-build:
pre-install:
[ -d ${FONTDIR} ] || ${INSTALL_DATA_DIR} ${FONTDIR}
-post-install:
- (cd ${FONTDIR}; mkfontdir)
-
.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/ko-hanyang/PLIST b/fonts/ko-hanyang/PLIST
index 942713ef1ee..7bf5e2522dc 100644
--- a/fonts/ko-hanyang/PLIST
+++ b/fonts/ko-hanyang/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/02/05 22:03:56 skrll Exp $
+@comment $NetBSD: PLIST,v 1.3 2005/12/29 18:17:21 jlam Exp $
lib/X11/fonts/local/hgm10.pcf.gz
lib/X11/fonts/local/hgm12.pcf.gz
lib/X11/fonts/local/hgm14.pcf.gz
@@ -11,5 +11,3 @@ lib/X11/fonts/local/hmm14.pcf.gz
lib/X11/fonts/local/hmm16.pcf.gz
lib/X11/fonts/local/hmm18.pcf.gz
lib/X11/fonts/local/hmm20.pcf.gz
-@exec ${X11BASE}/bin/mkfontdir %D/lib/X11/fonts/local
-@unexec ${X11BASE}/bin/mkfontdir %D/lib/X11/fonts/local