aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2012-12-04 06:44:59 +0800
committerjhale <jhale@FreeBSD.org>2012-12-04 06:44:59 +0800
commit56351feac041363c5ba73888538360b20a59b7e5 (patch)
tree541fefd09fb4a6ea50dffb140e5e4c8aac112ee3 /textproc
parentfda0110d7a30a965205feb18c497d62a800b198e (diff)
downloadfreebsd-ports-gnome-56351feac041363c5ba73888538360b20a59b7e5.tar.gz
freebsd-ports-gnome-56351feac041363c5ba73888538360b20a59b7e5.tar.zst
freebsd-ports-gnome-56351feac041363c5ba73888538360b20a59b7e5.zip
- 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
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ebook-tools/Makefile15
-rw-r--r--textproc/ebook-tools/distinfo4
-rw-r--r--textproc/ebook-tools/files/patch-src__libepub__CMakeLists.txt11
-rw-r--r--textproc/ebook-tools/files/patch-src__libepub__epub_version.h15
-rw-r--r--textproc/ebook-tools/pkg-descr2
-rw-r--r--textproc/ebook-tools/pkg-plist2
6 files changed, 35 insertions, 14 deletions
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 <miwi@FreeBSD.org>
-#
+# Created by: Martin Wilke <miwi@FreeBSD.org>
# $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 <bsd.port.mk>
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