summaryrefslogtreecommitdiff
path: root/fonts/ja-elisat/Makefile
blob: abb794d770aaa25172ded866cafe48bead8ec2a3 (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
# $NetBSD: Makefile,v 1.2 2003/03/29 12:40:57 jmmv Exp $

DISTNAME=		elisat10
PKGNAME=		ja-elisat-1.0
WRKSRC=			${WRKDIR}
CATEGORIES=		fonts x11 japanese
MASTER_SITES=		http://www.tea.forus.or.jp/toshi/exhibition/

MAINTAINER=		tech-pkg-ja@jp.netbsd.org
HOMEPAGE=		${MASTER_SITES}/elisat10.html
COMMENT=		8x8 dots X11 bitmap font for JIS X 0208

USE_X11BASE=		YES
DOCDIR=			${PREFIX}/share/doc/elisat
FONTDIR=		${X11PREFIX}/lib/X11/fonts/local
#ALIAS=			${WRKDIR}/fonts.alias

LICENSE=		no-commercial-use

do-build:
	cd ${WRKSRC}; \
	for i in *.bdf; do \
		p=`basename $$i .bdf`.pcf; \
		bdftopcf -o $$p $$i; \
		${GZIP_CMD} -c $$p > $$p.gz; \
	done

do-install:
	${INSTALL_DATA_DIR} ${DOCDIR}; \
	${INSTALL_DATA} ${WRKSRC}/*.doc ${WRKSRC}/*.html ${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"