diff options
Diffstat (limited to 'converters')
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | converters/pdf2djvu/Makefile | 40 | ||||
-rw-r--r-- | converters/pdf2djvu/distinfo | 3 | ||||
-rw-r--r-- | converters/pdf2djvu/pkg-descr | 5 |
4 files changed, 49 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile index 7226ccd77d19..9ca36fff6302 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -78,6 +78,7 @@ SUBDIR += p5-Unicode-UTF8simple SUBDIR += p5-WAP-wbxml SUBDIR += p5-XML-WBXML + SUBDIR += pdf2djvu SUBDIR += pecl-fribidi SUBDIR += php4-iconv SUBDIR += php4-mbstring 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/ |