From 5653f521de3c7bb4734e39cd3b84164bba23a39a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 29 Jan 2011 17:27:38 +0000 Subject: new font package ptsans git-svn-id: svn://tug.org/texlive/trunk@21222 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/libexec/ctan2tds | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'Master/tlpkg/libexec') 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 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"; -- cgit v1.2.3