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

PORTNAME=   ulxmlrpcpp
PORTVERSION=    1.7.5
CATEGORIES= net devel
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

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

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

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_BZIP2=  yes
USE_GNOME=  gnomehack
USE_ICONV=  yes
USE_OPENSSL=    yes
USE_AUTOTOOLS=  libtool
CONFIGURE_ENV=  PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
        PTHREAD_LIBS="${PTHREAD_LIBS}"
USE_LDCONFIG=   yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e \
        '/^SUBDIRS/s| docs | |g' ${WRKSRC}/ulxmlrpcpp/Makefile.in

.include <bsd.port.mk>