aboutsummaryrefslogtreecommitdiffstats
path: root/net/easysoap/Makefile
blob: 2ca1fbcd8c2ead79fe88d6acae10b6ed1cd619b7 (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
# New ports collection makefile for:    easysoap
# Date created:         21th September 2001
# Whom:             Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
#
# $FreeBSD$
#

PORTNAME=   easysoap
PORTVERSION=    0.5
PORTREVISION=   2
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   EasySoap++-${PORTVERSION}

MAINTAINER=    gabriel_ambuehl@buz.ch

LIB_DEPENDS=    expat.4:${PORTSDIR}/textproc/expat2

USE_OPENSSL=    yes
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CXXFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib -lexpat"
INSTALLS_SHLIB= yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500035
BROKEN=     "Does not compile on 5.0"
.endif

pre-patch:
    @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
        ${WRKSRC}/src/abyss/src/data.c

.include <bsd.port.post.mk>