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

name                dconf
version             0.26.1
set branch          [join [lrange [split ${version} .] 0 1] .]
maintainers         {devans @dbevans} openmaintainer
categories          gnome
license             GPL-2+
description         dconf is a simple key/value storage system that is heavily optimised for \
                    reading.

long_description    ${description} \
                    This makes it an ideal system for storing user preferences \
                    (which are read 1000s of times for each time the user changes one).

homepage            https://wiki.gnome.org/Projects/dconf
master_sites        gnome:sources/${name}/${branch}/

use_xz              yes

checksums           rmd160  4f756c2d1eeb32c6c7d068a08e8ff0f5340e1553 \
                    sha256  d583b1f7fc93b879e2956acc6a26ea05a445a0002158aeef80c8e378e1414535

depends_build       port:pkgconfig \
                    port:docbook-xsl-nons \
                    port:gtk-doc \
                    port:libxslt \
                    path:bin/vala:vala

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2

patchfiles          patch-fix-lib-names-Makefile.am.diff

use_autoreconf      yes
autoreconf.args     -fvi

configure.args      --disable-schemas-compile \
                    --disable-silent-rules

post-activate {
    system "${prefix}/bin/gio-querymodules ${prefix}/lib/gio/modules"
}

livecheck.type      gnome