summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorryoon <ryoon>2014-02-02 07:28:11 +0000
committerryoon <ryoon>2014-02-02 07:28:11 +0000
commitd251699de45d683cb891878bf34faf13652127b7 (patch)
tree2131c692cbf8ed1ee6793208f3331305f0b78c83 /converters
parent510740894b575aa4531c62aa51360590adc5aa88 (diff)
downloadpkgsrc-d251699de45d683cb891878bf34faf13652127b7.tar.gz
Import libe-book-0.0.2 as converters/libe-book.
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) For convenience of use in third-party projects the library is available under two licenses: GNU Lesser GPL 2.1+ and MPL 2.0+.
Diffstat (limited to 'converters')
-rw-r--r--converters/libe-book/DESCR16
-rw-r--r--converters/libe-book/Makefile30
-rw-r--r--converters/libe-book/PLIST19
-rw-r--r--converters/libe-book/buildlink3.mk15
-rw-r--r--converters/libe-book/distinfo5
5 files changed, 85 insertions, 0 deletions
diff --git a/converters/libe-book/DESCR b/converters/libe-book/DESCR
new file mode 100644
index 00000000000..68ecad4bade
--- /dev/null
+++ b/converters/libe-book/DESCR
@@ -0,0 +1,16 @@
+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)
+
+For convenience of use in third-party projects the library is available under
+two licenses: GNU Lesser GPL 2.1+ and MPL 2.0+.
diff --git a/converters/libe-book/Makefile b/converters/libe-book/Makefile
new file mode 100644
index 00000000000..52f49d82110
--- /dev/null
+++ b/converters/libe-book/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2014/02/02 07:28:11 ryoon Exp $
+
+DISTNAME= libe-book-0.0.2
+CATEGORIES= converters
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libebook/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://sourceforge.net/projects/libebook/
+COMMENT= Library for importing non-HTML reflowable e-book formats
+LICENSE= mpl-2.0 OR gnu-lgpl-v2.1
+
+TOOL_DEPENDS+= gperf-[0-9]*:../../devel/gperf
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+USE_LANGUAGES= c++
+
+CONFIGURE_ARGS+= --disable-tests
+CONFIGURE_ARGS+= --without-docs
+
+PKGCONFIG_OVERRIDE+= libe-book.pc.in
+
+.include "../../converters/libwpd/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/libe-book/PLIST b/converters/libe-book/PLIST
new file mode 100644
index 00000000000..d3a10e465d0
--- /dev/null
+++ b/converters/libe-book/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2014/02/02 07:28:11 ryoon Exp $
+bin/ebook2html
+bin/ebook2raw
+bin/ebook2text
+include/libe-book-0.0/libe-book/EBOOKDocument.h
+include/libe-book-0.0/libe-book/FB2Document.h
+include/libe-book-0.0/libe-book/IMPDocument.h
+include/libe-book-0.0/libe-book/LRFDocument.h
+include/libe-book-0.0/libe-book/PDBDocument.h
+include/libe-book-0.0/libe-book/PLKRDocument.h
+include/libe-book-0.0/libe-book/PMLDocument.h
+include/libe-book-0.0/libe-book/QIOODocument.h
+include/libe-book-0.0/libe-book/TCRDocument.h
+include/libe-book-0.0/libe-book/TDDocument.h
+include/libe-book-0.0/libe-book/ZTXTDocument.h
+include/libe-book-0.0/libe-book/ZVRDocument.h
+include/libe-book-0.0/libe-book/libe-book.h
+lib/libe-book-0.0.la
+lib/pkgconfig/libe-book-0.0.pc
diff --git a/converters/libe-book/buildlink3.mk b/converters/libe-book/buildlink3.mk
new file mode 100644
index 00000000000..ba21b52d0ca
--- /dev/null
+++ b/converters/libe-book/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/02/02 07:28:11 ryoon Exp $
+
+BUILDLINK_TREE+= libe-book
+
+.if !defined(LIBE_BOOK_BUILDLINK3_MK)
+LIBE_BOOK_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libe-book+= libe-book>=0.0.2
+BUILDLINK_PKGSRCDIR.libe-book?= ../../converters/libe-book
+
+.include "../../converters/libwpd/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.endif # LIBE_BOOK_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libe-book
diff --git a/converters/libe-book/distinfo b/converters/libe-book/distinfo
new file mode 100644
index 00000000000..c6bd7fa30ab
--- /dev/null
+++ b/converters/libe-book/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/02/02 07:28:11 ryoon Exp $
+
+SHA1 (libe-book-0.0.2.tar.bz2) = cf409b33e8122fd77578c5b9be7a5e0d0483ae95
+RMD160 (libe-book-0.0.2.tar.bz2) = fd3250fba42140049d539360bb6724768c666c3a
+Size (libe-book-0.0.2.tar.bz2) = 409605 bytes