summaryrefslogtreecommitdiff
path: root/print/poppler/Makefile
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-07-08 20:31:34 +0000
committerreed <reed@pkgsrc.org>2005-07-08 20:31:34 +0000
commit49be1cb04adee2f225b30522cd6c8d5cce23c550 (patch)
tree7aec474e94b61aad90309a26da67e264a1071378 /print/poppler/Makefile
parentca68c008bce8eb9b0c6471e78761009b0fdb44cf (diff)
downloadpkgsrc-49be1cb04adee2f225b30522cd6c8d5cce23c550.tar.gz
Add poppler from pkgsrc-wip.
This is poppler, a PDF rendering library. It is a fork of the xpdf 3.0 PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. Poppler provides PDF rendering functionality as a shared library, to centralize the maintenence effort and to reduce duplicated effort. And the poppler developers would like to move libpoppler forward in a number of areas that doesn't fit within the goals of xpdf.
Diffstat (limited to 'print/poppler/Makefile')
-rw-r--r--print/poppler/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/print/poppler/Makefile b/print/poppler/Makefile
new file mode 100644
index 00000000000..af3ecd355e9
--- /dev/null
+++ b/print/poppler/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/07/08 20:31:34 reed Exp $
+#
+
+DISTNAME= poppler-0.3.3
+PKGREVISION= 1
+CATEGORIES= print
+MASTER_SITES= http://poppler.freedesktop.org/
+
+MAINTAINER= reed@reedmedia.net
+HOMEPAGE= http://poppler.freedesktop.org/
+COMMENT= PDF rendering library
+
+USE_TOOLS= gmake
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+#PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-cairo.pc.in
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-glib.pc.in
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-splash.pc.in
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler.pc.in
+GNU_CONFIGURE= yes
+
+INSTALLATION_DIRS+= share/doc/poppler
+
+# TODO: Later add an option to choose Splash versus Cairo backend.
+## Don't build the Splash graphics backend.
+#CONFIGURE_ARGS+= --disable-splash-output
+# Don't build the cairo graphics backend.
+CONFIGURE_ARGS+= --disable-cairo-output
+# Don't compile poppler qt wrapper.
+CONFIGURE_ARGS+= --disable-poppler-qt
+# Don't compile GTK+ test program.
+CONFIGURE_ARGS+= --disable-gtk-test
+# TODO: check papersize?
+# --enable-a4-paper use A4 paper size instead of Letter for PostScript output
+# maybe glib wrapper is only part needing gtk??
+# --disable-poppler-glib Don't compile poppler glib wrapper.
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/poppler/
+ ${INSTALL_MAN} ${WRKSRC}/README-XPDF ${PREFIX}/share/doc/poppler/
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"