From 67f9f822e89ffaac63bc208430279a9d3a9e7e12 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 29 Dec 2005 18:17:21 +0000 Subject: 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. --- fonts/ja-naga10/Makefile | 13 +++---------- fonts/ja-naga10/PLIST | 4 +--- 2 files changed, 4 insertions(+), 13 deletions(-) (limited to 'fonts/ja-naga10') diff --git a/fonts/ja-naga10/Makefile b/fonts/ja-naga10/Makefile index 5ec12073210..58706d285bd 100644 --- a/fonts/ja-naga10/Makefile +++ b/fonts/ja-naga10/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/11/08 18:22:09 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2005/12/29 18:17:21 jlam Exp $ DISTNAME= knj10-1.1 PKGNAME= ja-naga10-1.1 @@ -12,9 +12,10 @@ HOMEPAGE= http://hp.vector.co.jp/authors/VA013391/fonts/#naga10 COMMENT= 10x10 dots X11 bitmap font for JIS X 0208 USE_X11BASE= YES -USE_TOOLS+= gzip mkfontdir:run +USE_TOOLS+= bdftopcf gzip patch DOCDIR= ${PREFIX}/share/doc FONTDIR= ${PREFIX}/lib/X11/fonts/local +FONTS_DIRS.x11= ${FONTDIR} post-extract: cd ${WRKDIR}; \ @@ -40,12 +41,4 @@ do-install: ${INSTALL_DATA_DIR} ${FONTDIR}; \ ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${FONTDIR} -post-install: - cd ${FONTDIR}; \ - mkfontdir - -post-deinstall: - cd ${FONTDIR}; \ - mkfontdir - .include "../../mk/bsd.pkg.mk" diff --git a/fonts/ja-naga10/PLIST b/fonts/ja-naga10/PLIST index 0d4431cc047..248690048e9 100644 --- a/fonts/ja-naga10/PLIST +++ b/fonts/ja-naga10/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/15 20:43:09 kei Exp $ +@comment $NetBSD: PLIST,v 1.2 2005/12/29 18:17:21 jlam Exp $ lib/X11/fonts/local/5x10B.pcf.gz lib/X11/fonts/local/5x10a.pcf.gz lib/X11/fonts/local/5x10rk.pcf.gz @@ -11,5 +11,3 @@ lib/X11/fonts/local/maru10.pcf.gz lib/X11/fonts/local/min10.pcf.gz share/doc/README.6x12 share/doc/README.naga10 -@exec mkfontdir %D/lib/X11/fonts/local -@unexec mkfontdir %D/lib/X11/fonts/local -- cgit v1.2.3