diff options
author | jlam <jlam> | 2005-12-29 18:17:21 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-12-29 18:17:21 +0000 |
commit | 909e1d452bd8e328ef4d390de270ca3b77bf1f0a (patch) | |
tree | d3534d29133f9db5991d6ecad761546aa6aa87a4 /fonts/ja-kaname/Makefile | |
parent | 9152fbab40b80b2c4e86d82aa0ab01ee0dba0e1b (diff) | |
download | pkgsrc-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/ja-kaname/Makefile')
-rw-r--r-- | fonts/ja-kaname/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/fonts/ja-kaname/Makefile b/fonts/ja-kaname/Makefile index 6e8f9f382d1..3c2eccf168d 100644 --- a/fonts/ja-kaname/Makefile +++ b/fonts/ja-kaname/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2005/11/08 18:22:09 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2005/12/29 18:17:21 jlam Exp $ DISTNAME= kaname_k12_bdf PKGNAME= ja-kaname-0.0.0.20030112 @@ -10,9 +10,10 @@ COMMENT= 12x12 dots X11 bitmap font for JIS X 0208 WRKSRC= ${WRKDIR} USE_X11BASE= YES -USE_TOOLS+= gzip mkfontdir:run +USE_TOOLS+= bdftopcf gzip DOCDIR= ${PREFIX}/share/doc/kaname FONTDIR= ${PREFIX}/lib/X11/fonts/local +FONTS_DIRS.x11= ${FONTDIR} #LICENSE= no-commercial-use @@ -31,12 +32,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" |