summaryrefslogtreecommitdiff
path: root/print/pdf2djvu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/pdf2djvu/Makefile')
-rw-r--r--print/pdf2djvu/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/print/pdf2djvu/Makefile b/print/pdf2djvu/Makefile
new file mode 100644
index 00000000000..fad169cd82f
--- /dev/null
+++ b/print/pdf2djvu/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/29 14:30:51 ryoon Exp $
+#
+
+DISTNAME= pdf2djvu_0.7.7
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= print
+MASTER_SITES= http://pdf2djvu.googlecode.com/files/
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://code.google.com/p/pdf2djvu/
+COMMENT= pdf2djvu creates DjVu files from PDF files
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= djvulibre-tools-[0-9]*:../../graphics/djvulibre-tools
+DEPENDS+= gsed>=4.2:../../textproc/gsed
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+GNU_CONFIGURE= yes
+USE_PKGLOCALEDIR= yes
+USE_LANGUAGES= c++ c
+USE_TOOLS+= pkg-config gmake intltool msgfmt xgettext gsed
+
+# We really need GNU sed not NetBSD's GNUish sed
+TOOLS_PLATFORM.gsed= # empty
+
+.include "../../graphics/djvulibre-lib/buildlink3.mk"
+.include "../../print/poppler/buildlink3.mk"
+.include "../../print/poppler-includes/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../graphics/GraphicsMagick/buildlink3.mk"
+.include "../../devel/pstreams/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"