diff options
author | bapt <bapt@FreeBSD.org> | 2014-06-10 18:27:02 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-06-10 18:27:02 +0800 |
commit | 5aca49dc6314accbbc813a3aa22ed7de29adb360 (patch) | |
tree | 2d535d12a7981788a3d85e99b7ee4a2fb6b4cb01 /textproc | |
parent | 7623db34596ef6c53cb0facdf0056ce28e0df156 (diff) | |
download | freebsd-ports-gnome-5aca49dc6314accbbc813a3aa22ed7de29adb360.tar.gz freebsd-ports-gnome-5aca49dc6314accbbc813a3aa22ed7de29adb360.tar.zst freebsd-ports-gnome-5aca49dc6314accbbc813a3aa22ed7de29adb360.zip |
add libe-book: Library for import of reflowable e-book formats
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/libe-book/Makefile | 33 | ||||
-rw-r--r-- | textproc/libe-book/distinfo | 2 | ||||
-rw-r--r-- | textproc/libe-book/pkg-descr | 14 | ||||
-rw-r--r-- | textproc/libe-book/pkg-plist | 11 |
5 files changed, 61 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 0c995fed214b..f83bd6de8ba6 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -350,6 +350,7 @@ SUBDIR += libcroco SUBDIR += libcsv SUBDIR += libcue + SUBDIR += libe-book SUBDIR += libebml SUBDIR += libextractor SUBDIR += libexttextcat diff --git a/textproc/libe-book/Makefile b/textproc/libe-book/Makefile new file mode 100644 index 000000000000..b77cbac32959 --- /dev/null +++ b/textproc/libe-book/Makefile @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= libe-book +PORTVERSION= 0.1.1 +CATEGORIES= textproc +MASTER_SITES= SF/libebook/${PORTNAME}-${PORTVERSION}/ + +MAINTAINER= office@FreeBSD.org +COMMENT= Library for import of reflowable e-book formats + +LICENSE= LGPL21 MPL +LICENSE_COMB= dual + +OPTIONS_DEFINE= DOCS + +BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string.hpp:${PORTSDIR}/devel/boost-libs +LIB_DEPENDS= libicui18n.so:${PORTSDIR}/devel/icu \ + librevenge-0.0.so:${PORTSDIR}/textproc/librevenge + +USE_GNOME= libxml2 + +USES= gmake libtool pathfix pkgconfig tar:xz +GNU_CONFIGURE= yes +CONFIGURE_ENV= ZLIB_CFLAGS="-DWEHAVEZLIBINBASE" ZLIB_LIBS="-DWEDOHAVEIT" +INSTALL_TARGET= install-strip +CONFIGURE_ARGS= --disable-werror +CPPFLAGS+= -I${LOCALBASE}/include + +PORTDOCS= * +DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen +DOCS_CONFIGURE_OFF= --without-docs + +.include <bsd.port.mk> diff --git a/textproc/libe-book/distinfo b/textproc/libe-book/distinfo new file mode 100644 index 000000000000..5b3c1559e438 --- /dev/null +++ b/textproc/libe-book/distinfo @@ -0,0 +1,2 @@ +SHA256 (libe-book-0.1.1.tar.xz) = 8adcd266ae421c51c47f70cdac1d2e4b3190de262e6fc18598fd6191b0499b2b +SIZE (libe-book-0.1.1.tar.xz) = 373008 diff --git a/textproc/libe-book/pkg-descr b/textproc/libe-book/pkg-descr new file mode 100644 index 000000000000..39a54d8d3279 --- /dev/null +++ b/textproc/libe-book/pkg-descr @@ -0,0 +1,14 @@ +libe-book is a library and a set of tools for reading and converting various +non-HTML reflowable e-book formats. + +Currently supported are: +- eReader .pdb +- FictionBook v. 2 (including zipped files) +- PalmDoc Ebook - Plucker .pdb +- QiOO (mobile format, for java-enabled cellphones) +- TCR (simple compressed text format) +- TealDoc +- zTXT +- ZVR (simple compressed text format) + +WWW: http://sourceforge.net/projects/libebook/ diff --git a/textproc/libe-book/pkg-plist b/textproc/libe-book/pkg-plist new file mode 100644 index 000000000000..7ccdcec7c23b --- /dev/null +++ b/textproc/libe-book/pkg-plist @@ -0,0 +1,11 @@ +bin/ebook2html +bin/ebook2raw +bin/ebook2text +include/libe-book-0.1/libe-book/EBOOKDocument.h +include/libe-book-0.1/libe-book/libe-book.h +lib/libe-book-0.1.so +lib/libe-book-0.1.so.1 +lib/libe-book-0.1.so.1.0.1 +libdata/pkgconfig/libe-book-0.1.pc +@dirrm include/libe-book-0.1/libe-book +@dirrm include/libe-book-0.1 |