1 # $NetBSD: Makefile,v 1.10 2008/03/03 20:17:12 jlam Exp $
6 CATEGORIES
= fonts x11 japanese
7 MASTER_SITES
= http
://hp.vector.
co.jp
/authors
/VA013391
/fonts
/
8 DISTFILES
= ${DISTNAME}${EXTRACT_SUFX} \
11 MAINTAINER
= tech-pkg-ja@jp.NetBSD.org
12 HOMEPAGE
= http
://hp.vector.
co.jp
/authors
/VA013391
/fonts
/#naga10
13 COMMENT
= 10x10 dots X11 bitmap font for JIS X
0208
16 USE_TOOLS
+= bdftopcf gzip patch
17 DOCDIR
= ${PREFIX}/share
/doc
18 FONTDIR
= ${PREFIX}/lib
/X11
/fonts
/local
19 FONTS_DIRS.x11
= ${FONTDIR}
21 INSTALLATION_DIRS
= lib
/X11
/fonts
/local share
/doc
25 ${MV} ${DISTNAME}/README
${DISTNAME}/README.naga10
; \
26 ${MV} 6x12
/README
6x12
/README
.6x12
; \
27 ${MV} 6x12
/* ${DISTNAME}/;
31 for i in min10 maru10
; do \
32 ${PATCH} -s
-o
$$i.bdf
< $$i.bdf.diff
; \
38 p
=`basename $$i .bdf`.pcf
; \
39 bdftopcf
$$i |
${GZIP_CMD} > $$p.gz
; \
43 ${INSTALL_DATA} ${WRKSRC}/README.
* ${DESTDIR}${DOCDIR}
44 ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz
${DESTDIR}${FONTDIR}
46 .
include "../../mk/bsd.pkg.mk"