the Fink project is an effort to port
popular Unix programs to Mac OS X
# DISCLAIMER: Max Horn is the sole maintainer of this package.
# Please DO NOT MAKE MODIFICATIONS without informing the maintainer.
# Preferably, send a patch to me instead of making changes yourself!
# If that is not possible due to extra urgency, at least send me a mail.
#
# Explanation: I am sick and tired of getting back to my packages and
# discovering that people have messed with it. I am then forced to
# retrace their steps, find out who, when and why did make a certain
# change etc. -- i.e. it makes my life as maintainer harder.
# Furthermore, as maintainer I am responsible for problems caused by my
# packages. But I am not willing to take responsibility for something I
# did not do. In particular, for changes that other people introduced
# behind my back, no matter how good and noble their intentions were. As
# such, I may see myself forced to drop responsibility for (and hence,
# maintainership of) the affected package.
Package: latexmk
Version: 4.27a
Revision: 1
Maintainer: Max Horn
Source: http://www.phys.psu.edu/~collins/software/latexmk-jcc/latexmk-427a.zip
Source-MD5: 7c52a8e5d0d638390bc671793e4bed3e
BuildDepends: fink (>= 0.24.12)
PatchFile: %n.patch
PatchFile-MD5: 2c169fbfdb3519cad8ba47258da0907a
PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
NoSourceDirectory: true
# TODO: Should this depend on 'latex' ? It won't work w/o but is there a reason
# to restrict the user due to this?
CompileScript: echo Nothing
InstallScript: <<
mkdir -p %i/bin
mkdir -p %i/share/man/man1
mkdir -p %i/share/latexmk
install -m0755 latexmk.pl %i/bin/latexmk
install -m0644 latexmk.1 %i/share/man/man1/latexmk.1
<<
DocFiles: CHANGES COPYING README latexmk.pdf latexmk.ps latexmk.txt
Description: Automates typesetting LaTeX documents
DescDetail: <<
Latexmk is a perl script for running LaTeX the correct number of
times to resolve cross references, etc; it also runs auxiliary
programs (bibtex, makeindex if necessary, and dvips and/or a
previewer as requested). It has a number of other useful
capabilities, for example to start a previewer and then run latex
whenever the source files are updated, so that the previewer gives
an up-to-date view of the document.
<<
Homepage: http://www.phys.psu.edu/~collins/software/latexmk-jcc/
License: GPL
diff -ru latexmk-408/latexmk.pl latexmk-408-patched/latexmk.pl
--- latexmk-408/latexmk.pl 2009-06-23 14:36:28.000000000 +0200
+++ latexmk-408-patched/latexmk.pl 2009-08-03 22:53:02.000000000 +0200
@@ -759,9 +759,7 @@
## /usr/local/lib/latexmk/LatexMk is put in the list for
## compatibility with older versions of latexmk.
@rc_system_files =
- ( '/opt/local/share/latexmk/LatexMk',
- '/usr/local/share/latexmk/LatexMk',
- '/usr/local/lib/latexmk/LatexMk' );
+ ( '@PREFIX@/share/latexmk/LatexMk' );
$search_path_separator = ':'; # Separator of elements in search_path
@@ -803,8 +801,8 @@
$ps_update_method = 0; # gv -watch watches the ps file
$ps_previewer = 'start gv %O %S';
$ps_previewer_landscape = 'start gv -swap %O %S';
- $pdf_previewer = 'start acroread %O %S';
- $pdf_update_method = 1; # acroread under unix needs manual update
+ $pdf_previewer = 'start open %O %S';
+ $pdf_update_method = 0;
$lpr = 'lpr %O %S'; # Assume lpr command prints postscript files correctly
$lpr_dvi =
'NONE $lpr_dvi variable is not configured to allow printing of dvi files';
@@ -1981,7 +1979,7 @@
foreach my $rule (keys %rule_list) {
$source_list{$rule} = [];
my $PAsources = $source_list{$rule};
- my ( $cmd_type, $cmd, $source, $dest, $root ) = @{$rule_list{$rule}};
+ my ( $cmd_type, $ext_cmd, $int_cmd, $source, $dest, $base, $test_kind ) = @{$rule_list{$rule}};
if ($source) {
push @$PAsources, [ $rule, $source, '' ];
}