summaryrefslogtreecommitdiff
path: root/graphics/xpdf/Makefile
blob: 8a04e565c36239ec01db707988ef9644ccd75f11 (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.4 1998/12/20 23:05:19 frueauf Exp $
# FreeBSD Id: Makefile,v 1.12 1998/03/11 03:08:12 vanilla Exp
# 

DISTNAME=	xpdf-0.80
CATEGORIES=	graphics print
MASTER_SITES=	ftp://ftp.foolabs.com/pub/xpdf/
EXTRACT_SUFX=	.tgz

MAINTAINER=	tsarna@netbsd.org
HOMEPAGE=	http://www.foolabs.com/xpdf/

DEPENDS=	xpm-3.4k:../../graphics/xpm

CONFLICTS=	xpdf-0.7a

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include"
CONFIGURE_ARGS=	--with-gzip
USE_X11=	yes

MAN1=		xpdf.1 pdftops.1 pdftotext.1 pdfinfo.1 pdftopbm.1 pdfimages.1

post-install:
	@(cd ${WRKSRC}/doc; for m in ${MAN1}; \
	do nroff -man $$m > $${m%.1}.0; done; \
	${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1; \
	${INSTALL_MAN} ${MAN1:S/.1/.0/} ${PREFIX}/man/cat1)

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