summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-29 17:27:38 +0000
committerKarl Berry <karl@freefriends.org>2011-01-29 17:27:38 +0000
commit5653f521de3c7bb4734e39cd3b84164bba23a39a (patch)
tree0130dcd3c463476046c00e8e370131486146d2e8 /Master/tlpkg/libexec/ctan2tds
parent7d7ca96b28d4e8cdcda09c5ee2e74ac30a79d03a (diff)
new font package ptsans
git-svn-id: svn://tug.org/texlive/trunk@21222 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 469efaa639a..6b64ee418a2 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -656,6 +656,7 @@ $Master = "$mydir/../..";
'pstrees', "die 'skipping, obsolete (for latex 2.09)'",
'pstricks', "&MAKEpstricks",
'pstricks-add',"&MAKEpst",
+ 'ptsans', "&MAKEcopy",
'pxfonts', "&MAKEflatten",
'r2bib', "die 'skipping, requires compilation'",
'ragged2e', "die 'skipping, part of ms'",
@@ -844,6 +845,7 @@ $Master = "$mydir/../..";
'prerex' => '&POSTprerex',
'pst-cox' => '&POSTpstcox',
'pst-geo' => '&POSTpstgeo',
+ 'ptsans' => '&POSTptsans',
'splitindex' => '&POSTsplitindex',
'thailatex' => '&POSTthailatex',
'xecyr' => '&POSTxecyr',
@@ -4255,6 +4257,21 @@ sub POSTpstgeo {
&SYSTEM ("$MV doc/* .");
}
+sub POSTptsans {
+ print "POST$package - enc/map dirs, space names\n";
+ for my $type ("enc", "map") {
+ &SYSTEM ("$MV $DEST/fonts/$type/dvips/paratype/$package "
+ . "$DEST/fonts/$type/dvips/");
+ };
+ &xchdir ("$DEST/doc/fonts/$package");
+ for my $spacefile (<PT*>) { # PT Free Font License...
+ (my $file = $spacefile) =~ s/ //g;
+ print "\t $spacefile->$file\n";
+ rename ($spacefile, $file)
+ || warn "rename($spacefile->$file) failed: $!";
+ }
+}
+
# has to be post instead of specialman because we use the tds.zip.
sub POSTsplitindex {
print "POST$package - mv man page\n";