aboutsummaryrefslogtreecommitdiffstats
path: root/net/ulxmlrpcpp/Makefile
blob: 50d7fcdf47e9941fcc8dd334ef20a07da3aa67af (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
# Created by: 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
USES=       pathfix iconv
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

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

.include <bsd.port.mk>