summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds23
1 files changed, 21 insertions, 2 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 3611f523fb3..28183919694 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -526,9 +526,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'texdraw', "&MAKEtexdraw",
'texpower', "&MAKEnosymlinks",
'texsis', "&MAKEtexsis",
- 'thaifonts', "die 'skipping, see TODO'",
'thaifonts-scalable', "die 'Thai, fontforge format only, skip'",
- 'thailatex', "die 'Thai, requires preprocessor (?), skip'",
'thsmc', "die 'skipping, requires nonfree font'",
'ticket', "&MAKEflatten",
'tipa', "&MAKEtipa",
@@ -618,6 +616,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'pst-cox' => '&POSTpstcox',
'pst-geo' => '&POSTpstgeo',
'splitindex' => '&POSTsplitindex',
+ 'thailatex' => '&POSTthailatex',
'xecyr' => '&POSTxecyr',
'xetex-pstricks' => '&POSTxetexpstricks',
'zhspacing' => '&POSTzhspacing',
@@ -657,6 +656,7 @@ $standardsource='\.fdd|\.dtx|\.ins|\.c$|Makefile|configure.*|install-sh|\.drv';
'patch', '\.doc',
'pgfplots', 'NULL', # keep manual.install.tex in doc/
'rcs', 'rcs.el|src|' . $standardsource,
+ 'thailatex', 'NULL', # no gain in breaking this up
'xlop', 'manual.sty|' . $standardsource,
);
@@ -3738,6 +3738,25 @@ sub POSTsplitindex
&SYSTEM ("$MV doc/latex/splitindex/$package.1 $mydest");
}
+sub POSTthailatex
+{
+ # don't install tlatex since we don't have the other preprocessors
+ # it needs to actually work.
+ print "POST$package - mv fonts\n";
+ my $fontdir = "$TOPDEST/texmf-dist/fonts/";
+ for my $ext ("afm", "pfb") {
+ my $level = $ext eq "pfb" ? "type1" : $ext;
+ my $dest = "$fontdir/$level/public/$package/";
+ &xmkdir ($dest);
+ &SYSTEM ("$MV fonts/*.$ext $dest");
+ }
+
+ # somehow it seems more appropriate to put everything in source/
+ # than doc/ in this case. Their doc/ dir seems to be just examples.
+ &xchdir ($DEST);
+ &SYSTEM ("$MV doc/latex/$package source/latex/$package");
+}
+
sub POSTxecyr
{
print "POST$package - handling bat, moving language.dat.add from runtime\n";