summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/font-ipa/Makefile72
-rw-r--r--japanese/font-ipa/distinfo2
-rw-r--r--japanese/font-ipa/files/fonts.alias.ipa60
-rw-r--r--japanese/font-ipa/files/fonts.dir.ipa151
-rw-r--r--japanese/font-ipa/pkg-deinstall15
-rw-r--r--japanese/font-ipa/pkg-descr5
-rw-r--r--japanese/font-ipa/pkg-install20
-rw-r--r--japanese/font-ipa/pkg-plist22
-rw-r--r--japanese/font-mplus-ipa/Makefile72
-rw-r--r--japanese/font-mplus-ipa/distinfo2
-rw-r--r--japanese/font-mplus-ipa/files/fonts.alias.ipa60
-rw-r--r--japanese/font-mplus-ipa/files/fonts.dir.ipa151
-rw-r--r--japanese/font-mplus-ipa/pkg-deinstall15
-rw-r--r--japanese/font-mplus-ipa/pkg-descr5
-rw-r--r--japanese/font-mplus-ipa/pkg-install20
-rw-r--r--japanese/font-mplus-ipa/pkg-plist22
-rw-r--r--japanese/ipa-ttfonts/Makefile72
-rw-r--r--japanese/ipa-ttfonts/distinfo2
-rw-r--r--japanese/ipa-ttfonts/files/fonts.alias.ipa60
-rw-r--r--japanese/ipa-ttfonts/files/fonts.dir.ipa151
-rw-r--r--japanese/ipa-ttfonts/pkg-deinstall15
-rw-r--r--japanese/ipa-ttfonts/pkg-descr5
-rw-r--r--japanese/ipa-ttfonts/pkg-install20
-rw-r--r--japanese/ipa-ttfonts/pkg-plist22
25 files changed, 1042 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 25f6a7e..3323556 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -105,6 +105,7 @@
SUBDIR += hns
SUBDIR += ical
SUBDIR += im-ja
+ SUBDIR += ipa-ttfonts
SUBDIR += ipadic
SUBDIR += ircII
SUBDIR += iv
diff --git a/japanese/font-ipa/Makefile b/japanese/font-ipa/Makefile
new file mode 100644
index 0000000..b9f8190
--- /dev/null
+++ b/japanese/font-ipa/Makefile
@@ -0,0 +1,72 @@
+# New ports collection makefile for: IPA TrueType fonts
+# Date created: 18 July 2004
+# Whom: NAKATA, Maho <maho@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ipa-ttfonts
+PORTVERSION= 20040718
+CATEGORIES= japanese x11-fonts
+MASTER_SITES= http://www.grass-japan.org/FOSS4G/ipafonts/
+DISTNAME= grass5.0.3_i686-pc-linux-i18n-ipafull-gnu_bin
+DIST_SUBDIR= ipa-fonts
+
+MAINTAINER= maho@FreeBSD.org
+COMMENT= Freely available Japanese TrueType fonts by Infomation-technology Promotion Agency (IPA)
+
+USE_X_PREFIX= yes
+NO_BUILD= yes
+NO_PACKAGE= "License prohibits to distribute without i18n'ed GRASS http://www.grass-japan.org/FOSS4G/"
+NO_CDROM= "License prohibits to distribute without i18n'ed GRASS http://www.grass-japan.org/FOSS4G/"
+
+FONTSDIR= lib/X11/fonts/TrueType
+LOCALFONTSDIR= share/fonts/TrueType
+MAKE_ENV= FONTSDIR=${FONTSDIR}
+PLIST_SUB= FONTSDIR=${FONTSDIR} \
+ LOCALFONTSDIR=${LOCALBASE}/${LOCALFONTSDIR}
+
+WRKSRC= ${WRKDIR}
+
+DOC_FILES= license-ipafonts.eucjp
+
+do-install:
+.if !exists(${PREFIX}/${FONTSDIR})
+ @${ECHO} "*********************************************************"
+ @${ECHO} "Please add ${PREFIX}/${FONTSDIR} to your font path"
+ @${ECHO} "and load 'xtt' module in /etc/XF86Config."
+ @${ECHO} "*********************************************************"
+ ${MKDIR} ${PREFIX}/${FONTSDIR}
+.endif
+ ${INSTALL_DATA} ${WRKSRC}/fonts/ipag.ttf \
+ ${WRKSRC}/fonts/ipagp.ttf \
+ ${WRKSRC}/fonts/ipagui.ttf \
+ ${WRKSRC}/fonts/ipam.ttf \
+ ${WRKSRC}/fonts/ipamp.ttf \
+ ${FILESDIR}/fonts.dir.ipa \
+ ${FILESDIR}/fonts.alias.ipa \
+ ${PREFIX}/${FONTSDIR}
+ ${MKDIR} ${LOCALBASE}/${LOCALFONTSDIR}
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipag.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipag.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipagp.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipagp.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipagui.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipagui.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipam.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipam.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipamp.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipamp.ttf
+
+.for F in ${DOC_FILES}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}
+.endfor
+ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.mk>
diff --git a/japanese/font-ipa/distinfo b/japanese/font-ipa/distinfo
new file mode 100644
index 0000000..048852d
--- /dev/null
+++ b/japanese/font-ipa/distinfo
@@ -0,0 +1,2 @@
+MD5 (grass5.0.3_i686-pc-linux-i18n-ipafull-gnu_bin.tar.gz) = 38358c8d9e083f5e68dd403113b849ef
+SIZE (grass5.0.3_i686-pc-linux-i18n-ipafull-gnu_bin.tar.gz) = 47275548
diff --git a/japanese/font-ipa/files/fonts.alias.ipa b/japanese/font-ipa/files/fonts.alias.ipa
new file mode 100644
index 0000000..bad932d
--- /dev/null
+++ b/japanese/font-ipa/files/fonts.alias.ipa
@@ -0,0 +1,60 @@
+-aliastt-mincho-medium-ro-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-o-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-ri-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-i-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-ro-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-o-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-ri-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-i-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-r-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-ro-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-medium-o-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-medium-ri-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-medium-i-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-medium-r-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-ro-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-o-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-ri-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-i-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-r-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-ro-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-o-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-ri-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-i-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-r-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-ro-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-o-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-ri-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-i-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-r-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-ro-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-o-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-ri-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-i-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-ro-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-o-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-ri-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-i-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-r-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-ro-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-o-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-ri-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-i-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-r-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-ro-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-o-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-ri-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-i-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-r-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-ro-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-o-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-ri-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-i-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-r-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-ro-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-o-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-ri-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-i-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-r-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
diff --git a/japanese/font-ipa/files/fonts.dir.ipa b/japanese/font-ipa/files/fonts.dir.ipa
new file mode 100644
index 0000000..3bd5caa
--- /dev/null
+++ b/japanese/font-ipa/files/fonts.dir.ipa
@@ -0,0 +1,151 @@
+150
+ipag.ttf -ipa-IPAGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipag.ttf -ipa-IPAGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipag.ttf -ipa-IPAGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipag.ttf -ipa-IPAGothic-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipag.ttf -ipa-IPAGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipag.ttf -ipa-IPAGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipag.ttf -ipa-IPAGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipag.ttf -ipa-IPAGothic-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipag.ttf -ipa-IPAGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipag.ttf -ipa-IPAGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipag.ttf -ipa-IPAGothic-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipag.ttf -ipa-IPAGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+ipagp.ttf -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipagp.ttf -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipagp.ttf -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipagp.ttf -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipagp.ttf -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipagp.ttf -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+ipagui.ttf -ipa-IPAUIGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipagui.ttf -ipa-IPAUIGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipagui.ttf -ipa-IPAUIGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipagui.ttf -ipa-IPAUIGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipagui.ttf -ipa-IPAUIGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipagui.ttf -ipa-IPAUIGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+ipam.ttf -ipa-IPAMincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipam.ttf -ipa-IPAMincho-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipam.ttf -ipa-IPAMincho-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipam.ttf -ipa-IPAMincho-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipam.ttf -ipa-IPAMincho-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipam.ttf -ipa-IPAMincho-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipam.ttf -ipa-IPAMincho-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipam.ttf -ipa-IPAMincho-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipam.ttf -ipa-IPAMincho-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipam.ttf -ipa-IPAMincho-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipam.ttf -ipa-IPAMincho-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipam.ttf -ipa-IPAMincho-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+ipamp.ttf -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipamp.ttf -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipamp.ttf -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipamp.ttf -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipamp.ttf -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipamp.ttf -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-iso8859-1
diff --git a/japanese/font-ipa/pkg-deinstall b/japanese/font-ipa/pkg-deinstall
new file mode 100644
index 0000000..b294b8f
--- /dev/null
+++ b/japanese/font-ipa/pkg-deinstall
@@ -0,0 +1,15 @@
+#!/bin/sh
+# $FreeBSD$
+
+if [ "$2" != "DEINSTALL" ]; then
+ exit 0
+fi
+FONTDIR=${PKG_PREFIX}/lib/X11/fonts/TrueType
+cd ${FONTDIR}
+sed -e '/-ipa-/d' fonts.dir > fonts.dir.tmp
+numfonts=$(echo $(cat fonts.dir.tmp | wc -l) - 1 | bc)
+echo ${numfonts} > fonts.dir
+sed -e 1d fonts.dir.tmp >> fonts.dir
+sed -e '/^-ipa-/d' fonts.alias > fonts.alias.tmp
+mv -f fonts.alias.tmp fonts.alias
+rm -f fonts.dir.tmp
diff --git a/japanese/font-ipa/pkg-descr b/japanese/font-ipa/pkg-descr
new file mode 100644
index 0000000..731094c
--- /dev/null
+++ b/japanese/font-ipa/pkg-descr
@@ -0,0 +1,5 @@
+Freely available Japanese TrueType fonts by
+Infomation-technology Promotion Agency (IPA) with
+http://www.grass-japan.org/FOSS4G/
+
+WWW: http://www.grass-japan.org/FOSS4G/readme-grass-i18n-ipafonts.eucjp.htm
diff --git a/japanese/font-ipa/pkg-install b/japanese/font-ipa/pkg-install
new file mode 100644
index 0000000..5b261cf
--- /dev/null
+++ b/japanese/font-ipa/pkg-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+# $FreeBSD$
+
+FONTDIR=${PKG_PREFIX}/lib/X11/fonts/TrueType
+if [ "$2" = "PRE-INSTALL" ]; then
+ echo "Please add ${FONTDIR} to your /etc/XF86Config file"
+ exit 0
+fi
+cd ${FONTDIR}
+touch fonts.dir
+sed -e '/-ipa-/d' fonts.dir > fonts.dir.tmp
+numfonts=$(echo $(cat fonts.dir.tmp fonts.dir.ipa | wc -l) - 2 | bc)
+echo ${numfonts} > fonts.dir
+sed -e 1d fonts.dir.tmp >> fonts.dir
+sed -e 1d fonts.dir.ipa >> fonts.dir
+touch fonts.alias
+sed -e '/^-ipa-/d' fonts.alias > fonts.alias.tmp
+mv -f fonts.alias.tmp fonts.alias
+cat fonts.alias.ipa >> fonts.alias
+rm -f fonts.dir.tmp fonts.alias.tmp
diff --git a/japanese/font-ipa/pkg-plist b/japanese/font-ipa/pkg-plist
new file mode 100644
index 0000000..5baadeb
--- /dev/null
+++ b/japanese/font-ipa/pkg-plist
@@ -0,0 +1,22 @@
+@comment $FreeBSD$
+%%FONTSDIR%%/fonts.alias.ipa
+%%FONTSDIR%%/fonts.dir.ipa
+%%FONTSDIR%%/ipag.ttf
+%%FONTSDIR%%/ipagp.ttf
+%%FONTSDIR%%/ipagui.ttf
+%%FONTSDIR%%/ipam.ttf
+%%FONTSDIR%%/ipamp.ttf
+%%PORTDOCS%%/license-ipafonts.eucjp
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@exec mkdir -p %%LOCALFONTSDIR%%
+@exec ln -s -f %D/%%FONTSDIR%%/ipag.ttf %%LOCALFONTSDIR%%/ipag.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/ipagp.ttf %%LOCALFONTSDIR%%/ipagp.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/ipagui.ttf %%LOCALFONTSDIR%%/ipagui.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/ipam.ttf %%LOCALFONTSDIR%%/ipam.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/ipamp.ttf %%LOCALFONTSDIR%%/ipamp.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipag.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipagp.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipagui.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipam.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipamp.ttf
+@unexec rmdir %%LOCALFONTSDIR%% 2> /dev/null || true
diff --git a/japanese/font-mplus-ipa/Makefile b/japanese/font-mplus-ipa/Makefile
new file mode 100644
index 0000000..b9f8190
--- /dev/null
+++ b/japanese/font-mplus-ipa/Makefile
@@ -0,0 +1,72 @@
+# New ports collection makefile for: IPA TrueType fonts
+# Date created: 18 July 2004
+# Whom: NAKATA, Maho <maho@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ipa-ttfonts
+PORTVERSION= 20040718
+CATEGORIES= japanese x11-fonts
+MASTER_SITES= http://www.grass-japan.org/FOSS4G/ipafonts/
+DISTNAME= grass5.0.3_i686-pc-linux-i18n-ipafull-gnu_bin
+DIST_SUBDIR= ipa-fonts
+
+MAINTAINER= maho@FreeBSD.org
+COMMENT= Freely available Japanese TrueType fonts by Infomation-technology Promotion Agency (IPA)
+
+USE_X_PREFIX= yes
+NO_BUILD= yes
+NO_PACKAGE= "License prohibits to distribute without i18n'ed GRASS http://www.grass-japan.org/FOSS4G/"
+NO_CDROM= "License prohibits to distribute without i18n'ed GRASS http://www.grass-japan.org/FOSS4G/"
+
+FONTSDIR= lib/X11/fonts/TrueType
+LOCALFONTSDIR= share/fonts/TrueType
+MAKE_ENV= FONTSDIR=${FONTSDIR}
+PLIST_SUB= FONTSDIR=${FONTSDIR} \
+ LOCALFONTSDIR=${LOCALBASE}/${LOCALFONTSDIR}
+
+WRKSRC= ${WRKDIR}
+
+DOC_FILES= license-ipafonts.eucjp
+
+do-install:
+.if !exists(${PREFIX}/${FONTSDIR})
+ @${ECHO} "*********************************************************"
+ @${ECHO} "Please add ${PREFIX}/${FONTSDIR} to your font path"
+ @${ECHO} "and load 'xtt' module in /etc/XF86Config."
+ @${ECHO} "*********************************************************"
+ ${MKDIR} ${PREFIX}/${FONTSDIR}
+.endif
+ ${INSTALL_DATA} ${WRKSRC}/fonts/ipag.ttf \
+ ${WRKSRC}/fonts/ipagp.ttf \
+ ${WRKSRC}/fonts/ipagui.ttf \
+ ${WRKSRC}/fonts/ipam.ttf \
+ ${WRKSRC}/fonts/ipamp.ttf \
+ ${FILESDIR}/fonts.dir.ipa \
+ ${FILESDIR}/fonts.alias.ipa \
+ ${PREFIX}/${FONTSDIR}
+ ${MKDIR} ${LOCALBASE}/${LOCALFONTSDIR}
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipag.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipag.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipagp.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipagp.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipagui.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipagui.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipam.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipam.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipamp.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipamp.ttf
+
+.for F in ${DOC_FILES}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}
+.endfor
+ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.mk>
diff --git a/japanese/font-mplus-ipa/distinfo b/japanese/font-mplus-ipa/distinfo
new file mode 100644
index 0000000..048852d
--- /dev/null
+++ b/japanese/font-mplus-ipa/distinfo
@@ -0,0 +1,2 @@
+MD5 (grass5.0.3_i686-pc-linux-i18n-ipafull-gnu_bin.tar.gz) = 38358c8d9e083f5e68dd403113b849ef
+SIZE (grass5.0.3_i686-pc-linux-i18n-ipafull-gnu_bin.tar.gz) = 47275548
diff --git a/japanese/font-mplus-ipa/files/fonts.alias.ipa b/japanese/font-mplus-ipa/files/fonts.alias.ipa
new file mode 100644
index 0000000..bad932d
--- /dev/null
+++ b/japanese/font-mplus-ipa/files/fonts.alias.ipa
@@ -0,0 +1,60 @@
+-aliastt-mincho-medium-ro-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-o-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-ri-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-i-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-ro-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-o-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-ri-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-i-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-r-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-ro-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-medium-o-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-medium-ri-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-medium-i-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-medium-r-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-ro-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-o-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-ri-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-i-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-r-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-ro-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-o-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-ri-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-i-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-r-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-ro-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-o-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-ri-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-i-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-r-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-ro-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-o-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-ri-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-i-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-ro-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-o-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-ri-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-i-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-r-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-ro-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-o-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-ri-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-i-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-r-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-ro-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-o-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-ri-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-i-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-r-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-ro-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-o-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-ri-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-i-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-r-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-ro-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-o-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-ri-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-i-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-r-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
diff --git a/japanese/font-mplus-ipa/files/fonts.dir.ipa b/japanese/font-mplus-ipa/files/fonts.dir.ipa
new file mode 100644
index 0000000..3bd5caa
--- /dev/null
+++ b/japanese/font-mplus-ipa/files/fonts.dir.ipa
@@ -0,0 +1,151 @@
+150
+ipag.ttf -ipa-IPAGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipag.ttf -ipa-IPAGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipag.ttf -ipa-IPAGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipag.ttf -ipa-IPAGothic-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipag.ttf -ipa-IPAGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipag.ttf -ipa-IPAGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipag.ttf -ipa-IPAGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipag.ttf -ipa-IPAGothic-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipag.ttf -ipa-IPAGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipag.ttf -ipa-IPAGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipag.ttf -ipa-IPAGothic-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipag.ttf -ipa-IPAGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+ipagp.ttf -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipagp.ttf -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipagp.ttf -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipagp.ttf -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipagp.ttf -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipagp.ttf -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+ipagui.ttf -ipa-IPAUIGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipagui.ttf -ipa-IPAUIGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipagui.ttf -ipa-IPAUIGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipagui.ttf -ipa-IPAUIGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipagui.ttf -ipa-IPAUIGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipagui.ttf -ipa-IPAUIGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+ipam.ttf -ipa-IPAMincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipam.ttf -ipa-IPAMincho-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipam.ttf -ipa-IPAMincho-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipam.ttf -ipa-IPAMincho-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipam.ttf -ipa-IPAMincho-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipam.ttf -ipa-IPAMincho-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipam.ttf -ipa-IPAMincho-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipam.ttf -ipa-IPAMincho-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipam.ttf -ipa-IPAMincho-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipam.ttf -ipa-IPAMincho-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipam.ttf -ipa-IPAMincho-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipam.ttf -ipa-IPAMincho-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+ipamp.ttf -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipamp.ttf -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipamp.ttf -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipamp.ttf -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipamp.ttf -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipamp.ttf -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-iso8859-1
diff --git a/japanese/font-mplus-ipa/pkg-deinstall b/japanese/font-mplus-ipa/pkg-deinstall
new file mode 100644
index 0000000..b294b8f
--- /dev/null
+++ b/japanese/font-mplus-ipa/pkg-deinstall
@@ -0,0 +1,15 @@
+#!/bin/sh
+# $FreeBSD$
+
+if [ "$2" != "DEINSTALL" ]; then
+ exit 0
+fi
+FONTDIR=${PKG_PREFIX}/lib/X11/fonts/TrueType
+cd ${FONTDIR}
+sed -e '/-ipa-/d' fonts.dir > fonts.dir.tmp
+numfonts=$(echo $(cat fonts.dir.tmp | wc -l) - 1 | bc)
+echo ${numfonts} > fonts.dir
+sed -e 1d fonts.dir.tmp >> fonts.dir
+sed -e '/^-ipa-/d' fonts.alias > fonts.alias.tmp
+mv -f fonts.alias.tmp fonts.alias
+rm -f fonts.dir.tmp
diff --git a/japanese/font-mplus-ipa/pkg-descr b/japanese/font-mplus-ipa/pkg-descr
new file mode 100644
index 0000000..731094c
--- /dev/null
+++ b/japanese/font-mplus-ipa/pkg-descr
@@ -0,0 +1,5 @@
+Freely available Japanese TrueType fonts by
+Infomation-technology Promotion Agency (IPA) with
+http://www.grass-japan.org/FOSS4G/
+
+WWW: http://www.grass-japan.org/FOSS4G/readme-grass-i18n-ipafonts.eucjp.htm
diff --git a/japanese/font-mplus-ipa/pkg-install b/japanese/font-mplus-ipa/pkg-install
new file mode 100644
index 0000000..5b261cf
--- /dev/null
+++ b/japanese/font-mplus-ipa/pkg-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+# $FreeBSD$
+
+FONTDIR=${PKG_PREFIX}/lib/X11/fonts/TrueType
+if [ "$2" = "PRE-INSTALL" ]; then
+ echo "Please add ${FONTDIR} to your /etc/XF86Config file"
+ exit 0
+fi
+cd ${FONTDIR}
+touch fonts.dir
+sed -e '/-ipa-/d' fonts.dir > fonts.dir.tmp
+numfonts=$(echo $(cat fonts.dir.tmp fonts.dir.ipa | wc -l) - 2 | bc)
+echo ${numfonts} > fonts.dir
+sed -e 1d fonts.dir.tmp >> fonts.dir
+sed -e 1d fonts.dir.ipa >> fonts.dir
+touch fonts.alias
+sed -e '/^-ipa-/d' fonts.alias > fonts.alias.tmp
+mv -f fonts.alias.tmp fonts.alias
+cat fonts.alias.ipa >> fonts.alias
+rm -f fonts.dir.tmp fonts.alias.tmp
diff --git a/japanese/font-mplus-ipa/pkg-plist b/japanese/font-mplus-ipa/pkg-plist
new file mode 100644
index 0000000..5baadeb
--- /dev/null
+++ b/japanese/font-mplus-ipa/pkg-plist
@@ -0,0 +1,22 @@
+@comment $FreeBSD$
+%%FONTSDIR%%/fonts.alias.ipa
+%%FONTSDIR%%/fonts.dir.ipa
+%%FONTSDIR%%/ipag.ttf
+%%FONTSDIR%%/ipagp.ttf
+%%FONTSDIR%%/ipagui.ttf
+%%FONTSDIR%%/ipam.ttf
+%%FONTSDIR%%/ipamp.ttf
+%%PORTDOCS%%/license-ipafonts.eucjp
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@exec mkdir -p %%LOCALFONTSDIR%%
+@exec ln -s -f %D/%%FONTSDIR%%/ipag.ttf %%LOCALFONTSDIR%%/ipag.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/ipagp.ttf %%LOCALFONTSDIR%%/ipagp.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/ipagui.ttf %%LOCALFONTSDIR%%/ipagui.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/ipam.ttf %%LOCALFONTSDIR%%/ipam.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/ipamp.ttf %%LOCALFONTSDIR%%/ipamp.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipag.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipagp.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipagui.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipam.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipamp.ttf
+@unexec rmdir %%LOCALFONTSDIR%% 2> /dev/null || true
diff --git a/japanese/ipa-ttfonts/Makefile b/japanese/ipa-ttfonts/Makefile
new file mode 100644
index 0000000..b9f8190
--- /dev/null
+++ b/japanese/ipa-ttfonts/Makefile
@@ -0,0 +1,72 @@
+# New ports collection makefile for: IPA TrueType fonts
+# Date created: 18 July 2004
+# Whom: NAKATA, Maho <maho@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ipa-ttfonts
+PORTVERSION= 20040718
+CATEGORIES= japanese x11-fonts
+MASTER_SITES= http://www.grass-japan.org/FOSS4G/ipafonts/
+DISTNAME= grass5.0.3_i686-pc-linux-i18n-ipafull-gnu_bin
+DIST_SUBDIR= ipa-fonts
+
+MAINTAINER= maho@FreeBSD.org
+COMMENT= Freely available Japanese TrueType fonts by Infomation-technology Promotion Agency (IPA)
+
+USE_X_PREFIX= yes
+NO_BUILD= yes
+NO_PACKAGE= "License prohibits to distribute without i18n'ed GRASS http://www.grass-japan.org/FOSS4G/"
+NO_CDROM= "License prohibits to distribute without i18n'ed GRASS http://www.grass-japan.org/FOSS4G/"
+
+FONTSDIR= lib/X11/fonts/TrueType
+LOCALFONTSDIR= share/fonts/TrueType
+MAKE_ENV= FONTSDIR=${FONTSDIR}
+PLIST_SUB= FONTSDIR=${FONTSDIR} \
+ LOCALFONTSDIR=${LOCALBASE}/${LOCALFONTSDIR}
+
+WRKSRC= ${WRKDIR}
+
+DOC_FILES= license-ipafonts.eucjp
+
+do-install:
+.if !exists(${PREFIX}/${FONTSDIR})
+ @${ECHO} "*********************************************************"
+ @${ECHO} "Please add ${PREFIX}/${FONTSDIR} to your font path"
+ @${ECHO} "and load 'xtt' module in /etc/XF86Config."
+ @${ECHO} "*********************************************************"
+ ${MKDIR} ${PREFIX}/${FONTSDIR}
+.endif
+ ${INSTALL_DATA} ${WRKSRC}/fonts/ipag.ttf \
+ ${WRKSRC}/fonts/ipagp.ttf \
+ ${WRKSRC}/fonts/ipagui.ttf \
+ ${WRKSRC}/fonts/ipam.ttf \
+ ${WRKSRC}/fonts/ipamp.ttf \
+ ${FILESDIR}/fonts.dir.ipa \
+ ${FILESDIR}/fonts.alias.ipa \
+ ${PREFIX}/${FONTSDIR}
+ ${MKDIR} ${LOCALBASE}/${LOCALFONTSDIR}
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipag.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipag.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipagp.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipagp.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipagui.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipagui.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipam.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipam.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/ipamp.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/ipamp.ttf
+
+.for F in ${DOC_FILES}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}
+.endfor
+ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.mk>
diff --git a/japanese/ipa-ttfonts/distinfo b/japanese/ipa-ttfonts/distinfo
new file mode 100644
index 0000000..048852d
--- /dev/null
+++ b/japanese/ipa-ttfonts/distinfo
@@ -0,0 +1,2 @@
+MD5 (grass5.0.3_i686-pc-linux-i18n-ipafull-gnu_bin.tar.gz) = 38358c8d9e083f5e68dd403113b849ef
+SIZE (grass5.0.3_i686-pc-linux-i18n-ipafull-gnu_bin.tar.gz) = 47275548
diff --git a/japanese/ipa-ttfonts/files/fonts.alias.ipa b/japanese/ipa-ttfonts/files/fonts.alias.ipa
new file mode 100644
index 0000000..bad932d
--- /dev/null
+++ b/japanese/ipa-ttfonts/files/fonts.alias.ipa
@@ -0,0 +1,60 @@
+-aliastt-mincho-medium-ro-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-o-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-ri-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-i-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-medium-ro-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-o-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-ri-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-i-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-r-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-medium-ro-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-medium-o-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-medium-ri-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-medium-i-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-medium-r-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-ro-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-o-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-ri-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-i-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-r-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-mincho-bold-ro-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-o-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-ri-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-i-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-r-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-mincho-bold-ro-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-o-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-ri-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-i-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-mincho-bold-r-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-ro-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-o-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-ri-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-i-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-medium-ro-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-o-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-ri-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-i-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-r-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-medium-ro-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-o-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-ri-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-i-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-medium-r-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-ro-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-o-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-ri-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-i-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-r-normal--0-0-0-0-p-0-jisx0208.1983-0 -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+-aliastt-gothic-bold-ro-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-o-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-ri-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-i-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-r-normal--0-0-0-0-p-0-jisx0201.1976-0 -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+-aliastt-gothic-bold-ro-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-o-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-ri-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-i-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1
+-aliastt-gothic-bold-r-normal--0-0-0-0-p-0-iso8859-1 -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
diff --git a/japanese/ipa-ttfonts/files/fonts.dir.ipa b/japanese/ipa-ttfonts/files/fonts.dir.ipa
new file mode 100644
index 0000000..3bd5caa
--- /dev/null
+++ b/japanese/ipa-ttfonts/files/fonts.dir.ipa
@@ -0,0 +1,151 @@
+150
+ipag.ttf -ipa-IPAGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipag.ttf -ipa-IPAGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipag.ttf -ipa-IPAGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipag.ttf -ipa-IPAGothic-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipag.ttf -ipa-IPAGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipag.ttf -ipa-IPAGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipag.ttf -ipa-IPAGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipag.ttf -ipa-IPAGothic-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipag.ttf -ipa-IPAGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipag.ttf -ipa-IPAGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipag.ttf -ipa-IPAGothic-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipag.ttf -ipa-IPAGothic-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipag.ttf -ipa-IPAGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipag.ttf -ipa-IPAGothic-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipag.ttf -ipa-IPAGothic-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+ipagp.ttf -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipagp.ttf -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipagp.ttf -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipagp.ttf -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipagp.ttf -ipa-IPAPGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipagp.ttf -ipa-IPAPGothic-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipagp.ttf -ipa-IPAPGothic-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipagp.ttf -ipa-IPAPGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipagp.ttf -ipa-IPAPGothic-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipagp.ttf -ipa-IPAPGothic-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+ipagui.ttf -ipa-IPAUIGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipagui.ttf -ipa-IPAUIGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipagui.ttf -ipa-IPAUIGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipagui.ttf -ipa-IPAUIGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipagui.ttf -ipa-IPAUIGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipagui.ttf -ipa-IPAUIGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipagui.ttf -ipa-IPAUIGothic-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipagui.ttf -ipa-IPAUIGothic-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+ipam.ttf -ipa-IPAMincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipam.ttf -ipa-IPAMincho-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipam.ttf -ipa-IPAMincho-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipam.ttf -ipa-IPAMincho-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipam.ttf -ipa-IPAMincho-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipam.ttf -ipa-IPAMincho-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipam.ttf -ipa-IPAMincho-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipam.ttf -ipa-IPAMincho-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipam.ttf -ipa-IPAMincho-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipam.ttf -ipa-IPAMincho-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipam.ttf -ipa-IPAMincho-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipam.ttf -ipa-IPAMincho-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipam.ttf -ipa-IPAMincho-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipam.ttf -ipa-IPAMincho-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipam.ttf -ipa-IPAMincho-bold-ro-normal--0-0-0-0-c-0-iso8859-1
+ipamp.ttf -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ipamp.ttf -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-jisx0208.1983-0
+ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-jisx0208.1983-0
+bw=0.5:ipamp.ttf -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ipamp.ttf -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-jisx0201.1976-0
+bw=0.5:ipamp.ttf -ipa-IPAPMincho-medium-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.15:ipamp.ttf -ipa-IPAPMincho-medium-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ai=0.08:ipamp.ttf -ipa-IPAPMincho-medium-ro-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ipamp.ttf -ipa-IPAPMincho-bold-r-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-i-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.15:ipamp.ttf -ipa-IPAPMincho-bold-o-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ri-normal--0-0-0-0-c-0-iso8859-1
+bw=0.5:ds=y:ai=0.08:ipamp.ttf -ipa-IPAPMincho-bold-ro-normal--0-0-0-0-c-0-iso8859-1
diff --git a/japanese/ipa-ttfonts/pkg-deinstall b/japanese/ipa-ttfonts/pkg-deinstall
new file mode 100644
index 0000000..b294b8f
--- /dev/null
+++ b/japanese/ipa-ttfonts/pkg-deinstall
@@ -0,0 +1,15 @@
+#!/bin/sh
+# $FreeBSD$
+
+if [ "$2" != "DEINSTALL" ]; then
+ exit 0
+fi
+FONTDIR=${PKG_PREFIX}/lib/X11/fonts/TrueType
+cd ${FONTDIR}
+sed -e '/-ipa-/d' fonts.dir > fonts.dir.tmp
+numfonts=$(echo $(cat fonts.dir.tmp | wc -l) - 1 | bc)
+echo ${numfonts} > fonts.dir
+sed -e 1d fonts.dir.tmp >> fonts.dir
+sed -e '/^-ipa-/d' fonts.alias > fonts.alias.tmp
+mv -f fonts.alias.tmp fonts.alias
+rm -f fonts.dir.tmp
diff --git a/japanese/ipa-ttfonts/pkg-descr b/japanese/ipa-ttfonts/pkg-descr
new file mode 100644
index 0000000..731094c
--- /dev/null
+++ b/japanese/ipa-ttfonts/pkg-descr
@@ -0,0 +1,5 @@
+Freely available Japanese TrueType fonts by
+Infomation-technology Promotion Agency (IPA) with
+http://www.grass-japan.org/FOSS4G/
+
+WWW: http://www.grass-japan.org/FOSS4G/readme-grass-i18n-ipafonts.eucjp.htm
diff --git a/japanese/ipa-ttfonts/pkg-install b/japanese/ipa-ttfonts/pkg-install
new file mode 100644
index 0000000..5b261cf
--- /dev/null
+++ b/japanese/ipa-ttfonts/pkg-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+# $FreeBSD$
+
+FONTDIR=${PKG_PREFIX}/lib/X11/fonts/TrueType
+if [ "$2" = "PRE-INSTALL" ]; then
+ echo "Please add ${FONTDIR} to your /etc/XF86Config file"
+ exit 0
+fi
+cd ${FONTDIR}
+touch fonts.dir
+sed -e '/-ipa-/d' fonts.dir > fonts.dir.tmp
+numfonts=$(echo $(cat fonts.dir.tmp fonts.dir.ipa | wc -l) - 2 | bc)
+echo ${numfonts} > fonts.dir
+sed -e 1d fonts.dir.tmp >> fonts.dir
+sed -e 1d fonts.dir.ipa >> fonts.dir
+touch fonts.alias
+sed -e '/^-ipa-/d' fonts.alias > fonts.alias.tmp
+mv -f fonts.alias.tmp fonts.alias
+cat fonts.alias.ipa >> fonts.alias
+rm -f fonts.dir.tmp fonts.alias.tmp
diff --git a/japanese/ipa-ttfonts/pkg-plist b/japanese/ipa-ttfonts/pkg-plist
new file mode 100644
index 0000000..5baadeb
--- /dev/null
+++ b/japanese/ipa-ttfonts/pkg-plist
@@ -0,0 +1,22 @@
+@comment $FreeBSD$
+%%FONTSDIR%%/fonts.alias.ipa
+%%FONTSDIR%%/fonts.dir.ipa
+%%FONTSDIR%%/ipag.ttf
+%%FONTSDIR%%/ipagp.ttf
+%%FONTSDIR%%/ipagui.ttf
+%%FONTSDIR%%/ipam.ttf
+%%FONTSDIR%%/ipamp.ttf
+%%PORTDOCS%%/license-ipafonts.eucjp
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@exec mkdir -p %%LOCALFONTSDIR%%
+@exec ln -s -f %D/%%FONTSDIR%%/ipag.ttf %%LOCALFONTSDIR%%/ipag.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/ipagp.ttf %%LOCALFONTSDIR%%/ipagp.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/ipagui.ttf %%LOCALFONTSDIR%%/ipagui.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/ipam.ttf %%LOCALFONTSDIR%%/ipam.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/ipamp.ttf %%LOCALFONTSDIR%%/ipamp.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipag.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipagp.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipagui.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipam.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/ipamp.ttf
+@unexec rmdir %%LOCALFONTSDIR%% 2> /dev/null || true
OpenPOWER on IntegriCloud