# -*- 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$ PortSystem 1.0 name gnome-keyring epoch 1 version 3.12.2 set branch [join [lrange [split ${version} .] 0 1] .] maintainers devans openmaintainer categories gnome platforms darwin license GPL-2+ LGPL-2 description GNOME program for storing passwords. long_description \ gnome-keyring is a program that keep passwords and other secrets for \ users. It is run as a daemon in the session, similar to ssh-agent, and \ other applications locate it via an environment variable or a dbus. homepage https://wiki.gnome.org/Projects/GnomeKeyring master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 064ac43f511518ebb9b561df2d0c3d207f7d3714 \ sha256 3bc39a42d445b82d24247a8c39eeb0eef7ecb1c8ebb8e6ec62671868be93fd4c patchfiles patch-egg-egg-asn1x.h.diff \ patch-egg-egg-armor.c.diff \ patch-pkcs11-wrap-layer-mock-secret-store.c.diff depends_build port:pkgconfig \ port:intltool \ port:gnome-common \ port:gtk-doc depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:dbus \ port:gcr \ port:libgcrypt # update build/m4/intltool.m4 and autoreconf pre-configure { copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/build/m4 } use_autoreconf yes autoreconf.args -fvi configure.args --without-libcap-ng \ --disable-p11-tests \ --disable-silent-rules \ --disable-schemas-compile platform darwin { if {${os.major} < 10} { configure.args-append --disable-pam } else { configure.args-append --with-pam-dir=/usr/lib/pam destroot.violate_mtree yes post-destroot { file delete ${destroot}/usr/lib/pam/pam_gnome_keyring.la } } } post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome