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

PORTNAME=   ulxmlrpcpp
PORTVERSION=    1.2.5
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.4:${PORTSDIR}/textproc/expat2 \
        iconv.3:${PORTSDIR}/converters/libiconv

USE_BZIP2=  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>