# -*- 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

PortSystem          1.0
PortGroup           gobject_introspection 1.0

name                rest
version             0.8.1
revision            1
license             LGPL-2.1
set branch          [join [lrange [split ${version} .] 0 1] .]
description         A library that makes it easier to access web services that \
                    claim to be RESTful.
long_description    ${description}
maintainers         {devans @dbevans} openmaintainer
categories          gnome devel
homepage            https://wiki.gnome.org/Projects/Librest
master_sites        gnome:sources/${name}/${branch}/

use_xz              yes

checksums           rmd160  40cb2d870f1b3098df71d6003d1ebeac25963cf7 \
                    sha256  0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9 \
                    size    333376

depends_build       port:pkgconfig

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:libxml2 \
                    port:libsoup-2.4

depends_run         path:share/curl/curl-ca-bundle.crt:curl-ca-bundle

gobject_introspection yes

configure.args      --with-ca-certificates=${prefix}/share/curl/curl-ca-bundle.crt \
                    --disable-silent-rules

livecheck.type      gnome
