aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2010-03-02 04:50:41 +0000
committerHiroki Sato <hrs@FreeBSD.org>2010-03-02 04:50:41 +0000
commit40d3951c8e8dbc38eae65346f00251f944bc1f25 (patch)
tree519605f400214353f6f3bc542d26f6b4da29d69e /japanese
parent3b7f26a8cabc6f03b261bfe835c7c23cd794670e (diff)
downloadports-40d3951c8e8dbc38eae65346f00251f944bc1f25.tar.gz
ports-40d3951c8e8dbc38eae65346f00251f944bc1f25.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/font-ipa/Makefile8
-rw-r--r--japanese/font-ipa/distinfo6
-rw-r--r--japanese/font-ipa/files/pkg-install.in2
3 files changed, 9 insertions, 7 deletions
diff --git a/japanese/font-ipa/Makefile b/japanese/font-ipa/Makefile
index 9f817e6663ee..b2e5c30be58b 100644
--- a/japanese/font-ipa/Makefile
+++ b/japanese/font-ipa/Makefile
@@ -5,8 +5,7 @@
#
PORTNAME= font-ipa
-PORTVERSION= 00301
-PORTREVISION= 2
+PORTVERSION= 00302
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://info.openlab.ipa.go.jp/ipafont/fontdata/
DISTNAME= IPAfont${PORTVERSION}
@@ -27,11 +26,14 @@ SUB_LIST= X_FONTSDIR=${PREFIX}/${X_FONTSDIR}
PLIST_SUB= X_FONTSDIR=${X_FONTSDIR} \
LOCAL_FONTSDIR=${LOCAL_FONTSDIR}
PORTDOCS= IPA_Font_License_Agreement_v1.0.txt \
- Readme${PORTVERSION}.txt
+ Readme_IPAfont${PORTVERSION}.txt
LOCAL_FONTSDIR= share/fonts
X_FONTSDIR= lib/X11/fonts
+post-extract:
+ cd ${WRKSRC} && for F in *.ttf; do ${MV} $${F} $${F%.ttf}.otf; done
+
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.otf ${DATADIR}
diff --git a/japanese/font-ipa/distinfo b/japanese/font-ipa/distinfo
index 833f2562c89f..58d3b61d91ce 100644
--- a/japanese/font-ipa/distinfo
+++ b/japanese/font-ipa/distinfo
@@ -1,3 +1,3 @@
-MD5 (IPAfont00301.zip) = 30507ad52137a0fe9fa29e90c349ff55
-SHA256 (IPAfont00301.zip) = f3df7527dec37e1d8fcd34c5e0b46797372321f4a0ba15b902a145f78bd7e4cc
-SIZE (IPAfont00301.zip) = 10255237
+MD5 (IPAfont00302.zip) = 6453ecb300918b51e1bc16f87693174a
+SHA256 (IPAfont00302.zip) = 5cb52a0dc99400b75455a829aad77915f0823ef4d8811ee3190654006439fb65
+SIZE (IPAfont00302.zip) = 20113208
diff --git a/japanese/font-ipa/files/pkg-install.in b/japanese/font-ipa/files/pkg-install.in
index 6a3088596618..09ce290836b0 100644
--- a/japanese/font-ipa/files/pkg-install.in
+++ b/japanese/font-ipa/files/pkg-install.in
@@ -9,7 +9,7 @@ catfontsdir ()
do
case "${_IN}" in
*-ipa-IPAUI*|*-ipa-[MU]*) echo ${_IN} ;;
- *-ipa-[Mm]incho-*|*-ipa-[Gg]othic-*|*-ipa-IPA*|[0-9]*|"") ;;
+ *-ipa-[Mm]incho-*|*-ipa-[Gg]othic-*|*-ipa-IPA[PMmGg]*|[0-9]*|"") ;;
*) echo ${_IN} ;;
esac
done