pkgsrc/print/poppler-utils/Makefile

37 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.49 2021/04/09 06:55:03 wiz Exp $
PKGREVISION= 1
.include "../../print/poppler/Makefile.common"
PKGNAME= poppler-utils-${POPPLER_VERS}
COMMENT= PDF utilities (from poppler)
CONFLICTS+= poppler-0.5.1{,nb*}
CONFLICTS+= xpdf<3.02pl4nb1
# 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 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"
MAKE_ENV+= PTHREAD_STUBLIB=
.include "../../graphics/cairo/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"