# $MidnightBSD: trunk/security/gnome-keyring/Makefile 19961 2015-08-22 21:53:46Z laffer1 $

PORTNAME=	gnome-keyring
PORTVERSION=	3.16.0
CATEGORIES=	security gnome
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome3

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Program that keeps passwords and other secrets

LICENSE=	gpl2

BUILD_DEPENDS=	ca_root_nss>=0:${PORTSDIR}/security/ca_root_nss \
		docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl \
		gcr>=3.5.3:${PORTSDIR}/security/gcr
LIB_DEPENDS=	libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring \
		libdbus-1.so:${PORTSDIR}/devel/dbus \
		libgcr-3.so:${PORTSDIR}/security/gcr \
		libtasn1.so:${PORTSDIR}/security/libtasn1 \
		libp11-kit.so:${PORTSDIR}/security/p11-kit \
		libgcrypt.so:${PORTSDIR}/security/libgcrypt
RUN_DEPENDS=	ca_root_nss>=0:${PORTSDIR}/security/ca_root_nss

PORTSCOUT=	limitw:1,even

USE_GNOME=	gtk30 intlhack libxslt:build
USES=		compiler:c11 cpe gettext gmake libtool pathfix \
		pkgconfig tar:xz
CPE_VENDOR=	gnome
INSTALLS_ICONS=	yes
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
CONFIGURE_ARGS=	--with-pam-dir="${PREFIX}/lib"
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib
INSTALL_TARGET=	install-strip
GLIB_SCHEMAS=	org.gnome.crypto.cache.gschema.xml

.include <bsd.port.mk>
