diff options
author | itojun <itojun@pkgsrc.org> | 2000-04-09 15:18:33 +0000 |
---|---|---|
committer | itojun <itojun@pkgsrc.org> | 2000-04-09 15:18:33 +0000 |
commit | a72e07dd4dab03e21fc054a84b160df3af793e29 (patch) | |
tree | 807c94e2aa5ca06f160b5cf952e51baf99538864 /fonts/jisx0213fonts/Makefile | |
parent | ffe14b76f4ead0c821cc861df4f4919b1e94ba7b (diff) | |
download | pkgsrc-a72e07dd4dab03e21fc054a84b160df3af793e29.tar.gz |
JIS X0213 font collection for X11
Diffstat (limited to 'fonts/jisx0213fonts/Makefile')
-rw-r--r-- | fonts/jisx0213fonts/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/fonts/jisx0213fonts/Makefile b/fonts/jisx0213fonts/Makefile new file mode 100644 index 00000000000..e447de84f2e --- /dev/null +++ b/fonts/jisx0213fonts/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/04/09 15:18:33 itojun Exp $ +# + +DISTNAME= jisx0213fonts-0.0 +CATEGORIES= x11 +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/ + +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: + ${MKDIR} ${FONTDIR} + for i in ${PCFGZ}; do \ + ${INSTALL_DATA} ${WRKSRC}/$$i ${FONTDIR}; \ + done + (cd ${FONTDIR}; mkfontdir) + +.include "../../mk/bsd.pkg.mk" |