summaryrefslogtreecommitdiff
path: root/print/pdfjam/Makefile
blob: c1a45c1aa8dcf621ab94babde70b0dbed9db2deb (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
32
33
34
35
36
# $NetBSD: Makefile,v 1.10 2012/10/08 13:45:43 asau Exp $
#

DISTNAME=	pdfjam_208
PKGNAME=	pdfjam-2.08
CATEGORIES=	print
MASTER_SITES=	http://www.warwick.ac.uk/go/pdfjam/
EXTRACT_SUFX=	.tgz

MAINTAINER=	uebayasi@NetBSD.org
HOMEPAGE=	http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam/
COMMENT=	Small collection of PDF utilities
LICENSE=	gnu-gpl-v2

DEPENDS+=	tex-latex-bin-[0-9]*:../../print/tex-latex-bin
DEPENDS+=	tex-ms-[0-9]*:../../print/tex-ms
DEPENDS+=	tex-eso-pic-[0-9]*:../../print/tex-eso-pic
DEPENDS+=	tex-pdfpages-[0-9]*:../../print/tex-pdfpages

NO_BUILD=	yes

WRKSRC=		${WRKDIR}/pdfjam

UTILS=		pdf180 pdf270 pdf90 pdfbook pdfflip pdfjam pdfjam-pocketmod \
	pdfjam-slides3up pdfjam-slides6up pdfjoin pdfnup pdfpun

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

do-install:
.for _util in ${UTILS}
		${INSTALL_SCRIPT} ${WRKSRC}/bin/${_util} ${DESTDIR}${PREFIX}/bin/${_util}
		${INSTALL_MAN} ${WRKSRC}/man1/${_util}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${_util}.1
.endfor
.undef ${_util}

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