diff options
author | Renato Botelho <garga@FreeBSD.org> | 2011-02-23 12:29:34 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2011-02-23 12:29:34 +0000 |
commit | deb9de4a2454d4cb2f66b1a34d1fc43a8351d1ea (patch) | |
tree | f86078f8a3a82630b4d296e20b84e4ccce96f04c /net/xmlrpc-c-devel | |
parent | Update to 1.06.42 (diff) |
- Build xmlrpc-c tools, optional, on by default
- I'm not bumping PORTREVISION now since new version 1.25.3 will be committed
soon
PR: ports/153648
Submitted by: Anonymous <swell.k@gmail.com>
Notes
Notes:
svn path=/head/; revision=269535
Diffstat (limited to 'net/xmlrpc-c-devel')
-rw-r--r-- | net/xmlrpc-c-devel/Makefile | 17 | ||||
-rw-r--r-- | net/xmlrpc-c-devel/distinfo | 1 | ||||
-rw-r--r-- | net/xmlrpc-c-devel/pkg-plist | 6 |
3 files changed, 22 insertions, 2 deletions
diff --git a/net/xmlrpc-c-devel/Makefile b/net/xmlrpc-c-devel/Makefile index ba143549b16b..f5483a15b495 100644 --- a/net/xmlrpc-c-devel/Makefile +++ b/net/xmlrpc-c-devel/Makefile @@ -17,7 +17,8 @@ COMMENT= XML-RPC library for C and C++ OPTIONS= DEBUG "Compile with debugging information" off \ CURL "Compile with curl support" on \ - LIBWWW "Compile with libwww support" on + LIBWWW "Compile with libwww support" on \ + TOOLS "Build xmlrpc-c tools" on CONFLICTS= xmlrpc-epi-0.* xmlrpc-c-[0-9]* @@ -55,7 +56,19 @@ CONFIGURE_ARGS+= --enable-libwww-client CONFIGURE_ARGS+= --disable-libwww-client .endif +.if defined(WITH_TOOLS) +CONFIGURE_ARGS+= --enable-tools +PLIST_SUB+= TOOLS="" +MAN1+= xml-rpc-api2cpp.1 xml-rpc-api2txt.1 +.else +CONFIGURE_ARGS+= --disable-tools +PLIST_SUB+= TOOLS="@comment " +.endif + .if defined(WITHOUT_LIBWWW) && defined(WITHOUT_CURL) +. if defined(WITH_TOOLS) +IGNORE= xmlrpc-c tools requires CURL or LIBWWW support enabled +. endif PLIST_SUB+= CLIENT="@comment " .else PLIST_SUB+= CLIENT="" @@ -68,5 +81,7 @@ post-extract: post-patch: @${GREP} -lR '\-lpthread' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|-lpthread|${PTHREAD_LIBS}|g' + @${REINPLACE_CMD} -e '/#include.*features.h/d' \ + ${WRKSRC}/tools/xmlrpc_pstream/xmlrpc_pstream.cpp .include <bsd.port.post.mk> diff --git a/net/xmlrpc-c-devel/distinfo b/net/xmlrpc-c-devel/distinfo index 8336cc51db78..574b725eae92 100644 --- a/net/xmlrpc-c-devel/distinfo +++ b/net/xmlrpc-c-devel/distinfo @@ -1,3 +1,2 @@ -MD5 (xmlrpc-c-1.23.2.tar.bz2) = 931031a7631c3ae6704f0cdd5dab4acf SHA256 (xmlrpc-c-1.23.2.tar.bz2) = 2164f6a296b7d81558badcb3527d524e9468ea6394baaaacdcda2988f33de06b SIZE (xmlrpc-c-1.23.2.tar.bz2) = 577301 diff --git a/net/xmlrpc-c-devel/pkg-plist b/net/xmlrpc-c-devel/pkg-plist index bbbdfde0ae3a..a1e0ae3d40f4 100644 --- a/net/xmlrpc-c-devel/pkg-plist +++ b/net/xmlrpc-c-devel/pkg-plist @@ -1,4 +1,10 @@ bin/xmlrpc-c-config +%%TOOLS%%bin/xmlrpc +%%TOOLS%%bin/xmlrpc_transport +%%TOOLS%%bin/xml-rpc-api2cpp +%%TOOLS%%bin/xml-rpc-api2txt +%%TOOLS%%bin/xmlrpc_cpp_proxy +%%TOOLS%%bin/xmlrpc_pstream include/XmlRpcCpp.h include/xmlrpc-c/abyss.h include/xmlrpc-c/abyss_unixsock.h |