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 will run LaTeX the correct number of times to resolve cross references, and run auxiliary programs (bibtex, makeindex) if necessary. It can also be set to run continuously with a previewer, in which case the needed commands are re-run whenever one of the source files is modified.
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.