aboutsummaryrefslogtreecommitdiff
path: root/graphics/popplerkit/Makefile
blob: d64f91305e2e0226ec221e62ebe4ebde46dfd96f (plain) (blame)
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
# New ports collection makefile for:    popplerkit
# Date created:         21 Jan 2006
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=	popplerkit
PORTVERSION=	0.0.${SNAPSHOT}
PORTREVISION=	1
CATEGORIES=	graphics gnustep
MASTER_SITES=	http://download.gna.org/gsimageapps/PopplerKit/
DISTNAME=	PopplerKit-${SNAPSHOT}

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	Framework that supports rendering of PDF content

LIB_DEPENDS=	poppler:${PORTSDIR}/graphics/poppler

USE_GNUSTEP=	yes
USE_GNUSTEP_BACK=	yes
USE_GNUSTEP_BUILD=	yes
USE_GNUSTEP_INSTALL=	yes
USE_GNUSTEP_LDCONFIG=	${GNUSTEP_LOCAL_LIBRARIES}
USE_GNOME=	gnomeprefix gnomehack gtk20

SNAPSHOT=	20050720
WRKSRC=		${WRKDIR}/PopplerKit
MAKE_ENV+=	CXX=${CXX}
ADDITIONAL_CPPFLAGS+=	-DPOPPLER_0_5

post-patch:
	${REINPLACE_CMD} -e 's|poppler-cairo|poppler-cairo-broken|' \
		${WRKSRC}/config.sh

.include <bsd.port.mk>