summaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-05-17 13:51:52 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-05-17 13:51:52 +0800
commit227c53d185820d6d60781abcd19e7128e6f3548b (patch)
tree8c51ec5d1edddb57e7af3837eac3732488491be5 /converters
parenta5ef4192c8afd331470c0c6a8aa84fdf53ac97e9 (diff)
downloadmarcuscom-ports-227c53d185820d6d60781abcd19e7128e6f3548b.tar
marcuscom-ports-227c53d185820d6d60781abcd19e7128e6f3548b.tar.gz
marcuscom-ports-227c53d185820d6d60781abcd19e7128e6f3548b.tar.bz2
marcuscom-ports-227c53d185820d6d60781abcd19e7128e6f3548b.tar.lz
marcuscom-ports-227c53d185820d6d60781abcd19e7128e6f3548b.tar.xz
marcuscom-ports-227c53d185820d6d60781abcd19e7128e6f3548b.tar.zst
marcuscom-ports-227c53d185820d6d60781abcd19e7128e6f3548b.zip
Chase the poppler shared lib version.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12317 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'converters')
-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/