pkgsrc/print/poppler-qt/Makefile
drochner ec929dc879 include ".../poppler/bl3" before PKG_BUILD_OPTIONS.poppler is checked
for -- this doesn't make a difference in my box (current, modular xorg)
but Matthias Scheler reported problems on his and that this change helps
2011-07-11 18:43:03 +00:00

38 lines
1,001 B
Makefile

# $NetBSD: Makefile,v 1.31 2011/07/11 18:43:03 drochner Exp $
#
.include "../../print/poppler/Makefile.common"
PKGNAME= poppler-qt-${POPPLER_VERS}
COMMENT= PDF rendering library (QT wrapper)
MAINTAINER= reed@reedmedia.net
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
BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS}
.include "../../print/poppler/buildlink3.mk"
.if !empty(PKG_BUILD_OPTIONS.poppler:Mpoppler-cms)
CONFIGURE_ARGS+= --enable-cms
.else
CONFIGURE_ARGS+= --disable-cms
.endif
PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-qt.pc.in
BUILD_DIRS= qt
INSTALLATION_DIRS+= lib include/poppler lib/pkgconfig
post-install:
${INSTALL_DATA} ${WRKSRC}/poppler-qt.pc \
${DESTDIR}${PREFIX}/lib/pkgconfig
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"