summaryrefslogtreecommitdiffstats
path: root/graphics/poppler/Makefile
blob: 0326fb1f24d39b5dd7b4cf4bbbfc09857450cc3f (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
# New ports collection makefile for:    poppler
# Date created:         03 March 2005
# Whom:                 marcus@FreeBSD.org
#
# $FreeBSD: ports/graphics/poppler/Makefile,v 1.6 2005/04/29 20:25:14 ahze Exp $
#

PORTNAME=   poppler
PORTVERSION=    0.3.2
CATEGORIES= graphics print
MASTER_SITES=   http://poppler.freedesktop.org/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A PDF rendering library

LIB_DEPENDS=    cairo.1:${PORTSDIR}/graphics/cairo

USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_LIBTOOL_VER=15
USE_GNOME=  gnomeprefix gnomehack gtk20
INSTALLS_SHLIB= yes
USE_REINPLACE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|poppler-[@]VERSION[@]|poppler|g' \
        ${WRKSRC}/poppler-cairo.pc.in \
        ${WRKSRC}/poppler-splash.pc.in

.include <bsd.port.mk>