2015-09-14 15:34:09 +02:00
|
|
|
# $NetBSD: Makefile,v 1.2 2015/09/14 13:34:09 joerg Exp $
|
2005-12-11 11:07:31 +01:00
|
|
|
#
|
|
|
|
|
2012-07-04 22:17:31 +02:00
|
|
|
.include "../../print/poppler016/Makefile.common"
|
2005-12-11 11:07:31 +01:00
|
|
|
|
2006-01-11 18:49:35 +01:00
|
|
|
PKGNAME= poppler-qt-${POPPLER_VERS}
|
2015-04-25 16:24:44 +02:00
|
|
|
PKGREVISION= 10
|
2006-03-31 22:37:37 +02:00
|
|
|
|
2005-12-11 11:07:31 +01:00
|
|
|
COMMENT= PDF rendering library (QT wrapper)
|
2008-11-20 15:28:22 +01:00
|
|
|
MAINTAINER= reed@reedmedia.net
|
2005-12-11 11:07:31 +01:00
|
|
|
|
2007-11-03 17:10:38 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --disable-cairo-output
|
|
|
|
CONFIGURE_ARGS+= --disable-splash-output
|
|
|
|
CONFIGURE_ARGS+= --enable-poppler-qt
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk-test
|
|
|
|
CONFIGURE_ARGS+= --disable-utils
|
2011-07-11 20:43:03 +02:00
|
|
|
|
2015-09-14 15:34:09 +02:00
|
|
|
BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS}<0.34
|
2012-07-04 22:17:31 +02:00
|
|
|
.include "../../print/poppler016/buildlink3.mk"
|
2011-07-11 20:43:03 +02:00
|
|
|
|
2011-07-11 12:05:22 +02:00
|
|
|
.if !empty(PKG_BUILD_OPTIONS.poppler:Mpoppler-cms)
|
|
|
|
CONFIGURE_ARGS+= --enable-cms
|
|
|
|
.else
|
2009-02-12 21:55:07 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-cms
|
2011-07-11 12:05:22 +02:00
|
|
|
.endif
|
2007-11-03 17:10:38 +01:00
|
|
|
|
2005-12-11 11:07:31 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-qt.pc.in
|
|
|
|
|
2009-09-11 12:09:13 +02:00
|
|
|
BUILD_DIRS= qt
|
2007-08-09 20:42:51 +02:00
|
|
|
INSTALLATION_DIRS+= lib include/poppler lib/pkgconfig
|
|
|
|
|
2009-09-11 12:09:13 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/poppler-qt.pc \
|
|
|
|
${DESTDIR}${PREFIX}/lib/pkgconfig
|
2005-12-11 11:07:31 +01:00
|
|
|
|
|
|
|
.include "../../x11/qt3-libs/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|