diff options
-rw-r--r-- | fonts/kochi-ttf/DESCR | 1 | ||||
-rw-r--r-- | fonts/kochi-ttf/Makefile | 42 | ||||
-rw-r--r-- | fonts/kochi-ttf/PLIST | 3 | ||||
-rw-r--r-- | fonts/kochi-ttf/distinfo | 6 | ||||
-rw-r--r-- | fonts/kochi-ttf/files/deinstall | 20 | ||||
-rw-r--r-- | fonts/kochi-ttf/files/install | 20 |
6 files changed, 92 insertions, 0 deletions
diff --git a/fonts/kochi-ttf/DESCR b/fonts/kochi-ttf/DESCR new file mode 100644 index 00000000000..5f9d7cfac78 --- /dev/null +++ b/fonts/kochi-ttf/DESCR @@ -0,0 +1 @@ +Kochi-gothic is a free Japanese TrueType font developed by Yasuyuki Furukawa. diff --git a/fonts/kochi-ttf/Makefile b/fonts/kochi-ttf/Makefile new file mode 100644 index 00000000000..f1e0c37063e --- /dev/null +++ b/fonts/kochi-ttf/Makefile @@ -0,0 +1,42 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/07/15 10:49:14 uebayasi Exp $ + +DISTNAME= kochi-gothic-20020503 +PKGNAME= kochi-ttf-20020503 +CATEGORIES= fonts japanese +MASTER_SITES= http://www.on.cs.keio.ac.jp/~yasu/linux/fonts/ +EXTRACT_SUFX= .tar.bz2 +DISTFILES= kochi-gothic-${KOCHI_VERSION}${EXTRACT_SUFX} \ + kochi-mincho-${KOCHI_VERSION}${EXTRACT_SUFX} + +MAINTAINER= uebayasi@soum.co.jp +HOMEPAGE= http://www.on.cs.keio.ac.jp/~yasu/jp_fonts.html +COMMENT= Free Japanese TrueType font by Yasuyuki Furukawa + +DEPENDS+= mkfontscale:../../fonts/mkfontscale + +KOCHI_VERSION= 0.2.20020503 + +WRKSRC= ${WRKDIR}/kochi-gothic + +NO_BUILD= # Defined +USE_X11BASE= # Defined + +INSTALL_TMPL= ${FILESDIR}/install +DEINSTALL_TMPL= ${FILESDIR}/deinstall +FILES_SUBST+= X11PREFIX=${X11PREFIX} +FILES_SUBST+= X11FONTSSUBDIR=TrueType + +post-extract: + @${LN} ${WRKDIR}/kochi-mincho/fonts/kochi-mincho.ttf \ + ${WRKSRC}/fonts + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/fonts/TrueType + ${INSTALL_DATA} ${WRKSRC}/fonts/kochi-gothic.ttf \ + ${X11PREFIX}/lib/X11/fonts/TrueType/kochi-gothic.ttf + ${INSTALL_DATA} ${WRKSRC}/fonts/kochi-mincho.ttf \ + ${X11PREFIX}/lib/X11/fonts/TrueType/kochi-mincho.ttf + ${INSTALL_DATA_DIR} ${X11PREFIX}/lib/X11/fonts/TrueType + +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/fonts/kochi-ttf/PLIST b/fonts/kochi-ttf/PLIST new file mode 100644 index 00000000000..a774e481ab2 --- /dev/null +++ b/fonts/kochi-ttf/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/15 10:49:14 uebayasi Exp $ +lib/X11/fonts/TrueType/kochi-gothic.ttf +lib/X11/fonts/TrueType/kochi-mincho.ttf diff --git a/fonts/kochi-ttf/distinfo b/fonts/kochi-ttf/distinfo new file mode 100644 index 00000000000..4b901e7ce13 --- /dev/null +++ b/fonts/kochi-ttf/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/07/15 10:49:14 uebayasi Exp $ + +SHA1 (kochi-gothic-0.2.20020503.tar.bz2) = 754131b38aef04901808b450d0783ca2c3d9f555 +Size (kochi-gothic-0.2.20020503.tar.bz2) = 2404898 bytes +SHA1 (kochi-mincho-0.2.20020503.tar.bz2) = d8bbc98b8cb1239f8f8e9d4b142b54c83ad1cbaf +Size (kochi-mincho-0.2.20020503.tar.bz2) = 3133790 bytes diff --git a/fonts/kochi-ttf/files/deinstall b/fonts/kochi-ttf/files/deinstall new file mode 100644 index 00000000000..f97e0e9ebb2 --- /dev/null +++ b/fonts/kochi-ttf/files/deinstall @@ -0,0 +1,20 @@ +# $NetBSD: deinstall,v 1.1.1.1 2002/07/15 10:49:14 uebayasi Exp $ + +PREFIX=@PREFIX@ +X11PREFIX=@X11PREFIX@ +X11FONTSPREFIX=${PREFIX}/lib/X11/fonts +X11FONTSSUBDIR=@X11FONTSSUBDIR@ +X11FONTSDIR=${X11FONTSPREFIX}/${X11FONTSSUBDIR} + +case ${STAGE} in +DEINSTALL) + ;; +POST-DEINSTALL) + ${X11PREFIX}/bin/mkfontscale ${X11FONTSDIR} + ;; +*) + ${ECHO} "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/fonts/kochi-ttf/files/install b/fonts/kochi-ttf/files/install new file mode 100644 index 00000000000..c4dfde6d882 --- /dev/null +++ b/fonts/kochi-ttf/files/install @@ -0,0 +1,20 @@ +# $NetBSD: install,v 1.1.1.1 2002/07/15 10:49:14 uebayasi Exp $ + +PREFIX=@PREFIX@ +X11PREFIX=@X11PREFIX@ +X11FONTSPREFIX=${PREFIX}/lib/X11/fonts +X11FONTSSUBDIR=@X11FONTSSUBDIR@ +X11FONTSDIR=${X11FONTSPREFIX}/${X11FONTSSUBDIR} + +case ${STAGE} in +PRE-INSTALL) + ;; +POST-INSTALL) + ${X11PREFIX}/bin/mkfontscale ${X11FONTSDIR} + ;; +*) + ${ECHO} "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 |