summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2021-01-29 13:43:05 +0000
committerDima Panov <fluffy@FreeBSD.org>2021-01-29 13:43:05 +0000
commit7f4532864b0a50b4c670c35e441b7600e6d36c0a (patch)
treee73af3c89fcab5ef64988da4da3aaa436a40d0bb
parent- Resurrect and update to version 1.5.112 (diff)
textproc/libepubgen: update to 0.1.1
PR: 252659 Approved by: maintainer (timeout 2w)
-rw-r--r--textproc/libepubgen/Makefile29
-rw-r--r--textproc/libepubgen/distinfo6
-rw-r--r--textproc/libepubgen/pkg-plist2
3 files changed, 21 insertions, 16 deletions
diff --git a/textproc/libepubgen/Makefile b/textproc/libepubgen/Makefile
index ff4ba6ff2620..169503121bff 100644
--- a/textproc/libepubgen/Makefile
+++ b/textproc/libepubgen/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= libepubgen
-PORTVERSION= 0.1.0
-PORTREVISION= 9
+PORTVERSION= 0.1.1
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -11,7 +10,6 @@ COMMENT= Library for generating documents in ePub format
LICENSE= MPL20
-LIB_DEPENDS= librevenge-0.0.so:textproc/librevenge
BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string/classification.hpp:devel/boost-libs \
${LOCALBASE}/include/boost/algorithm/string/join.hpp:devel/boost-libs \
${LOCALBASE}/include/boost/algorithm/string/split.hpp:devel/boost-libs \
@@ -19,27 +17,34 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string/classification.hpp:de
${LOCALBASE}/include/boost/assign/list_of.hpp:devel/boost-libs \
${LOCALBASE}/include/boost/cstdint.hpp:devel/boost-libs \
${LOCALBASE}/include/boost/functional/hash.hpp:devel/boost-libs
+LIB_DEPENDS= librevenge-0.0.so:textproc/librevenge
-CONFIGURE_ARGS= --disable-werror
-CPPFLAGS+= -I${LOCALBASE}/include
-
-GNU_CONFIGURE= yes
USES= compiler:c++11-lang libtool pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-werror
+
INSTALL_TARGET= install-strip
+CPPFLAGS+= -I${LOCALBASE}/include
+
+SO_VER= 1.0.1
+PLIST_SUB+= SO_VER="${SO_VER}"
+
+PORTDOCS= *
+
OPTIONS_DEFINE= DOCS DOXYGEN TEST
OPTIONS_DEFAULT=
OPTIONS_SUB= yes
+DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
+DOXYGEN_CONFIGURE_OFF= --without-docs
+DOXYGEN_IMPLIES= DOCS
+
TEST_TARGET= check
TEST_LIB_DEPENDS= libxml2.so:textproc/libxml2 \
libcppunit.so:devel/cppunit
TEST_CONFIGURE_ENABLE= tests
-PORTDOCS= *
-DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
-DOXYGEN_CONFIGURE_OFF= --without-docs
-DOXYGEN_IMPLIES= DOCS
-
.include <bsd.port.mk>
diff --git a/textproc/libepubgen/distinfo b/textproc/libepubgen/distinfo
index 5f9e449dced7..52a10fc6aa37 100644
--- a/textproc/libepubgen/distinfo
+++ b/textproc/libepubgen/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1517410235
-SHA256 (libepubgen-0.1.0.tar.xz) = eeaa2c19cc487c821b6477194a01b4373bce9368afb644d768d088935e3b3994
-SIZE (libepubgen-0.1.0.tar.xz) = 319652
+TIMESTAMP = 1610597172
+SHA256 (libepubgen-0.1.1.tar.xz) = 03e084b994cbeffc8c3dd13303b2cb805f44d8f2c3b79f7690d7e3fc7f6215ad
+SIZE (libepubgen-0.1.1.tar.xz) = 324380
diff --git a/textproc/libepubgen/pkg-plist b/textproc/libepubgen/pkg-plist
index 76604a16a58b..ffbf59c02b3a 100644
--- a/textproc/libepubgen/pkg-plist
+++ b/textproc/libepubgen/pkg-plist
@@ -7,5 +7,5 @@ include/libepubgen-0.1/libepubgen/libepubgen-decls.h
include/libepubgen-0.1/libepubgen/libepubgen.h
lib/libepubgen-0.1.so
lib/libepubgen-0.1.so.1
-lib/libepubgen-0.1.so.1.0.0
+lib/libepubgen-0.1.so.%%SO_VER%%
libdata/pkgconfig/libepubgen-0.1.pc