summaryrefslogtreecommitdiff
path: root/fonts/vfontcap-kochi
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/vfontcap-kochi')
-rw-r--r--fonts/vfontcap-kochi/DEINSTALL21
-rw-r--r--fonts/vfontcap-kochi/DESCR2
-rw-r--r--fonts/vfontcap-kochi/INSTALL18
-rw-r--r--fonts/vfontcap-kochi/Makefile29
-rw-r--r--fonts/vfontcap-kochi/PLIST2
-rwxr-xr-xfonts/vfontcap-kochi/files/vfontcap9
6 files changed, 81 insertions, 0 deletions
diff --git a/fonts/vfontcap-kochi/DEINSTALL b/fonts/vfontcap-kochi/DEINSTALL
new file mode 100644
index 00000000000..9b23d95b238
--- /dev/null
+++ b/fonts/vfontcap-kochi/DEINSTALL
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1.1.1 2003/03/15 20:28:01 kei Exp $
+
+case ${STAGE} in
+PRE-DEINSTALL)
+ ;;
+
+DEINSTALL)
+ ;;
+
+POST-DEINSTALL)
+ ${MV} @VFONTCAPDIR@/vfontcap.orig @VFONTCAPDIR@/vfontcap
+ ;;
+
+*)
+ ${ECHO} "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+
+esac
diff --git a/fonts/vfontcap-kochi/DESCR b/fonts/vfontcap-kochi/DESCR
new file mode 100644
index 00000000000..f907b96e081
--- /dev/null
+++ b/fonts/vfontcap-kochi/DESCR
@@ -0,0 +1,2 @@
+vfontcap-kochi is a configuration file for VFlib to use kochi-mincho and
+kochi-gothic TrueType font.
diff --git a/fonts/vfontcap-kochi/INSTALL b/fonts/vfontcap-kochi/INSTALL
new file mode 100644
index 00000000000..3978532d9e6
--- /dev/null
+++ b/fonts/vfontcap-kochi/INSTALL
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# $NetBSD: INSTALL,v 1.1.1.1 2003/03/15 20:28:01 kei Exp $
+
+case ${STAGE} in
+PRE-INSTALL)
+ ${MV} @VFONTCAPDIR@/vfontcap @VFONTCAPDIR@/vfontcap.orig
+ ;;
+
+POST-INSTALL)
+ ;;
+
+*)
+ ${ECHO} "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+
+esac
diff --git a/fonts/vfontcap-kochi/Makefile b/fonts/vfontcap-kochi/Makefile
new file mode 100644
index 00000000000..36c7a88b670
--- /dev/null
+++ b/fonts/vfontcap-kochi/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/03/15 20:28:01 kei Exp $
+
+DISTNAME= vfontcap-kochi-0.0
+CATEGORIES= fonts x11 japanese
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+MAINTAINER= kei@netbsd.org
+COMMENT= configuration file for VFlib to use kochi-ttf
+
+DEPENDS+= ja-vflib-lib-*:../../print/ja-vflib-lib
+DEPENDS+= kochi-ttf-*:../../fonts/kochi-ttf
+
+EXTRACT_ONLY= # empty
+WRKSRC= ${WRKDIR}
+NO_CHECKSUM= YES
+NO_BUILD= YES
+
+VFONTCAPDIR= ${PREFIX}/share/VFlib/2.24.2
+FILES_SUBST+= VFONTCAPDIR=${VFONTCAPDIR}
+
+do-configure:
+ ${CP} ${FILESDIR}/vfontcap ${WRKSRC}
+
+do-install:
+ ${INSTALL_DATA} ${WRKDIR}/vfontcap ${VFONTCAPDIR}
+
+.include "../../mk/bsd.pkg.install.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/vfontcap-kochi/PLIST b/fonts/vfontcap-kochi/PLIST
new file mode 100644
index 00000000000..f216f3f8b0b
--- /dev/null
+++ b/fonts/vfontcap-kochi/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/15 20:28:01 kei Exp $
+share/VFlib/2.24.2/vfontcap
diff --git a/fonts/vfontcap-kochi/files/vfontcap b/fonts/vfontcap-kochi/files/vfontcap
new file mode 100755
index 00000000000..db4a14d451e
--- /dev/null
+++ b/fonts/vfontcap-kochi/files/vfontcap
@@ -0,0 +1,9 @@
+# $NetBSD: vfontcap,v 1.1.1.1 2003/03/15 20:28:01 kei Exp $
+# vfontcap - configuration file for VFlib
+
+min|min5|min6|min7|min8|min9|min10|min12|min17|Mincho Font:\
+ :ft=freetype:\
+ :ff=/usr/pkg/lib/X11/fonts/TrueType/kochi-mincho.ttf:
+goth|goth5||goth6|goth7|goth8|goth9|goth10|goth12|goth17|Gothic Font:\
+ :ft=freetype:\
+ :ff=/usr/pkg/lib/X11/fonts/TrueType/kochi-gothic.ttf: