[112519] trunk/dports/tex/pTeX/Portfile
takanori at macports.org
takanori at macports.org
Fri Oct 25 01:39:56 PDT 2013
Revision: 112519
https://trac.macports.org/changeset/112519
Author: takanori at macports.org
Date: 2013-10-25 01:39:56 -0700 (Fri, 25 Oct 2013)
Log Message:
-----------
pTeX: fixed missing fontmap (utf-yu.map)
Modified Paths:
--------------
trunk/dports/tex/pTeX/Portfile
Modified: trunk/dports/tex/pTeX/Portfile
===================================================================
--- trunk/dports/tex/pTeX/Portfile 2013-10-25 07:34:35 UTC (rev 112518)
+++ trunk/dports/tex/pTeX/Portfile 2013-10-25 08:39:56 UTC (rev 112519)
@@ -4,7 +4,7 @@
name pTeX
version 20110314
-revision 9
+revision 10
epoch ${version}
set ver_ptetex3 20080616
set ver_dvipdfmx 20110311
@@ -252,14 +252,21 @@
delete ${destroot}${prefix}/share/info/dir
copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/ptex-hiragino.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/ptex-yu.map
+ copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-hiraginoEmbed.map
+ copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-yuEmbed.map
+ if {[variant_isset otf]} {
+ copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/otf-hiragino.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/otf-yu.map
+ copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/utf-hiragino.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/utf-yu.map
+ }
+
foreach {hira yu} {HiraMinPro-W3 YuMin-Medium.otf
HiraKakuPro-W6 YuGo-Bold.otf} {
reinplace "s|${hira}|${yu}|g" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/ptex-yu.map
+ if {[variant_isset otf]} {
+ reinplace "s|${hira}|${yu}|g" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/utf-yu.map
+ }
}
- copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-hiraginoEmbed.map
- copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-yuEmbed.map
- if {[variant_isset otf]} {copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/otf-hiragino.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/otf-yu.map}
foreach {mori hira yu} {Ryumin-Light HiraMinPro-W3.otf YuMin-Medium.otf
GothicBBB-Medium HiraKakuPro-W3.otf YuGo-Medium.otf
FutoMinA101-Bold HiraMinPro-W6.otf YuMin-Demibold.otf
@@ -267,7 +274,9 @@
Jun101-Light HiraMaruPro-W4.otf HiraMaruPro-W4.otf} {
reinplace "s|${mori}|${hira}|g" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-hiraginoEmbed.map
reinplace "s|${mori}|${yu}|g" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-yuEmbed.map
- if {[variant_isset otf]} {reinplace "s|${hira}|${yu}|g" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/otf-yu.map}
+ if {[variant_isset otf]} {
+ reinplace "s|${hira}|${yu}|g" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/otf-yu.map
+ }
}
foreach d {texmf texmf-config} {
if {[file exists ${destroot}${prefix}/share/${d}/web2c/updmap.cfg]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131025/d50cccc3/attachment.html>
More information about the macports-changes
mailing list