# -*- 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

PortSystem 1.0

name               xmlrpcxx
version            0.7
categories         devel www

maintainers        nomaintainer
description        XmlRpc++ is a C++ implementation of the XML-RPC protocol.
long_description   XmlRpc++ was based upon Shilad Sen's excellent py-xmlrpc. The XmlRpc protocol was \
                   designed to make remote procedure calls easy: it encodes data in a simple XML format \
                   and uses HTTP for communication. XmlRpc++ is designed to make it easy to incorporate \
                   XML-RPC client and server support into C++ applications. 

homepage           http://xmlrpcpp.sourceforge.net/

platforms          darwin
master_sites       sourceforge:xmlrpcpp
distname           xmlrpc++${version}
checksums          md5 d88f0f9c36d938316d672d16f6c37d7e \
                   sha1 e0d853d5c84fa9d20566a4da25fa168b6181137c

patchfiles         Validator.patch \
                   VirtualWarnings.patch
patch.pre_args-append   -R
patch.pre_args-replace  -p0 -p1

use_configure      no
destroot           {
	                 # no install in package available
                     file mkdir ${destroot}${prefix}/include
                     file mkdir ${destroot}${prefix}/lib
                     system " cd ${worksrcpath} && \
                              chmod a+r *.a && \
                              cp -R *.a ${destroot}${prefix}/lib/ && \
                              cp -R src/*.h ${destroot}${prefix}/include/
                     "
                   }
