aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libiqxmlrpc/Makefile
blob: f6c7e9e90b6997537a4969c28fd3842fa8206bfd (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.9.0
PORTREVISION=   0
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>