2004-03-10 16:35:51 +01:00
|
|
|
# New ports collection makefile for: gsoap
|
|
|
|
# Date created: 8 March 2004
|
|
|
|
# Whom: Sergey Matveychuk <sem@ciam.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gsoap
|
2007-04-12 11:07:28 +02:00
|
|
|
PORTVERSION= 2.7.9e
|
2004-03-10 16:35:51 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= gsoap2
|
2005-06-09 08:18:12 +02:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
2004-03-10 16:35:51 +01:00
|
|
|
|
2004-07-07 21:20:02 +02:00
|
|
|
MAINTAINER= sem@FreeBSD.org
|
2004-03-10 16:35:51 +01:00
|
|
|
COMMENT= Generator Tools for Coding SOAP/XML Web Services in C and C++
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-03-10 16:35:51 +01:00
|
|
|
|
2005-04-20 13:33:57 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-2.7
|
|
|
|
|
2005-10-16 13:09:37 +02:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2004-03-10 16:35:51 +01:00
|
|
|
|
2006-08-06 20:41:40 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-08-07 13:12:38 +02:00
|
|
|
.if ${OSVERSION} < 700000
|
2006-08-06 20:41:40 +02:00
|
|
|
CONST=
|
|
|
|
.else
|
|
|
|
CONST= const
|
|
|
|
.endif
|
|
|
|
|
2007-06-28 10:08:24 +02:00
|
|
|
.if ${OSVERSION} < 600000
|
|
|
|
IGNORE= does not compile: needs gethostbyname_r()
|
|
|
|
.endif
|
|
|
|
|
2006-08-05 10:31:04 +02:00
|
|
|
post-patch:
|
2006-08-12 11:28:02 +02:00
|
|
|
@${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
|
2006-08-06 20:41:40 +02:00
|
|
|
@${REINPLACE_CMD} -e 's/%%CONST%%/${CONST}/' ${WRKSRC}/soapcpp2/stdsoap2.cpp
|
2006-08-05 10:31:04 +02:00
|
|
|
|
2006-08-06 20:41:40 +02:00
|
|
|
.include <bsd.port.post.mk>
|