aboutsummaryrefslogtreecommitdiff
path: root/graphics/poppler/Makefile
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2007-07-03 11:14:36 +0000
committerMichael Johnson <ahze@FreeBSD.org>2007-07-03 11:14:36 +0000
commit635e515217e3f90fb21d8855f14941d72e23de39 (patch)
tree410c73c1a1c0e91b55a85fe626d95ba95ced9739 /graphics/poppler/Makefile
parent65b5209a9024a9d7403e2519e22b23f2fb0a99f1 (diff)
downloadports-635e515217e3f90fb21d8855f14941d72e23de39.tar.gz
ports-635e515217e3f90fb21d8855f14941d72e23de39.zip
Notes
Diffstat (limited to 'graphics/poppler/Makefile')
-rw-r--r--graphics/poppler/Makefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile
index 6d620b323d6c..fedc9b71128a 100644
--- a/graphics/poppler/Makefile
+++ b/graphics/poppler/Makefile
@@ -3,12 +3,12 @@
# Whom: marcus@FreeBSD.org
#
# $FreeBSD$
-# $MCom: ports/graphics/poppler/Makefile,v 1.30 2006/09/30 04:55:20 ahze Exp $
+# $MCom: ports/graphics/poppler/Makefile,v 1.35 2007/06/26 16:33:29 ahze Exp $
#
PORTNAME= poppler
-PORTVERSION= 0.5.4
-PORTREVISION?= 3
+PORTVERSION= 0.5.9
+PORTREVISION?= 1
CATEGORIES= graphics print
MASTER_SITES= http://poppler.freedesktop.org/
@@ -19,11 +19,12 @@ RUN_DEPENDS= poppler-data>0:${PORTSDIR}/graphics/poppler-data
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack gnometarget
+USE_GNOME= gnomehack gnometarget libxml2
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-zlib \
--enable-xpdf-headers \
- --with-html-dir=${DOCSDIR}
+ --with-html-dir=${DOCSDIR} \
+ --mandir=${PREFIX}/man
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
@@ -45,7 +46,13 @@ CONFIGURE_ARGS+=--enable-poppler-qt
USE_QT_VER+= 3
BUILD_WRKSRC= ${WRKSRC}/qt
INSTALL_WRKSRC= ${WRKSRC}/qt
-# blah.. USE_QT_VER can't be defined after bsd.port.pre.mk
+.include "${PORTSDIR}/Mk/bsd.kde.mk"
+.elif ${SLAVEPORT}=="qt4"
+CONFIGURE_ARGS+=--enable-poppler-qt4
+USE_QT_VER+= 4
+QT_COMPONENTS= gui corelib xml qtestlib
+BUILD_WRKSRC= ${WRKSRC}/qt4
+INSTALL_WRKSRC= ${WRKSRC}/qt4
.include "${PORTSDIR}/Mk/bsd.kde.mk"
.elif ${SLAVEPORT}=="utils"
CONFIGURE_ARGS+=--enable-utils