Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/utils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22794

Added Files:
        latexmk.info latexmk.patch 
Log Message:
New package

--- NEW FILE: latexmk.info ---
Package: latexmk
Version: 3.07a
Revision: 1
Maintainer: Max Horn <[EMAIL PROTECTED]>
Source: http://www.phys.psu.edu/~collins/software/latexmk-jcc/latexmk-307a.zip
Source-MD5: 20646ab0ada12bb07f9df83cc810f0d9
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
NoSourceDirectory: true
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

--- NEW FILE: latexmk.patch ---
diff -ru latexmk-307a/latexmk.pl latexmk-307a-patched/latexmk.pl
--- latexmk-307a/latexmk.pl     2004-06-02 20:55:43.000000000 +0200
+++ latexmk-307a-patched/latexmk.pl     2005-07-24 18:22:17.000000000 +0200
@@ -1,9 +1,8 @@
 eval '(exit $?0)' && eval 'exec perl -x -S $0 ${1+"$@"}' && 
 eval 'exec perl -x -S  $0 $argv:q'
 if 0;
[EMAIL PROTECTED]@/bin/perl -w
 #!/usr/bin/perl -w
-#!/opt/local/bin/perl -w
-#!/usr/local/bin/perl -w
 
 #================= TO DO ================
 #
@@ -537,13 +536,11 @@
     ## /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
     ## default document processing programs.
-    $pdf_previewer = 'start acroread';
+    $pdf_previewer = 'start open';
     ## The following are corrects for the SUNs at phys.psu.edu:
     #$ps_previewer  = 'start ghostview';
     #$ps_previewer_landscape  = 'start ghostview -swap';
@@ -560,10 +557,10 @@
     #         cannot be updated.  (acroread under MSWIN)
     $dvi_update_method = 2;  # xdvi responds to SIGUSR1 to update
     $ps_update_method = 0;   # gv -watch watches the ps file
-    $pdf_update_method = 1;  # acroread under unix needs manual update
+    $pdf_update_method = 0;  # acroread under unix needs manual update
     $lpr = 'lpr';         # Assume lpr command prints postscript files 
correctly
     $lpr_dvi  = 'NONE lpr_dvi';# Use NONE as flag that I am not implementing 
this
-    $lpr_pdf  = 'NONE lpr_pdf';# Use NONE as flag that I am not implementing 
this
+    $lpr_pdf  = 'lpr';# Use NONE as flag that I am not implementing this
     # The $pscmd below holds a command to list running processes.  It
     # is used to find the process ID of the viewer looking at the
     # current output file.  The output of the command must include the
@@ -580,8 +577,8 @@
     # Use -u $ENV{CMD} to get all processes started by current user (not just
     #   those associated with current terminal), but none of other users' 
     #   processes. 
-    $pscmd = "ps -f -u $ENV{USER}"; 
-    $pid_position = 1; # offset of PID in output of pscmd; first item is 0.  
+    $pscmd = "ps -ww -u $ENV{USER}"; 
+    $pid_position = 2; # offset of PID in output of pscmd; first item is 0.  
     if ( $^O eq "linux" ) {
         # Ps on Redhat (at least v. 7.2) appears to truncate its output
         #    at 80 cols, so that a long command string is truncated.



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to