diff options
author | markd <markd@pkgsrc.org> | 2010-06-06 23:37:00 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2010-06-06 23:37:00 +0000 |
commit | 60a726109804a5fbc7d3de174166fcd03de8d9bf (patch) | |
tree | 08eb7deca3632087f0f71f676ec5f21dc8e1af62 /textproc | |
parent | 1301a4cb9e3bb11d651de1b01458f93c6b87a3f0 (diff) | |
download | pkgsrc-60a726109804a5fbc7d3de174166fcd03de8d9bf.tar.gz |
Split lit2epub script out to a separate package - to remove dependency
on convertlit from this package. Bump PKGREVISION.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ebook-tools/Makefile | 11 | ||||
-rw-r--r-- | textproc/ebook-tools/PLIST | 3 | ||||
-rw-r--r-- | textproc/ebook-tools/distinfo | 4 | ||||
-rw-r--r-- | textproc/ebook-tools/patches/patch-aa | 22 | ||||
-rw-r--r-- | textproc/ebook-tools/patches/patch-ab | 14 |
5 files changed, 21 insertions, 33 deletions
diff --git a/textproc/ebook-tools/Makefile b/textproc/ebook-tools/Makefile index ecdfe248c0f..04339447068 100644 --- a/textproc/ebook-tools/Makefile +++ b/textproc/ebook-tools/Makefile @@ -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 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 --git a/textproc/ebook-tools/PLIST b/textproc/ebook-tools/PLIST index 953aea37b59..c2b39eed7e4 100644 --- a/textproc/ebook-tools/PLIST +++ b/textproc/ebook-tools/PLIST @@ -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 --git a/textproc/ebook-tools/distinfo b/textproc/ebook-tools/distinfo index 337362aaacf..57b5211abb5 100644 --- a/textproc/ebook-tools/distinfo +++ b/textproc/ebook-tools/distinfo @@ -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 --git a/textproc/ebook-tools/patches/patch-aa b/textproc/ebook-tools/patches/patch-aa deleted file mode 100644 index 62eeb6b7bbf..00000000000 --- a/textproc/ebook-tools/patches/patch-aa +++ /dev/null @@ -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 --git a/textproc/ebook-tools/patches/patch-ab b/textproc/ebook-tools/patches/patch-ab new file mode 100644 index 00000000000..fa944435f61 --- /dev/null +++ b/textproc/ebook-tools/patches/patch-ab @@ -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) |