Hi!

Below is an update for textproc/ebook-tools (0.2.1 -> 0.2.2).  It is a
minor bugfix release, but I decided to clean up the port a little as
well:

 * Droped documentation, which is mostly useless.  Only headers are
   actually documented, and these are more accessible without
   doxygen-generated HTML.
 * Removed USE_NINJA stuff - devel/cmake module handles that.
 * Added HOMEPAGE.  There isn't much useful information on SourceForge
   project page, but it is at least a pointer.
 * Rewrote pkg/DESCR for more precision, and mentioned that lit2epub
   script, which is installed with this port, requires clit package.

The latter requires libtommath.  Both ports are attached.  (Paths in
tarballs are relative to PORTSDIR.)  Libtommath is actually used by
several other ports, although it is distributed as third-party lib in
their distfiles.  Several ports could probably be switched to use
libtommath port in the future.

P.S.:  if math/libtommath and textproc/clit aren't included for some
reason, lit2epub script should be dropped from textproc/ebook-tools.

P.P.S.:  I am aware that some would prefer to avoid word "clit" in
package names.  The author actually distributes alternative distfile
called "convertlit-$V.zip."  Still, it is the name of utility, so
renaming package for the sake of political correctness would only
confuse users and add script patching work to poor folks who still have
to cope with Microsoft Reader books.

-- 
Dmitrij D. Czarkoff

Index: Makefile
===================================================================
RCS file: /var/cvs/ports/textproc/ebook-tools/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile    21 Apr 2015 18:19:27 -0000      1.12
+++ Makefile    26 May 2015 20:32:55 -0000
@@ -1,9 +1,10 @@
 # $OpenBSD: Makefile,v 1.12 2015/04/21 18:19:27 sthen Exp $
 
 COMMENT =              accessing and converting various ebook file formats
-V =                    0.2.1
+V =                    0.2.2
 DISTNAME =             ebook-tools-${V}
-REVISION =             3
+
+HOMEPAGE =             https://sourceforge.net/projects/ebook-tools/
 
 SHARED_LIBS +=         epub            0.0     # 0.2
 
@@ -17,30 +18,9 @@ WANTLIB += c pthread xml2 z zip
 MASTER_SITES =         ${MASTER_SITE_SOURCEFORGE:=ebook-tools/${V}/}
 
 MODULES =              devel/cmake
-BUILD_DEPENDS =                devel/doxygen \
-                       math/graphviz
 LIB_DEPENDS =          textproc/libxml \
-                       archivers/libzip \
+                       archivers/libzip
 
 NO_TEST =              Yes
 
-MAKE_ENV=              DOXYGEN_ENCODE_PATH_STRIP=${WRKSRC}
-
-DOCSDIR =              ${PREFIX}/share/doc/ebook-tools
-
-post-build:
-       cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} ${BUILD_COMMAND} doc
-
-post-install:
-       ${INSTALL_DATA_DIR} ${DOCSDIR}
-       cp -R ${WRKBUILD}/doc/html ${DOCSDIR}
-       @find ${DOCSDIR} -type d -print0 | xargs -0t chmod ${DIRMODE}
-       @find ${DOCSDIR} -type f -print0 | xargs -0t chmod ${DOCMODE}
-
 .include <bsd.port.mk>
