# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 100097 2012-11-28 01:23:37Z ryandesign@macports.org $

PortSystem          1.0

name                gsoap
version             2.8.11
set branch          [join [lrange [split ${version} .] 0 1] .]
platforms           darwin
categories          devel
maintainers         nomaintainer
license             GPL-2+

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:project/gsoap2/gSOAP

use_zip             yes
distname            ${name}_${version}
worksrcdir          ${name}-${branch}

checksums           rmd160  d96b07165f8e4885f1b2dd08589fd772a97ec8b5 \
                    sha256  8de57a0ae5957cee01e46e3d166cfedf7f5d0b5dae797fe3d8b01c777567534c

depends_lib         port:openssl

patchfiles          patch-configure.diff

use_parallel_build  no

livecheck.type      regex
livecheck.url       http://sourceforge.net/projects/gsoap2/files/
livecheck.regex     /${name}_(\[0-9.\]+)\\.
