blob: fee9f87f186396938177d6be456938c264156c31 (
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
|
# New ports collection makefile for: gsoap
# Date created: 8 March 2004
# Whom: Sergey Matveychuk <sem@ciam.ru>
#
# $FreeBSD$
#
PORTNAME= gsoap
PORTVERSION= 2.7.9e
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gsoap2
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= sem@FreeBSD.org
COMMENT= Generator Tools for Coding SOAP/XML Web Services in C and C++
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}-2.7
ONLY_FOR_ARCHS= i386 amd64
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
CONST=
.else
CONST= const
.endif
.if ${OSVERSION} < 600000
IGNORE= does not compile: needs gethostbyname_r()
.endif
post-patch:
@${REINPLACE_CMD} -e 's/> FD_SETSIZE/>= (int)FD_SETSIZE/g' ${WRKSRC}/soapcpp2/stdsoap2.c
@${REINPLACE_CMD} -e 's/> FD_SETSIZE/>= (int)FD_SETSIZE/g' ${WRKSRC}/soapcpp2/stdsoap2.cpp
@${REINPLACE_CMD} -e 's/%%CONST%%/${CONST}/' ${WRKSRC}/soapcpp2/stdsoap2.cpp
.include <bsd.port.post.mk>
|