summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds26
-rw-r--r--Master/tlpkg/tlpsrc/jfontmaps.tlpsrc5
2 files changed, 26 insertions, 5 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 5e990a5624e..bcc8a8ceb2d 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -486,7 +486,6 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'javadoc', "die 'skipping, requires java and no source'",
'jeopardy', "die 'skipping, requires dpstory packages'",
'jflap2tikz', "die 'skipping, requires java'",
- 'jfontmaps', "&MAKEflatten",
'jhep', "die 'skipping, probably nonfree license'",
'jj_game', "die 'skipping, requires acrotex'",
'jkthesis', "die 'skipping, probably nonfree license, ca.2002'",
@@ -1126,6 +1125,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'ibygrk' => '&POSTibygrk',
'impatient' => '&POSTimpatient',
'interactiveworkbook' => '&POSTinteractiveworkbook',
+ 'jfontmaps' => '&POSTjfontmaps',
'knitting' => '&POSTknitting',
'knuth' => '&POSTknuth',
'koma-script' => '&POST_rmsymlink',
@@ -2254,7 +2254,6 @@ $standardmapdest = "fonts/map/dvips";
'adobemapping' => "fonts/cmap",
'arabxetex' => "fonts/misc/xetex/fontmapping",
'ipaex' => "fonts/map/dvipdfmx",
- 'jfontmaps' => "fonts/map/dvipdfmx",
'xepersian' => "fonts/misc/xetex/fontmapping",
'xetex-devanagari' => "fonts/misc/xetex/fontmapping",
'xetex-itrans' => "fonts/misc/xetex/fontmapping",
@@ -2349,7 +2348,6 @@ $standardxmt='\.xmt';
'fragmaster' => 'fragmaster\.pl$',
'fontools' => '(afm2afm|autoinst|ot2kpx)$',
'installfont' => 'installfont-tl',
- 'jfontmaps' => 'kanji-fontmap-creator|updmap-setup-kanji\.pl|updmap-setup-kanji-sys.sh',
'latex2man' => 'latex2man$',
'latexdiff' => 'latex(diff|diff-vc|revise)\.pl$',
'latexmk' => '\.pl$',
@@ -5249,6 +5247,28 @@ sub POSTinteractiveworkbook {
&SYSTEM ("rmdir interactiveworkbook.sty");
}
+sub POSTjfontmaps {
+ print "\t POST$package - move directories around\n";
+ # dir "src" content -> run files
+ # dir "no_runtime" content -> source files
+ # dir "tool" as a whole -> source files
+ # dir "doc" content to -> doc files (one dir up!)
+ my $mapdest = "$DEST/fonts/map/dvipdfmx/$package";
+ my $cmapdest= "$DEST/fonts/cmap/$package";
+ my $scriptdest = "$DEST/scripts/$package";
+ my $srcdest = "$DEST/source/$package";
+ &xmkdir ($mapdest);
+ &xmkdir ($cmapdest);
+ &xmkdir ($scriptdest);
+ &xmkdir ($srcdest);
+ &SYSTEM ("$MV cmap/* $cmapdest");
+ &SYSTEM ("rmdir cmap");
+ &SYSTEM ("$MV script/kanji-* $scriptdest");
+ &SYSTEM ("$MV jis04cmap_exp tools script $srcdest");
+ &SYSTEM ("$MV hiragino* ipa* kozuka* morisawa* noEmbed ms $mapdest");
+}
+
+
sub POSTknitting {
print "POST$package - move generic .tex file\n";
my $dest = "$DEST/tex/plain/$package";
diff --git a/Master/tlpkg/tlpsrc/jfontmaps.tlpsrc b/Master/tlpkg/tlpsrc/jfontmaps.tlpsrc
index 5c440ad1433..3cc5259fbb7 100644
--- a/Master/tlpkg/tlpsrc/jfontmaps.tlpsrc
+++ b/Master/tlpkg/tlpsrc/jfontmaps.tlpsrc
@@ -1,4 +1,5 @@
runpattern +d texmf-dist/fonts/map/dvipdfmx/jfontmaps
-binpattern f bin/${ARCH}/updmap-setup-kanji
-binpattern f bin/${ARCH}/updmap-setup-kanji-sys
+runpattern +d texmf-dist/fonts/cmap/jfontmaps
+binpattern f bin/${ARCH}/kanji-config-updmap
+binpattern f bin/${ARCH}/kanji-config-updmap-sys
binpattern f bin/${ARCH}/kanji-fontmap-creator