blob: 99bf8be4e6b24448f9c86df4268307f54267646a (
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
|
# $NetBSD: Makefile,v 1.5 2012/10/01 11:02:05 ryoon Exp $
DISTNAME= misaki_bdf_2012-06-03
PKGNAME= ${DISTNAME:S/-//g:S/misaki_bdf_/misaki-fonts-1.0./}
CATEGORIES= fonts x11 japanese
MASTER_SITES= http://www.geocities.jp/littlimi/arc/misaki/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://www.geocities.jp/littlimi/misaki.htm
COMMENT= 8x8 dots X11 bitmap font for JIS X 0208
LICENSE= mplusfont
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
USE_X11BASE= YES
NO_CONFIGURE= YES
USE_TOOLS+= bdftopcf gzip
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
FONTDIR= ${PREFIX}/lib/X11/fonts/local
FONTS_DIRS.x11= ${FONTDIR}
INSTALLATION_DIRS= lib/X11/fonts/local \
${DOCSDIR}
INSTALL_FONTS= misaki_gothic.bdf \
misaki_mincho.bdf \
misaki_4x8_iso8859.bdf \
misaki_4x8_jisx0201.bdf
INSTALL_DOCS= misaki.txt \
readme.txt
do-build:
.for filename in ${INSTALL_FONTS}
${TOOLS_PATH.bdftopcf} -o ${WRKSRC}/${filename:S/bdf/pcf/} ${WRKSRC}/${filename}
${GZIP_CMD} ${WRKSRC}/${filename:S/bdf/pcf/}
.endfor
do-install:
.for filename in ${INSTALL_DOCS}
${INSTALL_DATA} ${WRKSRC}/${filename} ${DESTDIR}${DOCSDIR}
.endfor
.for filename in ${INSTALL_FONTS}
${INSTALL_DATA} ${WRKSRC}/${filename:S/bdf/pcf.gz/} ${DESTDIR}${FONTDIR}
.endfor
.include "../../mk/bsd.pkg.mk"
|