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)
This commit is contained in:
parent
cbca00efcd
commit
b0c150c9e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208872
@ -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
|
||||
|
40
converters/pdf2djvu/Makefile
Normal file
40
converters/pdf2djvu/Makefile
Normal file
@ -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>
|
3
converters/pdf2djvu/distinfo
Normal file
3
converters/pdf2djvu/distinfo
Normal file
@ -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
|
5
converters/pdf2djvu/pkg-descr
Normal file
5
converters/pdf2djvu/pkg-descr
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user