aboutsummaryrefslogtreecommitdiff
path: root/graphics/libetonyek/Makefile
blob: edc5c39230f5239365478e628b7e97874a4d18b5 (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
34
35
36
37
38
39
40
41
42
43
# $FreeBSD$

PORTNAME=	libetonyek
PORTVERSION=	0.0.3
PORTREVISION=	2
CATEGORIES=	graphics
MASTER_SITES=	http://dev-www.libreoffice.org/src/

MAINTAINER=	office@FreeBSD.org
COMMENT=	Library to interpret and import Apple Keynote presentations

LICENSE=	LGPL21 MPL
LICENSE_COMB=	dual

BUILD_DEPENDS=	gperf:${PORTSDIR}/devel/gperf
LIB_DEPENDS=	libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
		libwpd-0.9.so:${PORTSDIR}/textproc/libwpd \
		libxml2.so:${PORTSDIR}/textproc/libxml2

OPTIONS_DEFINE=	DOCS TEST

CONFIGURE_ARGS=	--disable-werror
CPPFLAGS+=	-I${LOCALBASE}/include

USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
USE_XZ=		yes
USES=		gmake libtool pkgconfig pathfix

PORTDOCS=	*
DOCS_BUILD_DEPENDS=	doxygen:${PORTSDIR}/devel/doxygen
DOCS_CONFIGURE_OFF=	--without-docs
TEST_BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/cppunit.pc:${PORTSDIR}/devel/cppunit
TEST_CONFIGURE_OFF=	--disable-tests

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MTEST}
post-build:
	@cd ${WRKSRC}/src/test && ${GMAKE} check
.endif

.include <bsd.port.mk>