aboutsummaryrefslogtreecommitdiffstats
path: root/net/ulxmlrpcpp/Makefile
blob: ad309749c8ee7a7a331f298a13ddc58cd911e951 (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.5.2
CATEGORIES= net devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
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 gnometarget
USE_ICONV=  yes
USE_OPENSSL=    yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes

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

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

.include <bsd.port.mk>