-USE_NINJA ?= No
-.if ${USE_NINJA:L} == "yes"
-BUILD_COMMAND = ${NINJA} ${NINJA_FLAGS}
-.else
-BUILD_COMMAND = ${MAKE_PROGRAM} ${MAKE_FLAGS}
-.endif
Index: distinfo
===================================================================
RCS file: /var/cvs/ports/textproc/ebook-tools/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    18 Jan 2015 03:15:20 -0000      1.2
+++ distinfo    26 May 2015 17:16:51 -0000
@@ -1,2 +1,2 @@
-SHA256 (ebook-tools-0.2.1.tar.gz) = 
wkPL/ayMNL9AmL9TgFQckUrsFQeyZC/NeI5zOZpu/HE=
-SIZE (ebook-tools-0.2.1.tar.gz) = 44793
+SHA256 (ebook-tools-0.2.2.tar.gz) = 
y8NZlukRFE+mKSU2atamIS1q8liPHjkHWVSXO77mJ64=
+SIZE (ebook-tools-0.2.2.tar.gz) = 46889
Index: pkg/DESCR
===================================================================
RCS file: /var/cvs/ports/textproc/ebook-tools/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   23 Dec 2011 13:04:00 -0000      1.1.1.1
+++ pkg/DESCR   26 May 2015 20:06:11 -0000
@@ -1 +1,4 @@
-Utility/library for converting between different formats of e-books.
+Library for converting between different formats of e-books and utility for
+printing books to standard output.
+
+lit2epub script requires clit package (textproc/clit port).
Index: pkg/PLIST
===================================================================
RCS file: /var/cvs/ports/textproc/ebook-tools/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   24 Jun 2013 08:47:12 -0000      1.3
+++ pkg/PLIST   26 May 2015 18:38:54 -0000
@@ -5,176 +5,3 @@ include/epub.h
 include/epub_shared.h
 include/epub_version.h
 @lib lib/libepub.so.${LIBepub_VERSION}
