pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ebook-tools Initial import of ebook-tools-0.1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c14ded35dfe
branches:  trunk
changeset: 552849:1c14ded35dfe
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 10 22:20:23 2009 +0000

description:
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:

 textproc/ebook-tools/DESCR            |   2 ++
 textproc/ebook-tools/Makefile         |  24 ++++++++++++++++++++++++
 textproc/ebook-tools/PLIST            |   8 ++++++++
 textproc/ebook-tools/buildlink3.mk    |  22 ++++++++++++++++++++++
 textproc/ebook-tools/distinfo         |   6 ++++++
 textproc/ebook-tools/patches/patch-aa |  22 ++++++++++++++++++++++
 6 files changed, 84 insertions(+), 0 deletions(-)

diffs (108 lines):

diff -r 8f362b0a2b4c -r 1c14ded35dfe textproc/ebook-tools/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ebook-tools/DESCR        Sat Jan 10 22:20:23 2009 +0000
@@ -0,0 +1,2 @@
+ebook-tools provides tools for accessing and converting various
+ebook file formats.
diff -r 8f362b0a2b4c -r 1c14ded35dfe textproc/ebook-tools/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ebook-tools/Makefile     Sat Jan 10 22:20:23 2009 +0000
@@ -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@localhost
+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 -r 8f362b0a2b4c -r 1c14ded35dfe textproc/ebook-tools/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ebook-tools/PLIST        Sat Jan 10 22:20:23 2009 +0000
@@ -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 -r 8f362b0a2b4c -r 1c14ded35dfe textproc/ebook-tools/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ebook-tools/buildlink3.mk        Sat Jan 10 22:20:23 2009 +0000
@@ -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 -r 8f362b0a2b4c -r 1c14ded35dfe textproc/ebook-tools/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ebook-tools/distinfo     Sat Jan 10 22:20:23 2009 +0000
@@ -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 -r 8f362b0a2b4c -r 1c14ded35dfe textproc/ebook-tools/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ebook-tools/patches/patch-aa     Sat Jan 10 22:20:23 2009 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index