aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libiqxmlrpc/Makefile
blob: 6055f383c99aea04e91f15298a7ce570f8cb21b3 (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
# New ports collection makefile for:    libiqxmlrpc
# Date created:             1 Apr 2008
# Whom:                 Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libiqxmlrpc
PORTVERSION=    0.8.7
PORTREVISION=   2
CATEGORIES= devel
MASTER_SITES=   SF

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

LIB_DEPENDS=    boost_thread.4:${PORTSDIR}/devel/boost-libs\
        xml\\+\\+-2.6.2:${PORTSDIR}/textproc/libxml++26

GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700000
CONFIGURE_ENV=  LIBS="${PTHREAD_LIBS}"
.endif

post-patch:
    @${REINPLACE_CMD} 's,libxml++-1.0,libxml++-2.6,g' ${WRKSRC}/configure 
    @${REINPLACE_CMD} 's,{libdir}/pkgconfig,{prefix}/libdata/pkgconfig,' ${WRKSRC}/Makefile.in

.include <bsd.port.post.mk>