# -*- 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            libgnome-keyring
version         3.12.0
revision        3
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     {devans @dbevans} openmaintainer
categories      gnome
platforms       darwin
license         GPL-2+ LGPL-2+
description     GNOME compatibility library for accessing secrets

long_description \
    gnome-keyring is a program that stores passwords and other secrets \
    for users. It is run as a daemon in the session. This library \
    provides an interface to the daemon for client applications.

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

use_xz          yes

checksums       rmd160  d088c86fe3900e58a2dd67ef20bec5b23fd5f8ad \
                sha256  c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783

depends_build   port:pkgconfig \
                port:intltool \
                port:gtk-doc \
                port:gnome-common \
                port:autoconf \
                port:automake \
                port:libtool

depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2 \
                port:dbus \
                port:libgcrypt

gobject_introspection yes

# reconfigure using upstream autogen.sh for intltool 0.51 compatibility

post-patch {
    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
}

configure.cmd   ./autogen.sh

configure.args  --enable-vala=no \
                --disable-silent-rules

livecheck.type  gnome