source: trunk/dports/devel/xmlrpc-c/Portfile @ 103460

Last change on this file since 103460 was 103460, checked in by jmr@…, 6 years ago

xmlrpc-c: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- 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
2# $Id: Portfile 103460 2013-02-26 11:58:23Z jmr@macports.org $
3
4PortSystem          1.0
5
6name                xmlrpc-c
7version             1.16.42
8categories          devel www
9# tools/turbocharger is Apache-1
10license             BSD MIT Apache-1
11platforms           darwin
12maintainers         nomaintainer
13
14description         Lightweight RPC library based on XML and HTTP
15
16long_description    XML-RPC is a quick-and-easy way to make procedure calls \
17                    over the Internet. It converts the procedure call into \
18                    XML document, sends it to a remote server using HTTP, and \
19                    gets back the response as XML. \
20                    This library provides a modular implementation of XML-RPC \
21                    for C and C++.
22
23homepage            http://xmlrpc-c.sourceforge.net/
24master_sites        sourceforge:project/xmlrpc-c/Xmlrpc-c%20Super%20Stable/${version}
25
26checksums           sha1    7a71fabc652c2848a7226605432a2e420a02dff0 \
27                    rmd160  945fb092152a8ff139407ce1e80da9803b5afdce \
28                    sha256  6eaf6d4ceba41ad6b47d7e4321afab8fbb18998d9d16655b73242496f759b59b
29
30extract.suffix      .tgz
31
32depends_lib         port:libwww \
33                    port:openssl \
34                    port:curl
35
36variant universal {}
37
38configure.cc-append [get_canonical_archflags cc]
39configure.cxx-append [get_canonical_archflags cxx]
40configure.env-append CPP=${configure.cpp}
41
42platform darwin {
43    patchfiles-append config.mk.in.diff configure.diff
44}
45
46post-patch {
47    reinplace "s:#include <curl/types.h>::" \
48        ${worksrcpath}/lib/curl_transport/curlmulti.c \
49        ${worksrcpath}/lib/curl_transport/curltransaction.c \
50        ${worksrcpath}/lib/curl_transport/xmlrpc_curl_transport.c
51}
52
53livecheck.type      sourceforge
54livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.