aboutsummaryrefslogtreecommitdiffstats
path: root/net/ulxmlrpcpp/Makefile
blob: 82075d59fe3b664e5b475c538cbf136ec885a826 (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
# Created by: ijliao
# $FreeBSD$

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

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

LIB_DEPENDS=    libexpat.so:textproc/expat2

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

USES=       tar:bzip2 pathfix iconv libtool ssl
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  PTHREAD_LIBS="-lpthread"
INSTALL_TARGET= install-strip
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>