aboutsummaryrefslogtreecommitdiffstats
path: root/net/xmlrpc-c/Makefile
blob: afb44306fdc2884f2ba0d92ac3667b92a8518e3c (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
# 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
COMMENT=    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_REINPLACE=  yes
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:
    @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
        ${WRKSRC}/lib/abyss/src/data.c \
        ${WRKSRC}/tools/turbocharger/mod_gzip.c 

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

.include <bsd.port.mk>