# $Id: Portfile,v 1.5 2006/06/04 14:38:13 stechert Exp $

PortSystem 1.0

name				gsoap
version				2.7.7
distfiles			${name}_${version}${extract.suffix}
categories			devel
maintainers			andre@splunk.com
description			offers an XML to C/C++ language binding to ease the \
				development of SOAP/XML Web services in C and C/C++
long_description		The gSOAP toolkit is a cross-platform development \
				environment for C and C++ SOAP/XML Web services (SOAP \
				1.1/1.2, WSDL 1.1). gSOAP supports XML serialization of \
				native C/C++ data types. Includes stub/skeleton compiler, \
				HTTP Web server, and much more.
homepage			http://www.cs.fsu.edu/~engelen/soap.html
master_sites			sourceforge
master_sites.mirror_subdir	gsoap2
checksums			sha1 5808aa51ee12b50683c12a4d20941a2a6cc490b6

worksrcdir			${name}-2.7
patchfiles			patch-configure.in patch-makemake patch-soapcpp2-Makefile.am patch-soapcpp2-wsdl-Makefile.am

pre-configure {
	system "cd ${worksrcpath} && ./makemake"
}

platform darwin 8 {
	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}
