# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 104791 2013-04-02 20:56:13Z jeremyhu@macports.org $ PortSystem 1.0 PortGroup archcheck 1.0 name libsoup version 2.42.0 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] categories gnome net platforms darwin license LGPL-2+ maintainers devans openmaintainer description Soup is an HTTP library implementation in C. long_description \ Soup provides a queued asynchronous callback-based \ mechanism for sending and servicing SOAP requests \ and a WSDL (Web Service Definition Language) for C \ compilers which generates client stubs and server \ skeletons for easily calling and implementing SOAP \ methods. homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 217d56ee8f1db36301d2cad364e0895a9b771246 \ sha256 9e0e7eb5d3f7401ccf521fbc289fc1fa0923b7c7833729e2ed7696f7b848893e depends_build port:pkgconfig depends_lib port:libxml2 \ port:glib-networking \ port:gobject-introspection \ port:sqlite3 \ port:gconf \ port:intltool \ port:libproxy \ port:libgnome-keyring archcheck.files \ lib/gio/modules/libgiognutls.so \ lib/gio/modules/libgiolibproxy.so \ lib/libsqlite3.dylib \ lib/libxml2.dylib # Introspection requires gvfs (and others), but gvfs requires libsoup... configure.args \ --disable-more-warnings \ --disable-silent-rules \ --enable-introspection # gobject-introspection uses g-ir-scanner, which uses $CC from env build.args-append CC="${configure.cc} ${configure.cc_archflags}" # intltool needs to be run with the correct version of perl configure.env-append INTLTOOL_PERL=${prefix}/bin/perl5.12 test.run yes test.target check variant no_gnome description "Disable GNOME support" { depends_lib-delete \ port:gconf \ port:libgnome-keyring configure.args-append \ --without-gnome } platform darwin 8 { depends_run-append port:gmake depends_skip_archcheck-append gmake build.cmd ${prefix}/bin/gmake destroot.cmd ${prefix}/bin/gmake } livecheck.type regex livecheck.url ftp://ftp.gnome.org/pub/gnome/sources/$name/$branch/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}