summaryrefslogtreecommitdiffstats
path: root/graphics/xpdf/Makefile
blob: 5bacd877e766c61f792e85756c0ab9b5a4e4ea1f (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
39
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:	xpdf
# Date created:         02 Feb 1996
# Whom:                 chuckr@glue.umd.edu
#
# $FreeBSD$
#

PORTNAME=       xpdf
PORTVERSION=	0.90
CATEGORIES=	graphics print
MASTER_SITES=	${MASTER_SITE_TEX_CTAN} ftp://ftp.foolabs.com/pub/xpdf/  \
		ftp://ftp.duke.edu/pub/X11/contrib/applications/
MASTER_SITE_SUBDIR=support/xpdf
EXTRACT_SUFX=	.tgz

.if !defined(PACKAGE_BUILDING)
PATCH_SITES=	http://www.fefe.de/
PATCHFILES=	xpdf-0.90-fefe-diff.gz
PATCH_DIST_STRIP= -p1
.endif

MAINTAINER=	chuckr@freebsd.org

LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm \
		t1x.1:${PORTSDIR}/devel/t1lib

.if !defined(PACKAGE_BUILDING)
RESTRICTED=     "Contains cryptography"
.endif
USE_XLIB=	yes
USE_X_PREFIX=	yes
USE_AUTOCONF=	yes
CONFIGURE_ARGS=	--with-gzip --enable-japanese		\
		--with-t1-library=${LOCALBASE}/lib	\
		--with-t1-includes=${LOCALBASE}/include	\
		--with-t1x-library=${LOCALBASE}/lib	\
		--with-t1x-includes=${LOCALBASE}/include
.if defined(A4)
CONFIGURE_ARGS+=	--enable-a4-paper
.endif

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud