diff options
author | wiz <wiz> | 2009-01-10 22:20:23 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-01-10 22:20:23 +0000 |
commit | 7934b60e2165db8109c1ea5db327146ca02dc27d (patch) | |
tree | 8a697fcdaa8c4065bbaed4974e87cfeef4367063 /textproc | |
parent | 34a3c5f7d6ddbcc765a884eebd1052fff4b95ca6 (diff) | |
download | pkgsrc-7934b60e2165db8109c1ea5db327146ca02dc27d.tar.gz |
Initial import of ebook-tools-0.1.1, originally packaged for wip.
ebook-tools provides tools for accessing and converting various
ebook file formats.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ebook-tools/DESCR | 2 | ||||
-rw-r--r-- | textproc/ebook-tools/Makefile | 24 | ||||
-rw-r--r-- | textproc/ebook-tools/PLIST | 8 | ||||
-rw-r--r-- | textproc/ebook-tools/buildlink3.mk | 22 | ||||
-rw-r--r-- | textproc/ebook-tools/distinfo | 6 | ||||
-rw-r--r-- | textproc/ebook-tools/patches/patch-aa | 22 |
6 files changed, 84 insertions, 0 deletions
diff --git a/textproc/ebook-tools/DESCR b/textproc/ebook-tools/DESCR new file mode 100644 index 00000000000..905826c3f55 --- /dev/null +++ b/textproc/ebook-tools/DESCR @@ -0,0 +1,2 @@ +ebook-tools provides tools for accessing and converting various +ebook file formats. diff --git a/textproc/ebook-tools/Makefile b/textproc/ebook-tools/Makefile new file mode 100644 index 00000000000..1aba625d57c --- /dev/null +++ b/textproc/ebook-tools/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/01/10 22:20:23 wiz Exp $ +# + +DISTNAME= ebook-tools-0.1.1 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ebook-tools/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://ebook-tools.sourceforge.net/ +COMMENT= Tools for accessing and converting various ebook file formats + +DEPENDS+= convertlit-[0-9]*:../../textproc/convertlit +DEPENDS+= zip-[0-9]*:../../archivers/zip + +USE_CMAKE= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= bash:run + +REPLACE_BASH= src/tools/lit2epub + +.include "../../archivers/libzip/buildlink3.mk" +.include "../../devel/cmake/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/ebook-tools/PLIST b/textproc/ebook-tools/PLIST new file mode 100644 index 00000000000..953aea37b59 --- /dev/null +++ b/textproc/ebook-tools/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/10 22:20:23 wiz Exp $ +bin/einfo +bin/lit2epub +include/epub.h +include/epub_shared.h +lib/libepub.so +lib/libepub.so.0 +lib/libepub.so.0.1.1 diff --git a/textproc/ebook-tools/buildlink3.mk b/textproc/ebook-tools/buildlink3.mk new file mode 100644 index 00000000000..be261098e5a --- /dev/null +++ b/textproc/ebook-tools/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/10 22:20:23 wiz Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +EBOOK_TOOLS_BUILDLINK3_MK:= ${EBOOK_TOOLS_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= ebook-tools +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nebook-tools} +BUILDLINK_PACKAGES+= ebook-tools +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ebook-tools + +.if ${EBOOK_TOOLS_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.ebook-tools+= ebook-tools>=0.1.1 +BUILDLINK_PKGSRCDIR.ebook-tools?= ../../textproc/ebook-tools +.endif # EBOOK_TOOLS_BUILDLINK3_MK + +.include "../../archivers/libzip/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/textproc/ebook-tools/distinfo b/textproc/ebook-tools/distinfo new file mode 100644 index 00000000000..337362aaacf --- /dev/null +++ b/textproc/ebook-tools/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/01/10 22:20:23 wiz Exp $ + +SHA1 (ebook-tools-0.1.1.tar.gz) = 5c7c177914767412f3c8b145319fa4683755ac90 +RMD160 (ebook-tools-0.1.1.tar.gz) = 02ee38ed7175e94577f718cc68c468f4e9d229ea +Size (ebook-tools-0.1.1.tar.gz) = 43280 bytes +SHA1 (patch-aa) = e8b2df45fdcd985eb1df5ed6a56861af268f7d7c diff --git a/textproc/ebook-tools/patches/patch-aa b/textproc/ebook-tools/patches/patch-aa new file mode 100644 index 00000000000..62eeb6b7bbf --- /dev/null +++ b/textproc/ebook-tools/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/01/10 22:20:23 wiz Exp $ + +--- src/tools/lit2epub.orig 2008-06-07 21:09:38.000000000 +0200 ++++ src/tools/lit2epub +@@ -2,7 +2,7 @@ + # Uses clit to convert .lit files to valid epub + # known issues: created metadata uses the old spec + +-CLIT=$(which clit) ++CLIT=$(which convertlit) + + if [ "$?" != 0 ]; then + echo "Can't find clit, please make sure it is in your path" +@@ -42,7 +42,7 @@ if [ "$?" != 0 ]; then + fi + + else +- TEMPDIR=$($MKTEMP -d) ++ TEMPDIR=$($MKTEMP -d -t lit2epub.tmp) + fi + + WD=$(pwd) |