Files

56 lines
2.0 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name latexmk
version 4.88
revision 0
checksums rmd160 06ed896763c5398a6e01e6fcdb5557baa6ea8b4e \
sha256 b145a1ccfbde15985a517341dbd6510d391dfc21919c649669ebc977d91aa57f \
size 584957
categories tex print
platforms any
maintainers {cal @neverpanic} openmaintainer
supported_archs noarch
license GPL-2+
description Automates the process of generating a LaTeX document
long_description \
Latexmk completely automates the process of generating a LaTeX document. \
Essentially, it is a highly specialized cousin 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 latex program, etc, are rerun \
whenever one of the source files is modified.
homepage https://www.cantab.net/users/johncollins/latexmk/
master_sites ${homepage}
distname ${name}-[string map {. ""} $version]
use_zip yes
worksrcdir ${name}
depends_run bin:latex:texlive-latex
use_configure no
build {}
destroot {
set bindir ${destroot}${prefix}/bin
file mkdir ${bindir}
xinstall -m 755 -v ${worksrcpath}/${name}.pl ${bindir}/${name}
set mandir ${destroot}${prefix}/share/man/man1
file mkdir ${mandir}
xinstall -m 644 -v ${worksrcpath}/${name}.1 ${mandir}
set docdir ${destroot}${prefix}/share/doc/${name}
file mkdir ${docdir}
xinstall -m 644 -v -W ${worksrcpath} \
CHANGES COPYING README ${name}.pdf ${name}.txt ${docdir}
}
livecheck.type regex
livecheck.regex "(\[0-9a-z.\]+) dated"