# Created by: Max Khon <fjoe@FreeBSD.org>
# $FreeBSD: branches/RELEASE_8_4_0/devel/libiqxmlrpc/Makefile 314960 2013-03-22 20:06:14Z makc $

PORTNAME=	libiqxmlrpc
PORTVERSION=	0.11.1
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	SF

MAINTAINER=	fjoe@FreeBSD.org
COMMENT=	Free, object-oriented XML-RPC implementation written in C++

BUILD_DEPENDS=	doxygen:${PORTSDIR}/devel/doxygen
LIB_DEPENDS=	boost_thread:${PORTSDIR}/devel/boost-libs

LICENSE=	BSD

BROKEN=		does not build

USE_BZIP2=	yes
USE_GNOME=	libxml2
USES=		cmake
.if defined(NOPORTDOCS)
CMAKE_ARGS=	-Dbuild_docs=off
.endif
LDFLAGS+=	-L${LOCALBASE}/lib
USE_LDCONFIG=	yes
USE_OPENSSL=	yes

PORTDATA=	*

post-patch:
	${REINPLACE_CMD} -e 's,lib/pkgconfig,libdata/pkgconfig,' ${WRKSRC}/libiqxmlrpc/CMakeLists.txt
	${REINPLACE_CMD} -e 's,share/doc/libiqxmlrpc-$${Libiqxmlrpc_VERSION},share/libiqxmlrpc,' ${WRKSRC}/doc/CMakeLists.txt

.include <bsd.port.mk>
