blob: 306b93f8f5b9211f1acd4a470679d5cace840135 (
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
37
38
|
# $NetBSD: Makefile,v 1.7 2011/02/26 16:03:39 wiz Exp $
#
DISTNAME= pdfjam_1.20
PKGNAME= ${DISTNAME:C/_/-/}
PKGREVISION= 2
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
PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
WRKSRC= ${WRKDIR}/pdfjam
UTILS= pdf90 pdfjoin pdfnup
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
.for _util in ${UTILS}
${INSTALL_SCRIPT} ${WRKSRC}/scripts/${_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"
|