From v. 4.61 to 4.63b Update example_rcfiles/glossary_latexmkrc Fix problem that in -cd mode, an error is raised when the path part of the tex filename contains a character prohibited by *tex. Implement changing of rule network when output of *latex is not what is expected, e.g., because \pdfoutput is used in document. Implement placeholder for true basename of main tex file, and use it in jobname. Various bug fixes.
30 lines
850 B
Makefile
30 lines
850 B
Makefile
# $NetBSD: Makefile,v 1.16 2019/03/25 22:49:07 wiz Exp $
|
|
|
|
DISTNAME= latexmk-463b
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://users.phys.psu.edu/~collins/software/latexmk/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://users.phys.psu.edu/~collins/software/latexmk/
|
|
COMMENT= Tool to completely automate generating output from LaTeX documents
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
|
|
|
|
WRKSRC= ${WRKDIR}/latexmk
|
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
NO_BUILD= yes
|
|
|
|
REPLACE_PERL= latexmk.pl
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/latexmk
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/latexmk.pl ${DESTDIR}${PREFIX}/bin/latexmk
|
|
${INSTALL_MAN} ${WRKSRC}/latexmk.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_DATA} ${WRKSRC}/latexmk.pdf ${DESTDIR}${PREFIX}/share/doc/latexmk
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|