aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-ipa/files/pkg-install.in
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2009-05-31 09:15:47 +0000
committerHiroki Sato <hrs@FreeBSD.org>2009-05-31 09:15:47 +0000
commit605c645403a0942e8cd24ba195e6810f900a5caf (patch)
tree350171deb894857d61435aebb15fca68368211b0 /japanese/font-ipa/files/pkg-install.in
parent6f723e29fc4b85bb35096a4ee60120021940fd52 (diff)
Ports for Japanese fonts have been reorganized in the following way:
japanese/ipa-ttfonts -> japanese/font-mplus-ipa japanese/ipa-ttfonts -> japanese/font-ipa japanese/kochi-ttfonts -> japanese/font-kochi japanese/mplusfonts -> japanese/font-mplus japanese/sazanami-ttf -> japanese/font-sazanami japanese/shinonome -> japanese/font-shinonome japanese/umefont -> japanese/font-ume japanese/vlgothic -> japanese/font-vlgothic While basically these are port name changes for consistency, installation directories are also changed: font files -> ${PREFIX}/share/${PORTNAME}/* symlinks -> ${PREFIX}/share/fonts/{TTF,OTF,fontname,...}/* symlinks -> ${PREFIX}/lib/X11/fonts/{TTF,OTF,misc,fontname,...}/* A user-visible one is that the directory name "TrueType" is replaced with "TTF".
Notes
Notes: svn path=/head/; revision=234895
Diffstat (limited to 'japanese/font-ipa/files/pkg-install.in')
-rw-r--r--japanese/font-ipa/files/pkg-install.in27
1 files changed, 10 insertions, 17 deletions
diff --git a/japanese/font-ipa/files/pkg-install.in b/japanese/font-ipa/files/pkg-install.in
index 6a1cdc6f8554..5532f169b572 100644
--- a/japanese/font-ipa/files/pkg-install.in
+++ b/japanese/font-ipa/files/pkg-install.in
@@ -1,13 +1,14 @@
#!/bin/sh
# $FreeBSD$
-X_FONTSDIR=%%X_FONTSDIR%%/TrueType
+X_FONTSDIR=%%X_FONTSDIR%%/OTF
catfontsdir ()
{
while read _IN
do
case "${_IN}" in
+ *-ipa-IPAUI*|*-ipa-[MU]*) echo ${_IN} ;;
*-ipa-*|[0-9]*|"") ;;
*) echo ${_IN} ;;
esac
@@ -58,22 +59,14 @@ addentries ()
{
for ENC in iso8859-1 iso10646-1 jisx0201.1976-0 jisx0208.1983-0 jisx0208.1990-0
do
- make_xlfd $ENC ipag.ttf ipa IPAGothic c
- make_xlfd $ENC ipag.ttf ipa gothic c
- make_xlfd $ENC ipagp.ttf ipa IPAPGothic p
- make_xlfd $ENC ipagp.ttf ipa gothic p
- make_xlfd $ENC ipagui.ttf ipa IPAUIGothic c
- make_xlfd $ENC ipagui.ttf ipa UIGothic c
- make_xlfd $ENC ipam.ttf ipa IPAMincho c
- make_xlfd $ENC ipam.ttf ipa mincho c
- make_xlfd $ENC ipamp.ttf ipa IPAPMincho p
- make_xlfd $ENC ipamp.ttf ipa mincho p
- make_xlfd $ENC M+2VM+IPAG-circle.ttf ipa M+2VM+IPAG_circle c
- make_xlfd $ENC M+1VM+IPAG-circle.ttf ipa M+1VM+IPAG_circle c
- make_xlfd $ENC M+1P+IPAG.ttf ipa M+1P+IPAG p
- make_xlfd $ENC M+1P+IPAG-circle.ttf ipa M+1P+IPAG_circle p
- make_xlfd $ENC M+2P+IPAG.ttf ipa M+2P+IPAG p
- make_xlfd $ENC M+2P+IPAG-circle.ttf ipa M+2P+IPAG_circle p
+ make_xlfd $ENC ipag.otf ipa IPAGothic c
+ make_xlfd $ENC ipag.otf ipa gothic c
+ make_xlfd $ENC ipagp.otf ipa IPAPGothic p
+ make_xlfd $ENC ipagp.otf ipa gothic p
+ make_xlfd $ENC ipam.otf ipa IPAMincho c
+ make_xlfd $ENC ipam.otf ipa mincho c
+ make_xlfd $ENC ipamp.otf ipa IPAPMincho p
+ make_xlfd $ENC ipamp.otf ipa mincho p
done
}