summaryrefslogtreecommitdiff
path: root/print/poppler-utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/poppler-utils/Makefile')
-rw-r--r--print/poppler-utils/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/print/poppler-utils/Makefile b/print/poppler-utils/Makefile
new file mode 100644
index 00000000000..d0277e8a547
--- /dev/null
+++ b/print/poppler-utils/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/01 19:11:39 reed Exp $
+#
+
+.include "../../print/poppler/Makefile.common"
+
+PKGNAME= poppler-utils-${POPPLER_VERS}
+
+COMMENT= PDF utilities (from poppler)
+
+CONFLICTS+= poppler-0.5.1 poppler-0.5.1nb1 poppler-0.5.1nb2
+CONFLICTS+= xpdf-[0-9]*
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+# Don't build the cairo graphics backend.
+CONFIGURE_ARGS+= --disable-cairo-output
+# Don't build the splash graphics backend.
+CONFIGURE_ARGS+= --disable-splash-output
+# Don't compile poppler qt wrapper.
+CONFIGURE_ARGS+= --disable-poppler-qt
+# Don't compile GTK+ test program.
+CONFIGURE_ARGS+= --disable-gtk-test
+# Don't compile GLib wrapper which also needs gtk2
+CONFIGURE_ARGS+= --disable-poppler-glib
+# Enable build and install of the tools
+CONFIGURE_ARGS+= --enable-utils # the default
+
+BUILD_DIRS= utils # implies INSTALL_DIRS too
+
+BUILDLINK_DEPENDS.poppler+= poppler>=${POPPLER_VERS}nb3
+.include "../../print/poppler/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"