aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9f817e6663e..b2e5c30be58 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 833f2562c89..58d3b61d91c 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 6a308859661..09ce290836b 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