File:  [cvs.NetBSD.org] / pkgsrc / fonts / misaki-fonts / Makefile
Revision 1.8: download - view: text, annotated - select for diffs
Sun Jun 1 16:35:36 2014 UTC (10 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, HEAD
Move fonts from lib/X11/fonts to share/fonts/X11.

As discussed on tech-pkg.

Bump PKGREVISION.

# $NetBSD: Makefile,v 1.8 2014/06/01 16:35:36 wiz Exp $

DISTNAME=		misaki_bdf_2012-06-03
PKGNAME=		${DISTNAME:S/-//g:S/misaki_bdf_/misaki-fonts-1.0./}
PKGREVISION=		1
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

WRKSRC=			${WRKDIR}
USE_X11BASE=		YES
NO_CONFIGURE=		YES
USE_TOOLS+=		bdftopcf gzip

DOCSDIR=		${PREFIX}/share/doc/${PKGBASE}
FONTDIR=		${PREFIX}/share/fonts/X11/local
FONTS_DIRS.x11=		${FONTDIR}

INSTALLATION_DIRS=	share/fonts/X11/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}
	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"

CVSweb <webmaster@jp.NetBSD.org>