1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Add latexmk, tool which completely automates the process of generating a LaTeX

document. Essentially, it is a highly specialized relative of the general make
utility.

PR:		ports/75206
Submitted by:	Fernan Aguero <fernan@iib.unsam.edu.ar>
This commit is contained in:
Pav Lucistnik 2004-12-18 20:52:04 +00:00
parent 91f3474ac8
commit 3a96a2d462
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124418
5 changed files with 66 additions and 0 deletions

View File

@ -126,6 +126,7 @@
SUBDIR += latex-xcolor
SUBDIR += latex2rtf
SUBDIR += latex2slides
SUBDIR += latexmk
SUBDIR += lgrind
SUBDIR += libgnomecups
SUBDIR += libgnomeprint

43
print/latexmk/Makefile Normal file
View File

@ -0,0 +1,43 @@
# ex:ts=8
# New ports collection makefile for: latexmk
# Date created: 17 Dec 2004
# Whom: Fernan Aguero <fernan@iib.unsam.edu.ar>
#
# $FreeBSD$
#
PORTNAME= latexmk
PORTVERSION= 307a
CATEGORIES= print
MASTER_SITES= http://www.phys.psu.edu/~collins/software/latexmk/
MAINTAINER= fernan@iib.unsam.edu.ar
COMMENT= A tool to completely automate generating output from LaTeX documents
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
USE_PERL5_RUN= yes
USE_ZIP= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
MAN1= latexmk.1
PLIST_FILES= bin/latexmk
PORTDOCS= CHANGES INSTALL README latexmk.pdf latexmk.ps latexmk.txt
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/latexmk.pl ${PREFIX}/bin/latexmk
${INSTALL_MAN} ${WRKSRC}/latexmk.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
post-install:
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>

2
print/latexmk/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (latexmk-307a.zip) = 20646ab0ada12bb07f9df83cc810f0d9
SIZE (latexmk-307a.zip) = 145238

9
print/latexmk/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
LatexMk completely automates the process of generating a LaTeX document.
Essentially, it is a highly specialized relative of the general make
utility. Given the source files for a document, latexmk issues the
appropriate sequence of commands to generate a .dvi, .ps, .pdf or
hardcopy version of the document. It can also be set to run continuously
with a previewer; the needed commands are rerun whenever one of the
source files is modified.
WWW: http://www.phys.psu.edu/~collins/software/latexmk/

11
print/latexmk/pkg-message Normal file
View File

@ -0,0 +1,11 @@
======================================================================
In order for the 'pvc' (preview continuously) option to work
perfectly, latexmk needs to know the correct way to invoke ps(1)
in each operating system. Thus, users may have to change the $pscmd
variable in their ~/.latexmkrc files.
For FreeBSD-4.x the following is known to work:
$pscmd = "ps -w -f -u $ENV{USER}"
======================================================================