summaryrefslogtreecommitdiff
path: root/net/xmlrpc-c/Makefile
blob: acee69c41edfabfd59be8ab6e69fc3f715e111c6 (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
39
# ex:ts=8
# New ports collection makefile for:	xmlrpc-c
# Date created:			Mar 8, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	xmlrpc-c
PORTVERSION=	0.9.10
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	XML-RPC library for C and C++

LIB_DEPENDS=	wwwcore.1:${PORTSDIR}/www/libwww
RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Frontier/Client.pm:${PORTSDIR}/net/p5-Frontier-RPC

USE_LIBTOOL=	yes
USE_GMAKE=	yes
INSTALLS_SHLIB=	yes

MAN1=	meerkat-app-list.1 xml-rpc-api2cpp.1 xmlrpc-c-config.1 \
	query-meerkat.1 xml-rpc-api2txt.1
MAN7=	xmlrpc-c.7

pre-patch:
	@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
		${WRKSRC}/lib/abyss/src/data.c \
		${WRKSRC}/tools/turbocharger/mod_gzip.c \
		${WRKSRC}/tools/turbocharger/mod_gzip.c

post-install:
	@${RM} -f ${PREFIX}/lib/*.la

.include <bsd.port.mk>