aboutsummaryrefslogtreecommitdiff
path: root/net/ulxmlrpcpp/Makefile
blob: 5f41bb6ae7e73efe59e8ec412c2ff7c1bbb801d5 (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
# ex:ts=8
# Ports collection makefile for:	ulxmlrpcpp
# Date created:			Dec 10, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	ulxmlrpcpp
PORTVERSION=	1.2.5
PORTREVISION=	1
CATEGORIES=	net devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
#DISTNAME=	${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E:S/b/beta/}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A ultra lightweight xml-rpc library written in C++

LIB_DEPENDS=	expat.5:${PORTSDIR}/textproc/expat2

USE_BZIP2=	yes
USE_ICONV=	yes
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--disable-doxygen --disable-latex-docs
INSTALLS_SHLIB=	yes

post-patch:
	@${REINPLACE_CMD} -e "s|-pthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure

.include <bsd.port.mk>