d32e698de6
XXX need to teach pkglint to be more picky about this
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2001/02/25 04:17:48 hubertf Exp $
|
|
#
|
|
|
|
DISTNAME= jisx0213fonts-0.0
|
|
CATEGORIES= fonts x11 japanese
|
|
MASTER_SITES= ftp://ftp.m17n.org/pub/character/fonts/imamura/jisx0213/
|
|
DISTFILES= ${BDF:C/bdf$/bdf.gz/}
|
|
|
|
MAINTAINER= itojun@itojun.org
|
|
HOMEPAGE= ftp://ftp.m17n.org/pub/character/fonts/imamura/jisx0213/
|
|
COMMENT= X11 fonts for JIS X0213 standard
|
|
|
|
USE_X11BASE= yes
|
|
|
|
BDF= K14-1.bdf K14-2.bdf jiskan16-2000-1.bdf jiskan16-2000-2.bdf
|
|
PCF= ${BDF:C/bdf$/pcf/}
|
|
PCFGZ= ${BDF:C/bdf$/pcf.gz/}
|
|
FONTDIR=${PREFIX}/lib/X11/fonts/local
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKSRC}
|
|
for i in ${BDF}; do \
|
|
${CP} ${DISTDIR}/$$i.gz ${WRKSRC}; \
|
|
${GUNZIP_CMD} ${WRKSRC}/$$i.gz; \
|
|
done
|
|
|
|
do-build:
|
|
(cd ${WRKSRC}; for i in ${BDF}; do \
|
|
bdftopcf -o `echo $$i | ${SED} -e 's/bdf$$/pcf/'` $$i; \
|
|
${GZIP_CMD} `echo $$i | ${SED} -e 's/bdf$$/pcf/'`; \
|
|
done)
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${FONTDIR}
|
|
for i in ${PCFGZ}; do \
|
|
${INSTALL_DATA} ${WRKSRC}/$$i ${FONTDIR}; \
|
|
done
|
|
(cd ${FONTDIR}; mkfontdir)
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|