summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-04-09 15:18:33 +0000
committeritojun <itojun@pkgsrc.org>2000-04-09 15:18:33 +0000
commita72e07dd4dab03e21fc054a84b160df3af793e29 (patch)
tree807c94e2aa5ca06f160b5cf952e51baf99538864 /fonts
parentffe14b76f4ead0c821cc861df4f4919b1e94ba7b (diff)
downloadpkgsrc-a72e07dd4dab03e21fc054a84b160df3af793e29.tar.gz
JIS X0213 font collection for X11
Diffstat (limited to 'fonts')
-rw-r--r--fonts/jisx0213fonts/Makefile39
-rw-r--r--fonts/jisx0213fonts/files/md56
-rw-r--r--fonts/jisx0213fonts/pkg/COMMENT1
-rw-r--r--fonts/jisx0213fonts/pkg/DESCR1
-rw-r--r--fonts/jisx0213fonts/pkg/PLIST7
5 files changed, 54 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"
diff --git a/fonts/jisx0213fonts/files/md5 b/fonts/jisx0213fonts/files/md5
new file mode 100644
index 00000000000..524725b9182
--- /dev/null
+++ b/fonts/jisx0213fonts/files/md5
@@ -0,0 +1,6 @@
+$NetBSD: md5,v 1.1.1.1 2000/04/09 15:18:33 itojun Exp $
+
+MD5 (K14-1.bdf.gz) = bc82c035f47bae0e3ef16deb865c94ac
+MD5 (K14-2.bdf.gz) = fe3e2f10c967e1cd0a0db1c3fc77a31d
+MD5 (jiskan16-2000-1.bdf.gz) = dda803774fb1c79a18f0b7d506b744cb
+MD5 (jiskan16-2000-2.bdf.gz) = 83f6280d0d6e521ce3206a961072d830
diff --git a/fonts/jisx0213fonts/pkg/COMMENT b/fonts/jisx0213fonts/pkg/COMMENT
new file mode 100644
index 00000000000..a5b710a8e45
--- /dev/null
+++ b/fonts/jisx0213fonts/pkg/COMMENT
@@ -0,0 +1 @@
+X11 fonts for JIS X0213 standard
diff --git a/fonts/jisx0213fonts/pkg/DESCR b/fonts/jisx0213fonts/pkg/DESCR
new file mode 100644
index 00000000000..fbbac3a69d9
--- /dev/null
+++ b/fonts/jisx0213fonts/pkg/DESCR
@@ -0,0 +1 @@
+The pkgsrc installs X11 fonts for JIS X0213 standard.
diff --git a/fonts/jisx0213fonts/pkg/PLIST b/fonts/jisx0213fonts/pkg/PLIST
new file mode 100644
index 00000000000..bc812c70a9a
--- /dev/null
+++ b/fonts/jisx0213fonts/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/04/09 15:18:33 itojun Exp $
+lib/X11/fonts/local/K14-1.pcf.gz
+lib/X11/fonts/local/K14-2.pcf.gz
+lib/X11/fonts/local/jiskan16-2000-1.pcf.gz
+lib/X11/fonts/local/jiskan16-2000-2.pcf.gz
+@exec %D/bin/mkfontdir %D/lib/X11/fonts/misc
+@unexec %D/bin/mkfontdir %D/lib/X11/fonts/misc