summaryrefslogtreecommitdiff
path: root/fonts/ja-kappa20/Makefile
blob: 17321932a10d6b88987c7bd1ec1d13ceceb30adb (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
# $NetBSD: Makefile,v 1.14 2008/03/03 20:17:12 jlam Exp $

DISTNAME=		Kappa20-0.394
PKGNAME=		ja-kappa20-0.394
PKGREVISION=		1
CATEGORIES=		fonts x11 japanese
MASTER_SITES=		${MASTER_SITE_LOCAL}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		tech-pkg-ja@jp.NetBSD.org
HOMEPAGE=		http://kappa.allnet.ne.jp/20dot.fonts/
COMMENT=		20x20 dots X11 bitmap font for Japanese with several extra fonts

PKG_DESTDIR_SUPPORT=	user-destdir

USE_X11BASE=		YES
FONTDIR=		${PREFIX}/lib/X11/fonts/local
ALIAS_KAPPA=		${PREFIX}/share/examples/fonts.alias.Kappa20

USE_TOOLS+=		mkfontdir gzip

FILES_SUBST+=		FONTDIR=${FONTDIR:Q}
FILES_SUBST+=		ALIAS_KAPPA=${ALIAS_KAPPA:Q}

# do not build experimental JIS X 0213 font.
BUILD_TARGET=		default

INSTALLATION_DIRS=	lib/X11/fonts/local share/doc share/examples

do-install:
	${INSTALL_DATA} ${WRKSRC}/README \
		${DESTDIR}${PREFIX}/share/doc/README.Kappa20
	${INSTALL_DATA} ${WRKSRC}/pcf/fonts.alias ${DESTDIR}${ALIAS_KAPPA}
	${INSTALL_DATA} ${WRKSRC}/pcf/*.pcf.* ${DESTDIR}${FONTDIR}

.include "../../mk/bsd.pkg.mk"