summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-10-29 14:30:51 +0000
committerryoon <ryoon@pkgsrc.org>2011-10-29 14:30:51 +0000
commitde03d084cd532bd6547f2903ca8437ff1d3d5207 (patch)
tree55c65ce60ca6ba750d8552f80539a5e3c8eb3cdd /print
parentd3cede48eb5196ba7584bff3a31cadda338e9c65 (diff)
downloadpkgsrc-de03d084cd532bd6547f2903ca8437ff1d3d5207.tar.gz
Import pdf2djvu-0.7.7 as print/pdf2djvu from wip/pdf2djvu
pdf2djvu creates DjVu files from PDF files. It's able to extract: * graphics, * text layer, * hyperlinks, * document outline (bookmarks), * metadata (including XMP metadata).
Diffstat (limited to 'print')
-rw-r--r--print/pdf2djvu/DESCR8
-rw-r--r--print/pdf2djvu/Makefile34
-rw-r--r--print/pdf2djvu/PLIST5
-rw-r--r--print/pdf2djvu/distinfo5
4 files changed, 52 insertions, 0 deletions
diff --git a/print/pdf2djvu/DESCR b/print/pdf2djvu/DESCR
new file mode 100644
index 00000000000..32f123c3113
--- /dev/null
+++ b/print/pdf2djvu/DESCR
@@ -0,0 +1,8 @@
+pdf2djvu creates DjVu files from PDF files.
+
+It's able to extract:
+* graphics,
+* text layer,
+* hyperlinks,
+* document outline (bookmarks),
+* metadata (including XMP metadata).
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"
diff --git a/print/pdf2djvu/PLIST b/print/pdf2djvu/PLIST
new file mode 100644
index 00000000000..bf275122dc1
--- /dev/null
+++ b/print/pdf2djvu/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/29 14:30:51 ryoon Exp $
+bin/pdf2djvu
+man/man1/pdf2djvu.1
+man/pl/man1/pdf2djvu.1
+share/locale/pl/LC_MESSAGES/pdf2djvu.mo
diff --git a/print/pdf2djvu/distinfo b/print/pdf2djvu/distinfo
new file mode 100644
index 00000000000..7f457ea6481
--- /dev/null
+++ b/print/pdf2djvu/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/10/29 14:30:51 ryoon Exp $
+
+SHA1 (pdf2djvu_0.7.7.tar.gz) = 978bf1f65e3000ba59a9db022507228a5086e0b5
+RMD160 (pdf2djvu_0.7.7.tar.gz) = b3008632bc6fa057c9cf4ce661bf5f2e4d3c38ea
+Size (pdf2djvu_0.7.7.tar.gz) = 246893 bytes