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

File: [cvs.NetBSD.org] / pkgsrc / fonts / efont-unicode / Makefile (download)

Revision 1.10, Sun Feb 5 23:09:09 2006 UTC (14 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, 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.9: +2 -1 lines

Recursive revision bump / recommended bump for gettext ABI change.

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

DISTNAME=	efont-unicode-bdf-0.4.2
PKGNAME=	${DISTNAME:S/-bdf//}
PKGREVISION=	1
CATEGORIES=	fonts x11
MASTER_SITES=	http://openlab.ring.gr.jp/efont/dist/unicode-bdf/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	uebayasi@NetBSD.org
HOMEPAGE=	http://openlab.ring.gr.jp/efont/unicode/
COMMENT=	Free unicode BDF font

USE_X11BASE=	YES
USE_TOOLS+=	bdftopcf gzip

MESSAGE_SUBST+=	FONTDIR=${FONTDIR}
PLIST_SUBST+=	FONTDIR=${FONTDIR:Q}

FONTS=		b10 b10_b b10_bi b10_i\
		b12 b12_b b12_bi b12_i\
		b14 b14_b b14_bi b14_i\
		b16 b16_b b16_bi b16_i\
		b24 b24_b b24_bi b24_i\
		h10 h10_b h10_bi h10_i\
		h12 h12_b h12_bi h12_i\
		h14 h14_b h14_bi h14_i\
		h16 h16_b h16_bi h16_i\
		h24 h24_b h24_bi h24_i
FONTDIR=	lib/X11/fonts/efont
REQD_DIRS=	${FONTDIR}
FONTS_DIRS.x11=	${FONTDIR}

do-build:
	@cd ${WRKSRC};						\
	for FONT in ${FONTS}; do				\
	  ${ECHO} -n "Compiling font $${FONT} ... ";		\
	  bdftopcf $${FONT}.bdf |				\
	    ${GZIP_CMD} -c >$${FONT}.pcf.gz;			\
	  ${ECHO} "done";					\
	done

do-install:
	@${INSTALL_DATA_DIR} ${PREFIX}/${FONTDIR}
	@for FONT in ${FONTS}; do				\
	  ${ECHO} -n "Installing font $${FONT} ... ";		\
	  ${INSTALL_DATA} ${WRKSRC}/$${FONT}.pcf.gz 		\
	    ${PREFIX}/${FONTDIR};				\
	  ${ECHO} "done";					\
	done

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