aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libe-book/Makefile
blob: b77cbac329591672017198b22d02a10b16f72460 (plain) (blame)
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
# $FreeBSD$

PORTNAME=   libe-book
PORTVERSION=    0.1.1
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

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

USE_GNOME=  libxml2

USES=       gmake libtool pathfix pkgconfig tar:xz
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  ZLIB_CFLAGS="-DWEHAVEZLIBINBASE" ZLIB_LIBS="-DWEDOHAVEIT"
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --disable-werror
CPPFLAGS+=  -I${LOCALBASE}/include

PORTDOCS=   *
DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
DOCS_CONFIGURE_OFF= --without-docs

.include <bsd.port.mk>