pkgsrc/print/poppler-utils/Makefile
wiz 4c74fe7223 poppler*: update to 0.62.0
Changes same as for the base package.
2018-01-10 21:56:50 +00:00

48 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.37 2018/01/10 21:56:51 wiz Exp $
.include "../../print/poppler/Makefile.common"
PKGNAME= poppler-utils-${POPPLER_VERS}
COMMENT= PDF utilities (from poppler)
MAINTAINER= reed@reedmedia.net
CONFLICTS+= poppler-0.5.1 poppler-0.5.1nb1 poppler-0.5.1nb2
CONFLICTS+= xpdf<3.02pl4nb1
# Build the splash graphics backend. ## for pdftoppm
CMAKE_ARGS+= -DENABLE_SPLASH=ON
# Don't compile GTK+ test program.
CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF
# Don't compile GLib wrapper which also needs gtk2
CMAKE_ARGS+= -DENABLE_GLIB=OFF
# Build and install the tools
CMAKE_ARGS+= -DENABLE_UTILS=ON
# Don't compile poppler cpp wrapper.
CMAKE_ARGS+= -DENABLE_CPP=OFF
# Don't compile poppler qt4 wrapper.
CMAKE_ARGS+= -DENABLE_QT4=OFF
# Don't compile poppler qt5 wrapper.
CMAKE_ARGS+= -DENABLE_QT5=OFF
# Don't build libcurl based HTTP support. ## might want to include
CMAKE_ARGS+= -DENABLE_LIBCURL=OFF
BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS}
.include "../../print/poppler/buildlink3.mk"
INSTALL_DIRS= utils
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-[12].*)
.include "../../devel/pthread-stublib/buildlink3.mk"
PTHREAD_STUBLIB= "-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lpthstub"
.else
PTHREAD_STUBLIB= # provided by libc
.endif
MAKE_ENV+= PTHREAD_STUBLIB=${PTHREAD_STUBLIB}
.include "../../graphics/cairo/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"