pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ebook-tools Split lit2epub script out to a se...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e4aca60a4af6
branches: trunk
changeset: 576332:e4aca60a4af6
user: markd <markd%pkgsrc.org@localhost>
date: Sun Jun 06 23:37:00 2010 +0000
description:
Split lit2epub script out to a separate package - to remove dependency
on convertlit from this package. Bump PKGREVISION.
diffstat:
textproc/ebook-tools/Makefile | 11 ++++-------
textproc/ebook-tools/PLIST | 3 +--
textproc/ebook-tools/distinfo | 4 ++--
textproc/ebook-tools/patches/patch-aa | 22 ----------------------
textproc/ebook-tools/patches/patch-ab | 14 ++++++++++++++
5 files changed, 21 insertions(+), 33 deletions(-)
diffs (99 lines):
diff -r c34523021095 -r e4aca60a4af6 textproc/ebook-tools/Makefile
--- a/textproc/ebook-tools/Makefile Sun Jun 06 22:44:02 2010 +0000
+++ b/textproc/ebook-tools/Makefile Sun Jun 06 23:37:00 2010 +0000
@@ -1,24 +1,21 @@
-# $NetBSD: Makefile,v 1.2 2009/08/29 11:49:56 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2010/06/06 23:37:00 markd Exp $
#
+# also update lit2epub if you update this package.
DISTNAME= ebook-tools-0.1.1
+PKGREVISION= 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
+LICENSE= mit
PKG_DESTDIR_SUPPORT= user-destdir
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"
diff -r c34523021095 -r e4aca60a4af6 textproc/ebook-tools/PLIST
--- a/textproc/ebook-tools/PLIST Sun Jun 06 22:44:02 2010 +0000
+++ b/textproc/ebook-tools/PLIST Sun Jun 06 23:37:00 2010 +0000
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/10 22:20:23 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2010/06/06 23:37:00 markd Exp $
bin/einfo
-bin/lit2epub
include/epub.h
include/epub_shared.h
lib/libepub.so
diff -r c34523021095 -r e4aca60a4af6 textproc/ebook-tools/distinfo
--- a/textproc/ebook-tools/distinfo Sun Jun 06 22:44:02 2010 +0000
+++ b/textproc/ebook-tools/distinfo Sun Jun 06 23:37:00 2010 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/01/10 22:20:23 wiz Exp $
+$NetBSD: distinfo,v 1.2 2010/06/06 23:37:00 markd 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
+SHA1 (patch-ab) = 63d64a50962969f83033af63f4fd00fd91a1f38c
diff -r c34523021095 -r e4aca60a4af6 textproc/ebook-tools/patches/patch-aa
--- a/textproc/ebook-tools/patches/patch-aa Sun Jun 06 22:44:02 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$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)
diff -r c34523021095 -r e4aca60a4af6 textproc/ebook-tools/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ebook-tools/patches/patch-ab Sun Jun 06 23:37:00 2010 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2010/06/06 23:37:00 markd Exp $
+
+--- src/tools/CMakeLists.txt.orig 2008-06-07 19:09:38.000000000 +0000
++++ src/tools/CMakeLists.txt
+@@ -3,6 +3,6 @@ add_executable (einfo einfo.c)
+ target_link_libraries (einfo epub)
+
+ install ( TARGETS einfo DESTINATION bin )
+-if(NOT WIN32)
+- install ( PROGRAMS lit2epub DESTINATION bin )
+-endif(NOT WIN32)
++#if(NOT WIN32)
++# install ( PROGRAMS lit2epub DESTINATION bin )
++#endif(NOT WIN32)
Home |
Main Index |
Thread Index |
Old Index