-share/doc/ebook-tools/
-share/doc/ebook-tools/html/
-share/doc/ebook-tools/html/EBOOK-TOOLS.TAGFILE
-share/doc/ebook-tools/html/annotated.html
-share/doc/ebook-tools/html/bc_s.png
-share/doc/ebook-tools/html/bdwn.png
-share/doc/ebook-tools/html/classes.html
-share/doc/ebook-tools/html/closed.png
-share/doc/ebook-tools/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
-share/doc/ebook-tools/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.map
-share/doc/ebook-tools/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.md5
-share/doc/ebook-tools/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.png
-share/doc/ebook-tools/html/dir_c308bb8439fac1a21b78c235854229b9.html
-share/doc/ebook-tools/html/dir_c308bb8439fac1a21b78c235854229b9_dep.map
-share/doc/ebook-tools/html/dir_c308bb8439fac1a21b78c235854229b9_dep.md5
-share/doc/ebook-tools/html/dir_c308bb8439fac1a21b78c235854229b9_dep.png
-share/doc/ebook-tools/html/doxygen.css
-share/doc/ebook-tools/html/doxygen.png
-share/doc/ebook-tools/html/dynsections.js
-share/doc/ebook-tools/html/epub_8h.html
-share/doc/ebook-tools/html/epub_8h__incl.map
-share/doc/ebook-tools/html/epub_8h__incl.md5
-share/doc/ebook-tools/html/epub_8h__incl.png
-share/doc/ebook-tools/html/epub_8h_source.html
-share/doc/ebook-tools/html/epub__shared_8h.html
-share/doc/ebook-tools/html/epub__shared_8h__dep__incl.map
-share/doc/ebook-tools/html/epub__shared_8h__dep__incl.md5
-share/doc/ebook-tools/html/epub__shared_8h__dep__incl.png
-share/doc/ebook-tools/html/epub__shared_8h_source.html
-share/doc/ebook-tools/html/epub__version_8h.html
-share/doc/ebook-tools/html/epub__version_8h_source.html
-share/doc/ebook-tools/html/epublib_8h.html
-share/doc/ebook-tools/html/epublib_8h__incl.map
-share/doc/ebook-tools/html/epublib_8h__incl.md5
-share/doc/ebook-tools/html/epublib_8h__incl.png
-share/doc/ebook-tools/html/epublib_8h_source.html
-share/doc/ebook-tools/html/files.html
-share/doc/ebook-tools/html/ftv2blank.png
-share/doc/ebook-tools/html/ftv2cl.png
-share/doc/ebook-tools/html/ftv2doc.png
-share/doc/ebook-tools/html/ftv2folderclosed.png
-share/doc/ebook-tools/html/ftv2folderopen.png
-share/doc/ebook-tools/html/ftv2lastnode.png
-share/doc/ebook-tools/html/ftv2link.png
-share/doc/ebook-tools/html/ftv2mlastnode.png
-share/doc/ebook-tools/html/ftv2mnode.png
-share/doc/ebook-tools/html/ftv2mo.png
-share/doc/ebook-tools/html/ftv2node.png
-share/doc/ebook-tools/html/ftv2ns.png
-share/doc/ebook-tools/html/ftv2plastnode.png
-share/doc/ebook-tools/html/ftv2pnode.png
-share/doc/ebook-tools/html/ftv2splitbar.png
-share/doc/ebook-tools/html/ftv2vertline.png
-share/doc/ebook-tools/html/functions.html
-share/doc/ebook-tools/html/functions_vars.html
-share/doc/ebook-tools/html/globals.html
-share/doc/ebook-tools/html/globals_defs.html
-share/doc/ebook-tools/html/globals_enum.html
-share/doc/ebook-tools/html/globals_eval.html
-share/doc/ebook-tools/html/globals_func.html
-share/doc/ebook-tools/html/globals_type.html
-share/doc/ebook-tools/html/globals_vars.html
-share/doc/ebook-tools/html/graph_legend.html
-share/doc/ebook-tools/html/graph_legend.md5
-share/doc/ebook-tools/html/graph_legend.png
-share/doc/ebook-tools/html/index.hhc
-share/doc/ebook-tools/html/index.hhk
-share/doc/ebook-tools/html/index.hhp
-share/doc/ebook-tools/html/index.html
-share/doc/ebook-tools/html/jquery.js
-share/doc/ebook-tools/html/linklist_8h.html
-share/doc/ebook-tools/html/linklist_8h__dep__incl.map
-share/doc/ebook-tools/html/linklist_8h__dep__incl.md5
-share/doc/ebook-tools/html/linklist_8h__dep__incl.png
-share/doc/ebook-tools/html/linklist_8h__incl.map
-share/doc/ebook-tools/html/linklist_8h__incl.md5
-share/doc/ebook-tools/html/linklist_8h__incl.png
-share/doc/ebook-tools/html/linklist_8h_source.html
-share/doc/ebook-tools/html/nav_f.png
-share/doc/ebook-tools/html/nav_g.png
-share/doc/ebook-tools/html/nav_h.png
-share/doc/ebook-tools/html/open.png
-share/doc/ebook-tools/html/structLList-members.html
-share/doc/ebook-tools/html/structLList.html
-share/doc/ebook-tools/html/structLList__coll__graph.map
-share/doc/ebook-tools/html/structLList__coll__graph.md5
-share/doc/ebook-tools/html/structLList__coll__graph.png
-share/doc/ebook-tools/html/structListNode-members.html
-share/doc/ebook-tools/html/structListNode.html
-share/doc/ebook-tools/html/structListNode__coll__graph.map
-share/doc/ebook-tools/html/structListNode__coll__graph.md5
-share/doc/ebook-tools/html/structListNode__coll__graph.png
-share/doc/ebook-tools/html/structcreator-members.html
-share/doc/ebook-tools/html/structcreator.html
-share/doc/ebook-tools/html/structdate-members.html
-share/doc/ebook-tools/html/structdate.html
-share/doc/ebook-tools/html/structeiterator-members.html
-share/doc/ebook-tools/html/structeiterator.html
-share/doc/ebook-tools/html/structeiterator__coll__graph.map
-share/doc/ebook-tools/html/structeiterator__coll__graph.md5
-share/doc/ebook-tools/html/structeiterator__coll__graph.png
-share/doc/ebook-tools/html/structepub-members.html
-share/doc/ebook-tools/html/structepub.html
-share/doc/ebook-tools/html/structepub__coll__graph.map
-share/doc/ebook-tools/html/structepub__coll__graph.md5
-share/doc/ebook-tools/html/structepub__coll__graph.png
-share/doc/ebook-tools/html/structepuberr-members.html
-share/doc/ebook-tools/html/structepuberr.html
-share/doc/ebook-tools/html/structguide-members.html
-share/doc/ebook-tools/html/structguide.html
-share/doc/ebook-tools/html/structid-members.html
-share/doc/ebook-tools/html/structid.html
-share/doc/ebook-tools/html/structmanifest-members.html
-share/doc/ebook-tools/html/structmanifest.html
-share/doc/ebook-tools/html/structmeta-members.html
-share/doc/ebook-tools/html/structmeta.html
-share/doc/ebook-tools/html/structmetadata-members.html
-share/doc/ebook-tools/html/structmetadata.html
-share/doc/ebook-tools/html/structmetadata__coll__graph.map
-share/doc/ebook-tools/html/structmetadata__coll__graph.md5
-share/doc/ebook-tools/html/structmetadata__coll__graph.png
-share/doc/ebook-tools/html/structocf-members.html
-share/doc/ebook-tools/html/structocf.html
-share/doc/ebook-tools/html/structocf__coll__graph.map
-share/doc/ebook-tools/html/structocf__coll__graph.md5
-share/doc/ebook-tools/html/structocf__coll__graph.png
-share/doc/ebook-tools/html/structopf-members.html
-share/doc/ebook-tools/html/structopf.html
-share/doc/ebook-tools/html/structopf__coll__graph.map
-share/doc/ebook-tools/html/structopf__coll__graph.md5
-share/doc/ebook-tools/html/structopf__coll__graph.png
-share/doc/ebook-tools/html/structroot-members.html
-share/doc/ebook-tools/html/structroot.html
-share/doc/ebook-tools/html/structsite-members.html
-share/doc/ebook-tools/html/structsite.html
-share/doc/ebook-tools/html/structspine-members.html
-share/doc/ebook-tools/html/structspine.html
-share/doc/ebook-tools/html/structtit__info-members.html
-share/doc/ebook-tools/html/structtit__info.html
-share/doc/ebook-tools/html/structtiterator-members.html
-share/doc/ebook-tools/html/structtiterator.html
-share/doc/ebook-tools/html/structtiterator__coll__graph.map
-share/doc/ebook-tools/html/structtiterator__coll__graph.md5
-share/doc/ebook-tools/html/structtiterator__coll__graph.png
-share/doc/ebook-tools/html/structtoc-members.html
-share/doc/ebook-tools/html/structtoc.html
-share/doc/ebook-tools/html/structtocCategory-members.html
-share/doc/ebook-tools/html/structtocCategory.html
-share/doc/ebook-tools/html/structtocCategory__coll__graph.map
-share/doc/ebook-tools/html/structtocCategory__coll__graph.md5
-share/doc/ebook-tools/html/structtocCategory__coll__graph.png
-share/doc/ebook-tools/html/structtocItem-members.html
-share/doc/ebook-tools/html/structtocItem.html
-share/doc/ebook-tools/html/structtocItem__coll__graph.map
-share/doc/ebook-tools/html/structtocItem__coll__graph.md5
-share/doc/ebook-tools/html/structtocItem__coll__graph.png
-share/doc/ebook-tools/html/structtocLabel-members.html
-share/doc/ebook-tools/html/structtocLabel.html
-share/doc/ebook-tools/html/structtoc__coll__graph.map
-share/doc/ebook-tools/html/structtoc__coll__graph.md5
-share/doc/ebook-tools/html/structtoc__coll__graph.png
-share/doc/ebook-tools/html/structtour-members.html
-share/doc/ebook-tools/html/structtour.html
-share/doc/ebook-tools/html/structtour__coll__graph.map
-share/doc/ebook-tools/html/structtour__coll__graph.md5
-share/doc/ebook-tools/html/structtour__coll__graph.png
-share/doc/ebook-tools/html/sync_off.png
-share/doc/ebook-tools/html/sync_on.png
-share/doc/ebook-tools/html/tab_a.png
-share/doc/ebook-tools/html/tab_b.png
-share/doc/ebook-tools/html/tab_h.png
-share/doc/ebook-tools/html/tab_s.png
-share/doc/ebook-tools/html/tabs.css

Attachment: libtommath.tgz
Description: application/tar-gz

Attachment: clit.tgz
Description: application/tar-gz

Reply via email to