aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libiqxmlrpc/Makefile
blob: 98f587ecd1bc482255c185417dee9d9399b25ed6 (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
# Created by: Max Khon <fjoe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libiqxmlrpc
PORTVERSION=    0.12.12
PORTREVISION=   0
CATEGORIES= devel net
MASTER_SITES=   SF

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

LICENSE=    BSD2CLAUSE

LIB_DEPENDS=    libboost_thread.so:${PORTSDIR}/devel/boost-libs

OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=

DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
DOCS_CMAKE_ARGS_OFF=    -Dbuild_docs=off

USE_GNOME=  libxml2
USES=       cmake tar:bzip2
LDFLAGS+=   -L${LOCALBASE}/lib
USE_LDCONFIG=   yes
USE_OPENSSL=    yes

PORTDOCS=   *

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

.include <bsd.port.mk>