[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / fonts / jisx0213fonts

File: [cvs.NetBSD.org] / pkgsrc / fonts / jisx0213fonts / Makefile (download)

Revision 1.12, Sun Feb 5 23:09:10 2006 UTC (18 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.11: +2 -1 lines

Recursive revision bump / recommended bump for gettext ABI change.

# $NetBSD: Makefile,v 1.12 2006/02/05 23:09:10 joerg Exp $
#

DISTNAME=	jisx0213fonts-0.0
PKGREVISION=	1
CATEGORIES=	fonts x11 japanese
MASTER_SITES=	ftp://ftp.m17n.org/pub/character/fonts/imamura/jisx0213/
DISTFILES=	${FONTS:C/$/.bdf.gz/}

MAINTAINER=	itojun@itojun.org, uebayasi@NetBSD.org
HOMEPAGE=	ftp://ftp.m17n.org/pub/character/fonts/imamura/jisx0213/
COMMENT=	X11 bitmap fonts for JIS X 0213

USE_X11BASE=	yes
USE_TOOLS+=	gzip

FONTS=		K14-1 K14-2 jiskan16-2000-1 jiskan16-2000-2
FONTDIR=	${PREFIX}/lib/X11/fonts/local
FONTS_DIRS.x11=	${FONTDIR}

WRKSRC=		${WRKDIR}

do-extract:
	@for f in ${FONTS}; do \
		${GZCAT} ${DISTDIR}/$${f}.bdf.gz >${WRKSRC}/$${f}.bdf; \
	done

do-build:
	@cd ${WRKSRC}; \
	for f in ${FONTS}; do \
		${X11BASE}/bin/bdftopcf $${f}.bdf | \
		${GZIP_CMD} -c >$${f}.pcf.gz; \
	done

do-install:
	@${INSTALL_DATA_DIR} ${FONTDIR}
	@for f in ${FONTS}; do \
		${INSTALL_DATA} ${WRKSRC}/$${f}.pcf.gz ${FONTDIR}; \
	done

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