diff options
author | Karl Berry <karl@freefriends.org> | 2009-01-01 17:29:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-01-01 17:29:12 +0000 |
commit | b3a7d32cd931f17f377ff56040b0d7f3a5124ee7 (patch) | |
tree | edcbec35cf75a875673906a419f92f5ca23459e5 /Master/tlpkg/libexec/ctan2tds | |
parent | 3f3f3898a80585790663933ff97729ce2704f3e7 (diff) |
rm c90enc, now named c90 per wl
git-svn-id: svn://tug.org/texlive/trunk@11782 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 67 |
1 files changed, 18 insertions, 49 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 30651acf2b4..6d1495bfa4e 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -16,7 +16,11 @@ # # All the patterns for what to move or run can be overridden per-package. -use English; +BEGIN { + ($mydir = $0) =~ s,/[^/]*$,,; + unshift (@INC, "$mydir/../libexec"); +} + use Getopt::Long; use File::Basename; use Cwd; @@ -421,10 +425,10 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'revnum', "die 'skipping, obsolete'", 'revtex', "&MAKEflatten", 'rsfs', "&MAKEflatten", - 'sae', "die 'skipping, nosell license'", + 'sae', "die 'skipping, nosell'", 'seminar', "&MAKEseminar", 'shipunov', "&MAKEcopy", - 'shortlst', "die 'skipping, nosell license'", + 'shortlst', "die 'skipping, nosell'", 'showexpl', "&MAKEflatten", 'siam', "&MAKEsiam", 'skak', "&MAKEflatten", @@ -433,11 +437,12 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'staves', "&MAKEflatten", 'stellenbosch',"&MAKEcopy", 'stex', "&MAKEflatten", + 'streetex', "die 'skipping, nonfree'", 'symbolindex', "die 'skipping, requires binary'", 't2', "&MAKEt2", 'tamethebeast',"&MAKEtamethebeast", 'tamil-omega', "die 'skipping, supports nonfree ISM fonts'", #"&MAKEflatten", - 'taylor', "die 'skipping, nonfree license'", + 'taylor', "die 'skipping, nonfree'", 'template', "die 'already part of xpackages'", 'tengwarscript',"&MAKEflatten", 'tex-gyre', "&MAKEcopy", @@ -3275,42 +3280,42 @@ sub MAKEcjk_common &xchdir ($packagedir); # also need cjk doc tarball. should move in next release. - my $cjkdoc = "/home/ftp/tex-archive/language/chinese/cjk-4.8.1-doc.tar.gz"; - &SYSTEM ("tar -C ?.?.? -xf $cjkdoc --strip-components=1"); + my $cjkdoc = "cjk-?.?.?-doc.tar.gz"; + &SYSTEM ("tar -C cjk-?.?.? -xf $cjkdoc --strip-components=1"); # remove the version number top-level directory. - &SYSTEM ("$RM *.zip && $MV ?.?.?/* . && rmdir ?.?.?"); + &SYSTEM ("$RM *.tar.gz && $MV cjk-?.?.?/* . && rmdir cjk-?.?.?"); } sub MAKEcjk { &MAKEcjk_common (); - #require "/home/karl/c/cjk.pl"; + require "cjk.pl"; # in tlpkg/libexec } sub MAKEbin_cjkutils { &MAKEcjk_common (); - #require "/home/karl/c/bin-cjkutils.pl"; + require "bin-cjkutils.pl"; } sub MAKEc90 { &MAKEcjk_common (); - #require "/home/karl/c/c90.pl"; + require "c90.pl"; } sub MAKEdnp { &MAKEcjk_common (); - #require "/home/karl/c/dnp.pl"; + require "dnp.pl"; # have to mv texmf/fonts/sfd to texmf-dist/fonts/sfd/ttf2tpk and rm DNP.sfd } sub MAKEgaruda_c90 { &MAKEcjk_common (); - #require "/home/karl/c/garuda-c90.pl"; + require "garuda-c90.pl"; # have to figure out how to get existing garuda/norasi files from # /home/ftp/tex-archive/language/thai/thailatex/fonts/ } @@ -3318,45 +3323,9 @@ sub MAKEgaruda_c90 sub MAKEnorasi_c90 { &MAKEcjk_common (); - #require "/home/karl/c/norasi-c90.pl"; + require "norasi-c90.pl"; } -sub MAKEkarlcjk -{ - print "\t SPECIAL $package wholesale rearranging\n"; - # - &setup (); - # - # start by removing the version number top-level directory. - &xchdir ($DOCDIR); - &SYSTEM ("$RM *.zip && $MV 4.8.?/* . && rmdir 4.8.?"); - # - &xchdir ($DEST); - # - # move contrib into source subdir. - &SYSTEM ("$MV $DOCDIR/contrib source/latex/cjk/"); - # - # rename texinput to tex/latex/cjk. - &SYSTEM ("rmdir tex/latex/cjk; $MV $DOCDIR/texinput tex/latex/cjk"); - # - # rename texlive, contains modified KS/HLaTeX .fd files. - my $ksl_dest = "tex/latex/cjk/contrib/hlatex-texlive"; - &xmkdir ($ksl_dest); - &SYSTEM ("$MV $DOCDIR/texlive $ksl_dest"); - # - # move utils into source subdir too, wht we have in - # Build/source/texk/cjkutils is a tiny subset. - &SYSTEM ("$MV $DOCDIR/utils source/latex/cjk/"); - # - # remove the thaifont runtime files which we painfully package separately. - # but leave other thaifont files here, not worth dealing. - &SYSTEM ("rm -rf source/latex/cjk/utils/thaifont/texmf"); - # - # We need the wadalab fd files. - my $wada_dest = "tex/latex/cjk/contrib/wadalab"; - &xmkdir ($wada_dest); - &SYSTEM ("$MV source/latex/cjk/contrib/wadalab/*.fd* $wada_dest/"); -} sub MAKEcmlgc { |