aboutsummaryrefslogtreecommitdiffstats
path: root/net/xmlrpc-c-devel/Makefile
blob: b772f61e7d2c42b8c7bdefb9a7f83800e3f07a1f (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
40
41
42
43
44
45
# 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
PORTREVISION=   1
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=    ${SITE_PERL}/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

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502000
BROKEN=     "Does not compile"
.endif

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.post.mk>