2015-07-04 18:18:28 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2015/07/04 16:18:32 joerg Exp $
|
2010-05-26 15:55:48 +02:00
|
|
|
|
2012-10-01 13:02:05 +02:00
|
|
|
DISTNAME= misaki_bdf_2012-06-03
|
|
|
|
PKGNAME= ${DISTNAME:S/-//g:S/misaki_bdf_/misaki-fonts-1.0./}
|
2014-06-01 18:35:31 +02:00
|
|
|
PKGREVISION= 1
|
2010-05-26 15:55:48 +02:00
|
|
|
CATEGORIES= fonts x11 japanese
|
|
|
|
MASTER_SITES= http://www.geocities.jp/littlimi/arc/misaki/
|
|
|
|
|
2011-02-19 14:11:24 +01:00
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
2010-05-26 15:55:48 +02:00
|
|
|
HOMEPAGE= http://www.geocities.jp/littlimi/misaki.htm
|
|
|
|
COMMENT= 8x8 dots X11 bitmap font for JIS X 0208
|
2011-05-08 13:00:18 +02:00
|
|
|
LICENSE= mplusfont
|
2010-05-26 15:55:48 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
NO_CONFIGURE= YES
|
|
|
|
USE_TOOLS+= bdftopcf gzip
|
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
|
2014-06-01 18:35:31 +02:00
|
|
|
FONTDIR= ${PREFIX}/share/fonts/X11/local
|
2010-05-26 15:55:48 +02:00
|
|
|
FONTS_DIRS.x11= ${FONTDIR}
|
|
|
|
|
2014-06-01 18:35:31 +02:00
|
|
|
INSTALLATION_DIRS= share/fonts/X11/local \
|
2010-05-26 15:55:48 +02:00
|
|
|
${DOCSDIR}
|
|
|
|
|
|
|
|
INSTALL_FONTS= misaki_gothic.bdf \
|
|
|
|
misaki_mincho.bdf \
|
|
|
|
misaki_4x8_iso8859.bdf \
|
|
|
|
misaki_4x8_jisx0201.bdf
|
2012-10-01 13:02:05 +02:00
|
|
|
INSTALL_DOCS= misaki.txt \
|
2010-05-26 15:55:48 +02:00
|
|
|
readme.txt
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
.for filename in ${INSTALL_FONTS}
|
2013-07-27 13:58:07 +02:00
|
|
|
bdftopcf -o ${WRKSRC}/${filename:S/bdf/pcf/} ${WRKSRC}/${filename}
|
2010-05-26 15:55:48 +02:00
|
|
|
${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"
|