aboutsummaryrefslogtreecommitdiff
path: root/net/libcmis/Makefile
blob: 9efdd74a200ddcc03cdc6f66de74dc68509a0ff6 (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
# $FreeBSD$

PORTNAME=	libcmis
PORTVERSION=	0.5.1
PORTREVISION=	12
CATEGORIES=	net devel
MASTER_SITES=	https://dev-www.libreoffice.org/src/

MAINTAINER=	office@FreeBSD.org
COMMENT=	Client library for the CMIS interface

LICENSE=	LGPL20 MPL11 GPLv2
LICENSE_COMB=	dual

BROKEN_sparc64=	cannot link with boost

BUILD_DEPENDS=	cppunit-config:devel/cppunit \
		${LOCALBASE}/lib/libboost_regex.a:devel/boost-libs
LIB_DEPENDS=	libcurl.so:ftp/curl

USES=		compiler:c++11-lib gmake libtool pathfix pkgconfig
USE_GNOME=	libxml2

CONFIGURE_ARGS=	--disable-werror --with-boost=${LOCALBASE} --without-man
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

PLIST_SUB=	MAJVER=${PORTVERSION:R}

post-patch:
	@${REINPLACE_CMD} -e "s|@WITH_LIBCMIS_MAN_FALSE@|#|g" \
	    ${WRKSRC}/Makefile.in

.include <bsd.port.mk>