Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / fonts / ja-naga10 / Makefile
blob75e172fce2a14be74ebd4b43519b02b16ef78837
1 # $NetBSD: Makefile,v 1.10 2008/03/03 20:17:12 jlam Exp $
3 DISTNAME= knj10-1.1
4 PKGNAME= ja-naga10-1.1
5 PKGREVISION= 1
6 CATEGORIES= fonts x11 japanese
7 MASTER_SITES= http://hp.vector.co.jp/authors/VA013391/fonts/
8 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
9 6x12${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
15 USE_X11BASE= YES
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
23 post-extract:
24 cd ${WRKDIR}; \
25 ${MV} ${DISTNAME}/README ${DISTNAME}/README.naga10; \
26 ${MV} 6x12/README 6x12/README.6x12; \
27 ${MV} 6x12/* ${DISTNAME}/;
29 pre-patch:
30 cd ${WRKSRC}; \
31 for i in min10 maru10; do \
32 ${PATCH} -s -o $$i.bdf < $$i.bdf.diff; \
33 done;
35 do-build:
36 cd ${WRKSRC}; \
37 for i in *.bdf; do \
38 p=`basename $$i .bdf`.pcf; \
39 bdftopcf $$i | ${GZIP_CMD} > $$p.gz; \
40 done
42 do-install:
43 ${INSTALL_DATA} ${WRKSRC}/README.* ${DESTDIR}${DOCDIR}
44 ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${DESTDIR}${FONTDIR}
46 .include "../../mk/bsd.pkg.mk"