summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-10 14:51:31 +0000
committerKarl Berry <karl@freefriends.org>2010-06-10 14:51:31 +0000
commitb6d1ce2a105a839a1cf75d4b4ccb8f5827d22b4c (patch)
treec40c4afa4ac09c7e3d1f7f47fe66afd7513d1523 /Master/tlpkg
parentda353234f401986deb76831d76effffd0d0e2257 (diff)
mathspic script
git-svn-id: svn://tug.org/texlive/trunk@18868 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rwxr-xr-xMaster/tlpkg/bin/tlpkginfo8
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds3
-rw-r--r--Master/tlpkg/tlpsrc/collection-pictures.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/mathspic.tlpsrc1
5 files changed, 12 insertions, 3 deletions
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index c42ef63e4d4..79add3bcc17 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -199,7 +199,7 @@ my @TLP_working = qw(
makebarcode makebox makecell makecirc makecmds makedtx makeglos makeplot
manuscript maple margbib
marginnote marvosym mathabx mathcomp mathdots mathexam
- mathmode mathspec mattens maybemath
+ mathmode mathspec mathspic mattens maybemath
mcaption mceinleger mcite mciteplus mdframed mdwtools memdesign memexsupp
memoir MemoirChapStyles mentis
menu
diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo
index 4aa47a063f2..80b088f38b9 100755
--- a/Master/tlpkg/bin/tlpkginfo
+++ b/Master/tlpkg/bin/tlpkginfo
@@ -163,6 +163,12 @@ sub find_ctan_dir
if $me =~ /^hyphen-/ && ! $ctan_dir;
}
+ # In the case of mathspic, we cannot use the catalogue directory,
+ # since we want to ignore the dos/ subdir and just go with the perl/.
+ if ($me eq "mathspic") {
+ $ctan_dir .= "/perl";
+ }
+
# prepend ctan root if not an absolute dir (this happens when we make
# a temp dir).
$ctan_dir = "$CTAN/$ctan_dir" if $ctan_dir =~ m,^[^/],;
@@ -207,7 +213,7 @@ sub catalogue_find_ctan_path
return undef unless -r $catfile;
# get the raw tag from the catalogue file.
- open CATFILE, '<', $catfile or die "Cannot read $catfile: $!\nFix me!\n";
+ open (CATFILE, "<$catfile") || die "Cannot read $catfile: $!\nFix me!\n";
while ($ctan_path = <CATFILE>) {
last if $ctan_path =~ /<ctan /;
}
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 30123b18fe7..6968a328640 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1625,12 +1625,13 @@ $standardxmt='\.xmt';
'epstopdf' => 'epstopdf\.pl',
'fig4latex' => 'fig4latex',
'findhyph' => 'findhyph$',
- 'fragmaster' => 'fragmaster.pl',
+ 'fragmaster' => 'fragmaster\.pl$',
'latex2man' => 'latex2man$',
'latexdiff' => 'latex(diff-so|diff-vc|revise)$',
'latexmk' => '\.pl$',
'listings-ext' => '\.sh$',
'lua-alt-getopt' => '\.lua$',
+ 'mathspic' => '^mathspic\.pl$',
'mkgrkindex' => 'mkgrkindex$',
'mkjobtexmf' => '\.pl$',
'pdfcrop' => '\.pl$',
diff --git a/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc b/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc
index 09aea913ba0..e8addd99ffe 100644
--- a/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc
@@ -26,6 +26,7 @@ depend here
depend hvfloat
depend knitting
depend knittingpattern
+depend mathspic
depend miniplot
depend pb-diagram
depend petri-nets
diff --git a/Master/tlpkg/tlpsrc/mathspic.tlpsrc b/Master/tlpkg/tlpsrc/mathspic.tlpsrc
new file mode 100644
index 00000000000..eac14b9f5ce
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/mathspic.tlpsrc
@@ -0,0 +1 @@
+binpattern f bin/${ARCH}/mathspic