summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--converters/pdf2djvu/Makefile35
-rw-r--r--converters/pdf2djvu/distinfo3
-rw-r--r--converters/pdf2djvu/pkg-descr5
3 files changed, 43 insertions, 0 deletions
diff --git a/converters/pdf2djvu/Makefile b/converters/pdf2djvu/Makefile
new file mode 100644
index 000000000..f87322b14
--- /dev/null
+++ b/converters/pdf2djvu/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: pdf2djvu
+# Date created: 7 Mar 2008
+# Whom: Denise H. G. <darcsis@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pdf2djvu
+PORTVERSION= 0.4.12
+PORTREVISION= 3
+CATEGORIES= converters
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+DISTNAME= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFFIX}
+
+MAINTAINER= darcsis@gmail.com
+COMMENT= Pdf2djvu creates DjVu files from PDF files
+
+BUILD_DEPENDS= ${LOCALBASE}/include/pstreams/pstream.h:${PORTSDIR}/devel/pstreams
+LIB_DEPENDS= poppler.5:${PORTSDIR}/graphics/poppler
+
+USE_GMAKE= yes
+PLIST_FILES= bin/pdf2djvu
+
+LIB_DEPENDS+= djvulibre.21:${PORTSDIR}/graphics/djvulibre-nox11
+
+MAN1= pdf2djvu.1
+MANCOMPRESSED= no
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MANPREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/converters/pdf2djvu/distinfo b/converters/pdf2djvu/distinfo
new file mode 100644
index 000000000..174385016
--- /dev/null
+++ b/converters/pdf2djvu/distinfo
@@ -0,0 +1,3 @@
+MD5 (pdf2djvu_0.4.12.tar.gz) = af325766614f58e7373c26c6d45f04e4
+SHA256 (pdf2djvu_0.4.12.tar.gz) = 819b1427a74d90ebda8971b670a9f03d6fd5d8a9ae03dbf48c91ebaf5a769a19
+SIZE (pdf2djvu_0.4.12.tar.gz) = 55798
diff --git a/converters/pdf2djvu/pkg-descr b/converters/pdf2djvu/pkg-descr
new file mode 100644
index 000000000..a7c51eb6f
--- /dev/null
+++ b/converters/pdf2djvu/pkg-descr
@@ -0,0 +1,5 @@
+pdf2djvu creates DjVu files from PDF files. It's able to extract:
+graphics, text layer, hyperlinks, document outline (bookmarks), and
+metadata.
+
+WWW: http://code.google.com/p/pdf2djvu/