diff options
author | jadawin <jadawin@FreeBSD.org> | 2008-03-12 17:15:36 +0800 |
---|---|---|
committer | jadawin <jadawin@FreeBSD.org> | 2008-03-12 17:15:36 +0800 |
commit | e2e955dbfc16ecf17f68b4592532d757acd409a5 (patch) | |
tree | 18175801aaa9f5cb7ce0b5f76c544fb7a2cf8938 /converters/pdf2djvu | |
parent | e9fe87b6c3cecc28e9cdacde3db1e178198c3849 (diff) | |
download | freebsd-ports-gnome-e2e955dbfc16ecf17f68b4592532d757acd409a5.tar.gz freebsd-ports-gnome-e2e955dbfc16ecf17f68b4592532d757acd409a5.tar.zst freebsd-ports-gnome-e2e955dbfc16ecf17f68b4592532d757acd409a5.zip |
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/
PR: ports/121463
Submitted by: Denise H. G. <darcsis at gmail.com>
Approved by: thierry@ (mentor)
Diffstat (limited to 'converters/pdf2djvu')
-rw-r--r-- | converters/pdf2djvu/Makefile | 40 | ||||
-rw-r--r-- | converters/pdf2djvu/distinfo | 3 | ||||
-rw-r--r-- | converters/pdf2djvu/pkg-descr | 5 |
3 files changed, 48 insertions, 0 deletions
diff --git a/converters/pdf2djvu/Makefile b/converters/pdf2djvu/Makefile new file mode 100644 index 000000000000..8b322160d94d --- /dev/null +++ b/converters/pdf2djvu/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: pdf2djvu +# Date created: 7 Mar 2008 +# Whom: Denise H. G. <darcsis@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= pdf2djvu +PORTVERSION= 0.4.5.1 +CATEGORIES= converters +MASTER_SITES= http://pdf2djvu.googlecode.com/files/ +DISTNAME= ${PORTNAME}_${PORTVERSION}a${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.2:${PORTSDIR}/graphics/poppler + +USE_GMAKE= yes +PLIST_FILES= bin/pdf2djvu + +.if exists(${LOCALBASE}/bin/djview) +DJVU_DIR?= # empty +.else +DJVU_DIR?= -nox11 +.endif + +LIB_DEPENDS+= djvulibre.20:${PORTSDIR}/graphics/djvulibre${DJVU_DIR} + +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 000000000000..7d4c1ada1df4 --- /dev/null +++ b/converters/pdf2djvu/distinfo @@ -0,0 +1,3 @@ +MD5 (pdf2djvu_0.4.5.1a.tar.gz) = 1df2af3500309d93c51bb915586ab66e +SHA256 (pdf2djvu_0.4.5.1a.tar.gz) = 997ae916aae7512a4399f2d873a63d0944461b579b8edb56cb15b9798f5392f8 +SIZE (pdf2djvu_0.4.5.1a.tar.gz) = 24105 diff --git a/converters/pdf2djvu/pkg-descr b/converters/pdf2djvu/pkg-descr new file mode 100644 index 000000000000..a7c51eb6fc09 --- /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/ |