aboutsummaryrefslogtreecommitdiff
path: root/textproc/libe-book
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-02-25 22:58:20 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-02-25 22:58:20 +0000
commit69e5ced4fbd9445a21b9c7c8791392b1cd50ac47 (patch)
treec6ee29c3fb8ff7e1d24bd4037986123acb82d408 /textproc/libe-book
parentda7ab928baef18cb50fe3c6ec11c9d00f7eb9653 (diff)
downloadports-69e5ced4fbd9445a21b9c7c8791392b1cd50ac47.tar.gz
ports-69e5ced4fbd9445a21b9c7c8791392b1cd50ac47.zip
Notes
Diffstat (limited to 'textproc/libe-book')
-rw-r--r--textproc/libe-book/Makefile14
-rw-r--r--textproc/libe-book/files/patch-libe-book.pc.in6
2 files changed, 10 insertions, 10 deletions
diff --git a/textproc/libe-book/Makefile b/textproc/libe-book/Makefile
index 03661b2b30ae..eacf2f399f3d 100644
--- a/textproc/libe-book/Makefile
+++ b/textproc/libe-book/Makefile
@@ -2,31 +2,31 @@
PORTNAME= libe-book
PORTVERSION= 0.1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= SF/libebook/${PORTNAME}-${PORTVERSION}/
MAINTAINER= office@FreeBSD.org
COMMENT= Library for import of reflowable e-book formats
-LICENSE= LGPL21 MPL
-LICENSE_COMB= dual
-
-OPTIONS_DEFINE= DOCS
+LICENSE= MPL
BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= libicui18n.so:${PORTSDIR}/devel/icu \
librevenge-0.0.so:${PORTSDIR}/textproc/librevenge
+OPTIONS_DEFINE= DOCS
+
USE_GNOME= libxml2
-USES= gmake gperf libtool pathfix pkgconfig tar:xz
+USES= compiler:c++11-lang gmake gperf libtool pathfix pkgconfig \
+ tar:xz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= ZLIB_CFLAGS="-DWEHAVEZLIBINBASE" ZLIB_LIBS="-DWEDOHAVEIT"
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --disable-werror --disable-tests
-CPPFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include -DBOOST_ERROR_CODE_HEADER_ONLY
PORTDOCS= *
DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
diff --git a/textproc/libe-book/files/patch-libe-book.pc.in b/textproc/libe-book/files/patch-libe-book.pc.in
index be8292586908..ec21d46dc079 100644
--- a/textproc/libe-book/files/patch-libe-book.pc.in
+++ b/textproc/libe-book/files/patch-libe-book.pc.in
@@ -1,6 +1,6 @@
---- ./libe-book.pc.in.orig 2014-05-24 15:06:06.000000000 +0200
-+++ ./libe-book.pc.in 2014-06-10 15:47:26.723536905 +0200
-@@ -10,4 +10,4 @@
+--- libe-book.pc.in.orig 2014-06-27 10:20:12 UTC
++++ libe-book.pc.in
+@@ -10,4 +10,4 @@ Requires: librevenge-0.0 librevenge-stre
Libs: -L${libdir} -le-book-@EBOOK_MAJOR_VERSION@.@EBOOK_MINOR_VERSION@
Cflags: -I${includedir}/libe-book-@EBOOK_MAJOR_VERSION@.@EBOOK_MINOR_VERSION@