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

PORTNAME=   libiqxmlrpc
PORTVERSION=    0.13.5
PORTREVISION=   6
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:devel/boost-libs

OPTIONS_DEFINE= DOXYGEN
OPTIONS_DEFAULT=

DOXYGEN_BUILD_DEPENDS=  doxygen:devel/doxygen
DOXYGEN_CMAKE_OFF=  -Dbuild_docs=off

USE_GNOME=  libxml2
USES=       cmake tar:bzip2 ssl
LDFLAGS+=   -L${LOCALBASE}/lib
USE_LDCONFIG=   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>