blob: ec351f9e3df77a09ec6ddb2d5f21ffe11bda0303 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.1.1.1 2003/03/15 20:43:09 kei Exp $
DISTNAME= knj10-1.1
PKGNAME= ja-naga10-1.1
CATEGORIES= fonts x11 japanese
MASTER_SITES= http://hp.vector.co.jp/authors/VA013391/fonts/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
6x12${EXTRACT_SUFX}
MAINTAINER= tech-pkg-ja@jp.netbsd.org
HOMEPAGE= http://hp.vector.co.jp/authors/VA013391/fonts/#naga10
COMMENT= 10x10 dots X11 bitmap font for JIS X 0208
USE_X11BASE= YES
DOCDIR= ${PREFIX}/share/doc
FONTDIR= ${X11PREFIX}/lib/X11/fonts/local
post-extract:
cd ${WRKDIR}; \
${MV} ${DISTNAME}/README ${DISTNAME}/README.naga10; \
${MV} 6x12/README 6x12/README.6x12; \
${MV} 6x12/* ${DISTNAME}/;
pre-patch:
cd ${WRKSRC}; \
for i in min10 maru10; do \
${PATCH} -s -o $$i.bdf < $$i.bdf.diff; \
done;
do-build:
cd ${WRKSRC}; \
for i in *.bdf; do \
p=`basename $$i .bdf`.pcf; \
bdftopcf $$i | ${GZIP_CMD} > $$p.gz; \
done
do-install:
${INSTALL_DATA} ${WRKSRC}/README.* ${DOCDIR}; \
${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"
|