summaryrefslogtreecommitdiff
path: root/net/libsoup/options.mk
diff options
context:
space:
mode:
authoryouri <youri>2015-06-07 14:03:20 +0000
committeryouri <youri>2015-06-07 14:03:20 +0000
commitf1ff933ff1c9ae99c01ca015f0df71e105e1a001 (patch)
tree4ebaa2b8e9b0dead42ea826b88e556976fea146e /net/libsoup/options.mk
parentfce0325895ff4d58b68b3641f61519f99e4ca4e8 (diff)
downloadpkgsrc-f1ff933ff1c9ae99c01ca015f0df71e105e1a001.tar.gz
Import libsoup-2.50.0 as net/libsoup, replaces net/libsoup24.
Libsoup is an HTTP library implementation in C. It was originally part of a SOAP (Simple Object Access Protocol) implementation called Soup, but the SOAP and non-SOAP parts have now been split into separate packages. libsoup uses the Glib main loop and is designed to work well with GTK applications. This enables GNOME applications to access HTTP servers on the network in a completely asynchronous fashion, very similar to the Gtk+ programming model (a synchronous operation mode is also supported for those who want it). Features: * Completely Asynchronous * Connection cache * HTTP chunked transfer support * HTTP, SOCKS4, and SOCKS5 authenticated proxy support * SSL Support using OpenSSL or GnuTLS * Client support for Digest, NTLM, and Basic authentication * HTTP server * Server support for Digest and Basic authentication
Diffstat (limited to 'net/libsoup/options.mk')
-rw-r--r--net/libsoup/options.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/libsoup/options.mk b/net/libsoup/options.mk
new file mode 100644
index 00000000000..2905ed20afa
--- /dev/null
+++ b/net/libsoup/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2015/06/07 14:03:20 youri Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.libsoup
+PKG_SUPPORTED_OPTIONS= gnome
+PKG_SUGGESTED_OPTIONS= gnome
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= gnome
+
+.if !empty(PKG_OPTIONS:Mgnome)
+.include "../../security/libgnome-keyring/buildlink3.mk"
+PKGCONFIG_OVERRIDE+= libsoup-gnome-2.4.pc.in
+PLIST.gnome= yes
+.else
+CONFIGURE_ARGS+= --without-gnome
+.endif