summaryrefslogtreecommitdiff
path: root/print/latexmk/Makefile
blob: 4f8ce1ac87b8b492a74f7046b06155aa949b3c38 (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.4 2015/06/12 10:50:58 wiz Exp $

DISTNAME=	latexmk-439
PKGREVISION=	1
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

USE_TOOLS+=	perl:run

NO_BUILD=	yes

WRKSRC=		${WRKDIR}

REPLACE_PERL=	latexmk.pl

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

DEPENDS+=	tex-latex-[0-9]*:../../print/tex-latex

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/latexmk.pl ${DESTDIR}${PREFIX}/bin/latexmk
	${INSTALL_MAN} ${WRKSRC}/latexmk.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../mk/bsd.pkg.mk"