summaryrefslogtreecommitdiff
path: root/print/latexmk/Makefile
blob: 23a9ec355e0e9d45289b61c524db623d324c9c24 (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
31
# $NetBSD: Makefile,v 1.18 2020/08/31 18:11:02 wiz Exp $

DISTNAME=	latexmk-463b
PKGREVISION=	2
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"