From c5fab01639b0a1d17f45b6843397e1777c973f3d Mon Sep 17 00:00:00 2001 From: "Jason E. Hale" Date: Mon, 3 Dec 2012 22:44:59 +0000 Subject: [PATCH] - Update to 0.2.2 - Improve grammar in COMMENT - Drop ABI version numbers from LIB_DEPENDS - Drop unneeded pkgconf dependency - Trim Makefile header - Tab -> space in pkg-descr WWW line Feature safe: yes --- textproc/ebook-tools/Makefile | 15 +++++---------- textproc/ebook-tools/distinfo | 4 ++-- .../files/patch-src__libepub__CMakeLists.txt | 11 +++++++++++ .../files/patch-src__libepub__epub_version.h | 15 +++++++++++++++ textproc/ebook-tools/pkg-descr | 2 +- textproc/ebook-tools/pkg-plist | 2 +- 6 files changed, 35 insertions(+), 14 deletions(-) create mode 100644 textproc/ebook-tools/files/patch-src__libepub__CMakeLists.txt create mode 100644 textproc/ebook-tools/files/patch-src__libepub__epub_version.h diff --git a/textproc/ebook-tools/Makefile b/textproc/ebook-tools/Makefile index 40d84e771878..675708a4f148 100644 --- a/textproc/ebook-tools/Makefile +++ b/textproc/ebook-tools/Makefile @@ -1,23 +1,18 @@ -# New ports collection makefile for: ebook-tools -# Date created: 2008-07-13 -# Whom: Martin Wilke -# +# Created by: Martin Wilke # $FreeBSD$ -# PORTNAME= ebook-tools -PORTVERSION= 0.2.1 -PORTREVISION= 1 +PORTVERSION= 0.2.2 CATEGORIES= textproc kde MASTER_SITES= SF MAINTAINER= kde@FreeBSD.org -COMMENT= Accessing and converting various ebook file formats +COMMENT= Accesses and converts various ebook file formats -LIB_DEPENDS= zip.3:${PORTSDIR}/archivers/libzip +LIB_DEPENDS= zip:${PORTSDIR}/archivers/libzip USE_CMAKE= yes USE_LDCONFIG= yes -USE_GNOME= libxml2 pkgconfig +USE_GNOME= libxml2 .include diff --git a/textproc/ebook-tools/distinfo b/textproc/ebook-tools/distinfo index e1051a121809..bd2cb9963755 100644 --- a/textproc/ebook-tools/distinfo +++ b/textproc/ebook-tools/distinfo @@ -1,2 +1,2 @@ -SHA256 (ebook-tools-0.2.1.tar.gz) = c243cbfdac8c34bf4098bf5380541c914aec1507b2642fcd788e73399a6efc71 -SIZE (ebook-tools-0.2.1.tar.gz) = 44793 +SHA256 (ebook-tools-0.2.2.tar.gz) = cbc35996e911144fa62925366ad6a6212d6af2588f1e39075954973bbee627ae +SIZE (ebook-tools-0.2.2.tar.gz) = 46889 diff --git a/textproc/ebook-tools/files/patch-src__libepub__CMakeLists.txt b/textproc/ebook-tools/files/patch-src__libepub__CMakeLists.txt new file mode 100644 index 000000000000..0e749de03ef2 --- /dev/null +++ b/textproc/ebook-tools/files/patch-src__libepub__CMakeLists.txt @@ -0,0 +1,11 @@ +--- ./src/libepub/CMakeLists.txt.orig 2012-09-13 11:31:34.000000000 -0400 ++++ ./src/libepub/CMakeLists.txt 2012-09-13 11:31:44.000000000 -0400 +@@ -2,7 +2,7 @@ + add_library (epub SHARED epub.c ocf.c opf.c linklist.c list.c) + target_link_libraries (epub ${LIBZIP_LIBRARY} ${LIBXML2_LIBRARIES}) + +-set_target_properties (epub PROPERTIES VERSION 0.2.1 SOVERSION 0) ++set_target_properties (epub PROPERTIES VERSION 0.2.2 SOVERSION 0) + + install ( TARGETS epub RUNTIME DESTINATION bin LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} ) + install ( FILES epub.h epub_shared.h epub_version.h DESTINATION include ) diff --git a/textproc/ebook-tools/files/patch-src__libepub__epub_version.h b/textproc/ebook-tools/files/patch-src__libepub__epub_version.h new file mode 100644 index 000000000000..51764bc46886 --- /dev/null +++ b/textproc/ebook-tools/files/patch-src__libepub__epub_version.h @@ -0,0 +1,15 @@ +--- ./src/libepub/epub_version.h.orig 2012-09-13 11:30:51.000000000 -0400 ++++ ./src/libepub/epub_version.h 2012-09-13 11:31:14.000000000 -0400 +@@ -1,10 +1,10 @@ + #ifndef _LIBEPUB_VERSION_H_ + #define _LIBEPUB_VERSION_H_ + +-#define LIBEPUB_VERSION_STRING "0.2.1" ++#define LIBEPUB_VERSION_STRING "0.2.2" + #define LIBEPUB_VERSION_MAJOR 0 + #define LIBEPUB_VERSION_MINOR 2 +-#define LIBEPUB_VERSION_RELEASE 1 ++#define LIBEPUB_VERSION_RELEASE 2 + #define LIBEPUB_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c)) + + #define LIBEPUB_VERSION \ diff --git a/textproc/ebook-tools/pkg-descr b/textproc/ebook-tools/pkg-descr index 53cc76f049dc..645739f32cb0 100644 --- a/textproc/ebook-tools/pkg-descr +++ b/textproc/ebook-tools/pkg-descr @@ -1,4 +1,4 @@ ebook-tools provides tools for accessing and converting various ebook file formats. -WWW: http://sourceforge.net/projects/ebook-tools +WWW: http://sourceforge.net/projects/ebook-tools diff --git a/textproc/ebook-tools/pkg-plist b/textproc/ebook-tools/pkg-plist index 9b4814ef1359..e71f50fbadb9 100644 --- a/textproc/ebook-tools/pkg-plist +++ b/textproc/ebook-tools/pkg-plist @@ -5,4 +5,4 @@ include/epub_shared.h include/epub_version.h lib/libepub.so lib/libepub.so.0 -lib/libepub.so.0.2.1 +lib/libepub.so.0.2.2