summaryrefslogtreecommitdiff
path: root/textproc/libe-book/Makefile
blob: e5bb087d1f9d29e3aa6452f3144c1bbd3627312c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $FreeBSD$

PORTNAME=	libe-book
PORTVERSION=	0.1.3
PORTREVISION=	11
CATEGORIES=	textproc
MASTER_SITES=	SF/libebook/${PORTNAME}-${PORTVERSION}/

MAINTAINER=	office@FreeBSD.org
COMMENT=	Library for import of reflowable e-book formats

LICENSE=	MPL20

BUILD_DEPENDS=	${LOCALBASE}/include/boost/algorithm/string/classification.hpp:devel/boost-libs
LIB_DEPENDS=	libicui18n.so:devel/icu \
		liblangtag.so:devel/liblangtag \
		librevenge-0.0.so:textproc/librevenge

OPTIONS_DEFINE=	DOCS

USE_GNOME=	libxml2

USES=		compiler:c++11-lib gmake gperf libtool pathfix pkgconfig tar:xz
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
CONFIGURE_ARGS=	--disable-werror --disable-tests
CPPFLAGS+=	-I${LOCALBASE}/include -DBOOST_ERROR_CODE_HEADER_ONLY

PORTDOCS=	*
DOCS_BUILD_DEPENDS=	doxygen:devel/doxygen
DOCS_CONFIGURE_OFF=	--without-docs

.include <bsd.port.mk>