summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-18 20:52:04 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-18 20:52:04 +0000
commit3a96a2d46269e90eff02c0cbb9e04f7a9ba0a05f (patch)
tree199f458477fb1ddd8691d0a79240d25eab577171
parentRemove the correct Bundle directory after deinstallation. (diff)
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>
Notes
Notes: svn path=/head/; revision=124418
Diffstat (limited to '')
-rw-r--r--print/Makefile1
-rw-r--r--print/latexmk/Makefile43
-rw-r--r--print/latexmk/distinfo2
-rw-r--r--print/latexmk/pkg-descr9
-rw-r--r--print/latexmk/pkg-message11
5 files changed, 66 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 173cb40f4832..0c36b00c04b9 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -126,6 +126,7 @@
SUBDIR += latex-xcolor
SUBDIR += latex2rtf
SUBDIR += latex2slides
+ SUBDIR += latexmk
SUBDIR += lgrind
SUBDIR += libgnomecups
SUBDIR += libgnomeprint
diff --git a/print/latexmk/Makefile b/print/latexmk/Makefile
new file mode 100644
index 000000000000..e7bfc2de223a
--- /dev/null
+++ b/print/latexmk/Makefile
@@ -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>
diff --git a/print/latexmk/distinfo b/print/latexmk/distinfo
new file mode 100644
index 000000000000..481a52025838
--- /dev/null
+++ b/print/latexmk/distinfo
@@ -0,0 +1,2 @@
+MD5 (latexmk-307a.zip) = 20646ab0ada12bb07f9df83cc810f0d9
+SIZE (latexmk-307a.zip) = 145238
diff --git a/print/latexmk/pkg-descr b/print/latexmk/pkg-descr
new file mode 100644
index 000000000000..af69233c8fe2
--- /dev/null
+++ b/print/latexmk/pkg-descr
@@ -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/
diff --git a/print/latexmk/pkg-message b/print/latexmk/pkg-message
new file mode 100644
index 000000000000..e52a38853235
--- /dev/null
+++ b/print/latexmk/pkg-message
@@ -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}"
+
+======================================================================