summaryrefslogtreecommitdiff
path: root/print/latexmk/Makefile
blob: 839d1e9c66675016c51a29ce6063e58230397f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.8 2017/02/07 12:58:05 wiz Exp $

DISTNAME=	latexmk-452c
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"