# $Id: Portfile 66980 2010-04-27 10:29:54Z vinc17@macports.org $ PortSystem 1.0 name latexmk version 4.15c categories tex print platforms darwin maintainers vinc17 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 http://www.ctan.org/tex-archive/support/latexmk/ master_sites http://www.ctan.org/get/support distname latexmk dist_subdir ${name}/${version} use_zip yes checksums md5 ae82b8c78fefc9e01854f0b9c8a98f54 \ sha1 2f658b085d0f0146337184b7703dd6b26d305f09 \ rmd160 17216b2d44d37f2bf4377c775e5d1a58400b4961 depends_lib bin:latex:texlive 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.url http://mirror.ctan.org/support/latexmk/latexmk.pl livecheck.regex "version_num = '(\[0-9a-z.\]+)'"