openbsd-ports/net/xmlrpc-c/Makefile
espie 31e4f1d7d2 xmlrpc C/C++ library, prereq for newer cmake.
Also, makes sense to take this code out, as some other stuff is bound
to want this at some point.

This library is incredibly sloppy engineering. Reasonably readable
code, looks sensible, but incredible lack of testing (doesn't even pass
its own testsuite on a stable release... and does a lot of things that
can't work outside of linux... makes you wonder who is actually using
this...)
2006-12-18 14:39:56 +00:00

49 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2006/12/18 14:39:56 espie Exp $
COMMENT= "XML-RPC C/C++ client-server implementation"
CATEGORIES= net devel textproc
DISTNAME= xmlrpc-c-1.06.08
EXTRACT_SUFX= .tgz
SHARED_LIBS += xmlrpc_util 0.0 # .9.4
SHARED_LIBS += xmlrpc_abyss 0.0 # .9.4
SHARED_LIBS += xmlrpc_xmlparse 0.0 # .9.4
SHARED_LIBS += xmlrpc_xmltok 0.0 # .9.4
SHARED_LIBS += xmlrpc 0.0 # .9.4
SHARED_LIBS += xmlrpc_server 0.0 # .9.4
SHARED_LIBS += xmlrpc_server_abyss 0.0 # .9.4
SHARED_LIBS += xmlrpc_client 0.0 # .9.4
SHARED_LIBS += xmlrpc_server_cgi 0.0 # .9.4
HOMEPAGE= http://xmlrpc-c.sourceforge.net/
WANTLIB += c crypto pthread ssl z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmlrpc-c/}
# BSD
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
LIB_DEPENDS= curl::net/curl
CONFIGURE_STYLE= gnu
USE_LIBTOOL= Yes
USE_GMAKE= Yes
post-extract:
rm ${WRKSRC}/src/cpp/test/srcdir
# we don't have libwww for now, this guards against picking it up
# if somebody ports it
CONFIGURE_ARGS+= --disable-libwww-client
# flavor ?
CONFIGURE_ARGS+= --disable-libxml2-backend
MAKE_FILE= ${WRKBUILD}/GNUmakefile
.include <bsd.port.mk>