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

PORTNAME=	libcmis
PORTVERSION=	0.5.2
CATEGORIES=	net devel
MASTER_SITES=	https://github.com/tdf/libcmis/releases/download/v${PORTVERSION}/ \
		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=	libboost_program_options.so:devel/boost-libs \
		libcurl.so:ftp/curl

USES=		compiler:c++11-lib gmake gnome libtool localbase pathfix \
		pkgconfig tar:xz
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>